]> 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>
Sat, 29 Dec 2012 02:52:50 +0000 (19:52 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 29 Dec 2012 02:52:50 +0000 (19:52 -0700)
src/Parsing.cc

index 5f5713ca8575be053a97d877ce997a29f70a6749..4370bf3a46031270fe5b6d5116aeef9472c21e36 100644 (file)
@@ -84,7 +84,7 @@ int64_t
 GetInteger64(void)
 {
     char *token = strtok(NULL, w_space);
-    int i;
+    int64_t i;
 
     if (token == NULL)
         self_destruct();