[Varnish] #1759: VMOD abi check is always lenient

Varnish varnish-bugs at varnish-cache.org
Mon Jul 6 11:59:08 CEST 2015


#1759: VMOD abi check is always lenient
----------------------+-------------------
 Reporter:  lkarsten  |      Owner:
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  varnishd  |    Version:  trunk
 Severity:  normal    |   Keywords:
----------------------+-------------------
 In 4.0, the VMOD version check is currently always a check against the
 VRT_(MAJOR|MINOR)_VERSION fields.

 If I write a VMOD that uses internal structures (like
 ctx->bo->synth_body), and Martin goes off and add something further up in
 to struct busyobj (or struct http_conn, to pick something "completely at
 random"), the VMOD compiled for the old version goes sideways when loaded
 into the new version.

 There is no way for the VMOD writer to signal it, and there is no error
 indication for the sysadmin.

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1759>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list