[Varnish] #307: segfault in purge.hash() with empty string
Varnish
varnish-bugs at projects.linpro.no
Tue Sep 2 06:21:21 CEST 2008
#307: segfault in purge.hash() with empty string
--------------------+-------------------------------------------------------
Reporter: sky | Owner: des
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: trunk
Severity: normal | Keywords:
--------------------+-------------------------------------------------------
in vcl_recv if you do this
purge_hash(req.http.purgeurl);
if purgeurl is empty, you get a segfault
{{{
(gdb) bt
#0 0x0000003482e76170 in strlen () from /lib64/libc.so.6
#1 0x0000003482eaece1 in regcomp () from /lib64/libc.so.6
#2 0x000000000040d37e in BAN_Add (cli=0x0, regexp=0x0, hash=1) at
cache_ban.c:82
}}}
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/307>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list