[Varnish] #995: [PATCH] two minor bugs in vsm_open
Varnish
varnish-bugs at varnish-cache.org
Mon Aug 29 20:01:35 CEST 2011
#995: [PATCH] two minor bugs in vsm_open
---------------------+------------------------------------------------------
Reporter: drwilco | Type: defect
Status: new | Priority: normal
Milestone: | Component: build
Version: trunk | Severity: normal
Keywords: |
---------------------+------------------------------------------------------
1) While opening the VSM, slh.allocseq is read instead of
vd->VSM_head->alloc_seq. This makes the delay loop not have any effect.
(Found by Federico G. Schwindt)
2) If the file is uninitialized, the VSM_data struct is reset, except for
VSM_head. So if VSM_Open is called again, VSM_head will not be zero and an
assert error will occur. (Found by !DocWilco)
--
Ticket URL: <http://www.varnish-cache.org/trac/ticket/995>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list