From: tfheen Date: Wed, 28 Jan 2009 14:32:57 +0000 (+0000) Subject: Merge r3466: X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=450364fd64185e09cdcde2ce2b492e55cea8509a;p=varnish 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 --- 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;