[Varnish] #799: beresp.ttl = 10s * std.random(..) ==> segfaulting vcc

Varnish varnish-bugs at varnish-cache.org
Fri Oct 22 20:53:05 CEST 2010


#799: beresp.ttl =  10s * std.random(..) ==> segfaulting vcc
----------------------+-----------------------------------------------------
 Reporter:  kristian  |        Owner:  phk   
     Type:  defect    |       Status:  closed
 Priority:  normal    |    Milestone:        
Component:  varnishd  |      Version:  trunk 
 Severity:  normal    |   Resolution:  fixed 
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by phk):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [5458]) Don't assert the format until we have done the error check.

 The ticket (#799) probably triggers this by using std.random()
 without a "import std" statement.

 Fixes: #799

-- 
Ticket URL: </ticket/799#comment:1>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list