r3561 - branches/2.0/varnish-cache/lib/libvcl
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Wed Jan 28 15:32:57 CET 2009
Author: tfheen
Date: 2009-01-28 15:32:57 +0100 (Wed, 28 Jan 2009)
New Revision: 3561
Modified:
branches/2.0/varnish-cache/lib/libvcl/vcc_parse.c
Log:
Merge r3466:
Add a missing error check.
Fixes #409
Modified: branches/2.0/varnish-cache/lib/libvcl/vcc_parse.c
===================================================================
--- branches/2.0/varnish-cache/lib/libvcl/vcc_parse.c 2009-01-28 14:21:04 UTC (rev 3560)
+++ branches/2.0/varnish-cache/lib/libvcl/vcc_parse.c 2009-01-28 14:32:57 UTC (rev 3561)
@@ -251,6 +251,7 @@
case '~':
vcc_NextToken(tl);
p = vcc_regexp(tl, 0);
+ ERRCHK(tl);
vcc_NextToken(tl);
Fb(tl, 1, "VRT_re_match(%s, %s)\n", vp->rname, p);
break;
More information about the varnish-commit
mailing list