From 29ee76cb2bf3a58eadad402a60354ddb28102d7f Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 31 Aug 2005 22:03:15 +0000 Subject: Anand Avati hit an integer overflow problem in our unzip code. --- archival/libunarchive/decompress_unzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archival/libunarchive') diff --git a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c index 3d03643..0a199dd 100644 --- a/archival/libunarchive/decompress_unzip.c +++ b/archival/libunarchive/decompress_unzip.c @@ -956,7 +956,7 @@ extern int inflate_unzip(int in, int out) extern int inflate_gunzip(int in, int out) { unsigned int stored_crc = 0; - unsigned char count; + unsigned int count; inflate_unzip(in, out); -- cgit v1.1