[Varnish] #1601: PRIV_{REQ, SESS} method invocations crash in vcl_backend_*

Varnish varnish-bugs at varnish-cache.org
Wed Oct 1 16:20:53 CEST 2014


#1601: PRIV_{REQ,SESS} method invocations crash in vcl_backend_*
----------------------+-------------------
 Reporter:  daghf     |      Owner:
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  varnishd  |    Version:  trunk
 Severity:  normal    |   Keywords:
----------------------+-------------------
 The following segfaults in cache_vrt_priv.c:VRT_priv_dynamic() upon
 dereferencing ctx->req:

 {{{
 sub vcl_backend_fetch {
     set bereq.http.b0 = debug.test_priv_req(bereq.url);
 }
 }}}

 (I guess this also begs the question - what should be the semantics of
 PRIV_REQ/SESS in vcl_backend_*?)

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



More information about the varnish-bugs mailing list