From 450364fd64185e09cdcde2ce2b492e55cea8509a Mon Sep 17 00:00:00 2001 From: tfheen Date: Wed, 28 Jan 2009 14:32:57 +0000 Subject: [PATCH] Merge r3466: Add a missing error check. Fixes #409 git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/branches/2.0@3561 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/lib/libvcl/vcc_parse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/varnish-cache/lib/libvcl/vcc_parse.c b/varnish-cache/lib/libvcl/vcc_parse.c index cbea1dbc..433de527 100644 --- a/varnish-cache/lib/libvcl/vcc_parse.c +++ b/varnish-cache/lib/libvcl/vcc_parse.c @@ -251,6 +251,7 @@ Cond_String(const struct var *vp, struct tokenlist *tl) 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; -- 2.39.5