]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Klaus Singvogel
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 6 Sep 2010 05:50:51 +0000 (17:50 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 6 Sep 2010 05:50:51 +0000 (17:50 +1200)
Fix uninitialized variable in ESI

src/esi/Expression.cc

index 8ec3f4fdf96a80b5a54033a5f4b45b32e2c9d3aa..eb08050ea0faf794d160622e56f1301052424321 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.");