aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-08-31 22:03:15 +0000
committerRob Landley <rob@landley.net>2005-08-31 22:03:15 +0000
commit29ee76cb2bf3a58eadad402a60354ddb28102d7f (patch)
treeda9a8507e27e4a9bbde96b3ab6f7d6d244cb4997 /archival/libunarchive
parentc8b8a2d0cf1e38fc0c8b11b724bbdfcdf62fe65b (diff)
downloadbusybox-29ee76cb2bf3a58eadad402a60354ddb28102d7f.tar.gz
Anand Avati hit an integer overflow problem in our unzip code.
Diffstat (limited to 'archival/libunarchive')
-rw-r--r--archival/libunarchive/decompress_unzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c
index 3d0364339..0a199dd9f 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);