]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Klaus Singvogel
authorAmos Jeffries <amosjeffries@squid-cache.org>
Thu, 23 Sep 2010 13:49:17 +0000 (07:49 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Thu, 23 Sep 2010 13:49:17 +0000 (07:49 -0600)
Fix uninitialized variable in ESI

src/esi/Expression.cc

index 012790391bca18a955fb3a05b45d95be572afe36..a986b996b9b9cd802583a6d0844c73bebf8ac1bd 100644 (file)
@@ -707,6 +707,7 @@ getsymbol (const char *s, char const **endptr)
     rv.eval = NULL;            /* A literal */
     rv.valuetype = ESI_EXPR_INVALID;
     rv.valuestored = ESI_LITERAL_INVALID;
+    rv.precedence = 1; /* A literal */
 
     if (('0' <= *s && *s <= '9') || *s == '-') {
         size_t length = strspn (s, "0123456789.");