]> 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>
Wed, 2 Jan 2013 10:11:30 +0000 (03:11 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 2 Jan 2013 10:11:30 +0000 (03:11 -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();