pmqs / zipdetails

zipdetails - Display details about the internal structure of Zip files.
48 stars 2 forks source link

Unzip detects overlap with APK file #1

Closed pmqs closed 8 months ago

pmqs commented 3 years ago

test-services-1.1.0.apk sourced from https://issues.apache.org/jira/browse/COMPRESS-562

unzip doesn't like it

$ unzip -t !$
unzip -t test-services-1.1.0.apk
Archive:  test-services-1.1.0.apk
error [test-services-1.1.0.apk]:  missing 237 bytes in zipfile
  (attempting to process anyway)
error: invalid zip file with overlapped components (possible zip bomb)
$ zipdetails -v test-services-1.1.0.apk

00000 00004 50 4B 03 04 LOCAL HEADER #1       04034B50
Can't use an undefined value as an ARRAY reference at /media/paul/Linux-Shared/base/perl/ext/zipdetails/main/bin/zipdetails line 831.
pmqs commented 1 year ago

Fixed in develop branch.