[Bug 9536] unzip: invalid zip magic 00000597

bugzilla at busybox.net bugzilla at busybox.net
Thu Jan 5 14:47:55 UTC 2017


https://bugs.busybox.net/show_bug.cgi?id=9536

Ron Yorston <rmy at pobox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #3 from Ron Yorston <rmy at pobox.com> ---
Busybox from latest git doesn't correctly extract the supplied zip file.  The
files res/drawable/icon.png and resources.arsc have a few bytes of garbage at
the start.

It appears that the comment in the code 'CDF has the same data as local header,
no need to read the latter' is not true for these files.  The CDF has extra_len
== 6 where the local header has extra_len == 0.

The ifdef'ed out code which uses the CDF extracts the files correctly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list