From e3dbaf4088cefa746657f6138b0380e50babd092 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 18 Dec 2008 10:31:08 +0000 Subject: [PATCH] Add a missing error check. Fixes #409 git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3466 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 d97bc9cc..6dcefa04 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) 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; -- 2.39.5