unzip in precise decypts large files made with Windows 7zip incorrectly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unzip (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I create large zip files (sources > 100 Mb) with the windows version of 7zip.
unzip in Precise ((12.04.5 LTS (GNU/Linux 3.2.0-77-generic x86_64, 3.2.0-77-generic #114-Ubuntu SMP Tue Mar 10 17:26:03 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux) yields bad output, and CRC errors when run with -t option.
This problem does not exist in other linux versions: Neither unzip on lucid ( 2.6.32-
nor on Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-44-generic x86_64, 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux)
has this bug.
Re-zipping the same data with either linux version makes the data OK for the precise version of zip.
The data files I use are confidential. Depending on how this bug progresses, I might try to make a specific zip file for this cause.
Information of the unzip in precise:
UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.
ls -l `which unzip`
-rwxr-xr-x 2 root root 158336 Feb 17 20:40 /usr/bin/unzip
ldd `which unzip`
linux-vdso.so.1 => (0x00007fffbf7b
libbz2.so.1.0 => /lib/x86_
libc.so.6 => /lib/x86_
/lib64/
Thank you for reporting this bug to Ubuntu.
Ubuntu 12.04 (precise) reached end-of-life on April 28, 2017.
See this document for currently supported Ubuntu releases: /wiki.ubuntu. com/Releases
https:/
I also created a large zip file of real world data with the windows version of 7zip, but "unzip" and "unzip -t" worked flawlessly on Ubuntu 22.04 LTS (Jammy Jellyfish).
We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in.