[Varnish] #1086: VGZ_WrwGunzip loops forever if receiving junk data after end of gzip data

Varnish varnish-bugs at varnish-cache.org
Sun Jan 22 17:30:31 CET 2012


#1086: VGZ_WrwGunzip loops forever if receiving junk data after end of gzip data
----------------------+-----------------------------------------------------
 Reporter:  martin    |       Owner:       
     Type:  defect    |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  varnishd  |     Version:  3.0.0
 Severity:  normal    |    Keywords:       
----------------------+-----------------------------------------------------
 If VGZ_WrwGunzip is called again with junk data after end of gzip data, it
 will loop forever. Note that this does not happen if the junk data is part
 of the same input data buffer that contained the of gzip data, but it only
 happens on successive calls to VGZ_WrwGunzip and VGZ_Guzip has seen the
 end of gzip data.

 This has an increased probability of happening when doing streaming. See
 attached test case.

 Bug has been confirmed in both 3.0 and master.

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




More information about the varnish-bugs mailing list