r3466 - trunk/varnish-cache/lib/libvcl
phk at projects.linpro.no
phk at projects.linpro.no
Thu Dec 18 11:31:09 CET 2008
Author: phk
Date: 2008-12-18 11:31:08 +0100 (Thu, 18 Dec 2008)
New Revision: 3466
Modified:
trunk/varnish-cache/lib/libvcl/vcc_parse.c
Log:
Add a missing error check.
Fixes #409
Modified: trunk/varnish-cache/lib/libvcl/vcc_parse.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_parse.c 2008-12-18 10:13:42 UTC (rev 3465)
+++ trunk/varnish-cache/lib/libvcl/vcc_parse.c 2008-12-18 10:31:08 UTC (rev 3466)
@@ -251,6 +251,7 @@
vcc_NextToken(tl);
ExpectErr(tl, CSTR);
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