]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3729: 32-bit overflow in parsing 64-bit configuration values
authorTianyin Xu <tixu@cs.ucsd.edu>
Mon, 28 Jan 2013 09:58:16 +0000 (02:58 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 28 Jan 2013 09:58:16 +0000 (02:58 -0700)
src/Parsing.cc

index 47aa61682137a6423d83695dd491dd0039111ed7..5f1672c2e50dee3e7a6bd993fb6b173a8e6e6bd6 100644 (file)
@@ -85,7 +85,7 @@ int64_t
 GetInteger64(void)
 {
     char *token = strtok(NULL, w_space);
-    int i;
+    int64_t i;
 
     if (token == NULL)
         self_destruct();