[Varnish] #458: b17 and c22 tests fail: SEGV on Solaris if VRT_error called with reason==NULL

Varnish varnish-bugs at projects.linpro.no
Sat Feb 28 20:49:02 CET 2009


#458: b17 and c22 tests fail: SEGV on Solaris if VRT_error called with
reason==NULL
----------------------+-----------------------------------------------------
 Reporter:  slink     |       Owner:  phk  
     Type:  defect    |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  varnishd  |     Version:  trunk
 Severity:  normal    |    Keywords:       
----------------------+-----------------------------------------------------
 If VRT_error is called with reason==NULL, WSL() will eventually call
 strlen(0), which will cause a SEGV on (Open)Solaris.

 The workaround is, in a VCL, not to call error with a reason, e.g.

  error(888,"My fatal abort");

 rather than just

  error(888);

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/458>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list