diff options
Diffstat (limited to 'contrib/minizip/miniunz.c')
-rw-r--r-- | contrib/minizip/miniunz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/minizip/miniunz.c b/contrib/minizip/miniunz.c index d627c42..d871b3f 100644 --- a/contrib/minizip/miniunz.c +++ b/contrib/minizip/miniunz.c | |||
@@ -240,7 +240,7 @@ static int do_list(unzFile uf) { | |||
240 | printf(" ------ ------ ---- ----- ---- ---- ------ ----\n"); | 240 | printf(" ------ ------ ---- ----- ---- ---- ------ ----\n"); |
241 | for (i=0;i<gi.number_entry;i++) | 241 | for (i=0;i<gi.number_entry;i++) |
242 | { | 242 | { |
243 | char filename_inzip[256]; | 243 | char filename_inzip[65536+1]; |
244 | unz_file_info64 file_info; | 244 | unz_file_info64 file_info; |
245 | uLong ratio=0; | 245 | uLong ratio=0; |
246 | const char *string_method = ""; | 246 | const char *string_method = ""; |
@@ -305,7 +305,7 @@ static int do_list(unzFile uf) { | |||
305 | 305 | ||
306 | 306 | ||
307 | static int do_extract_currentfile(unzFile uf, const int* popt_extract_without_path, int* popt_overwrite, const char* password) { | 307 | static int do_extract_currentfile(unzFile uf, const int* popt_extract_without_path, int* popt_overwrite, const char* password) { |
308 | char filename_inzip[256]; | 308 | char filename_inzip[65536+1]; |
309 | char* filename_withoutpath; | 309 | char* filename_withoutpath; |
310 | char* p; | 310 | char* p; |
311 | int err=UNZ_OK; | 311 | int err=UNZ_OK; |