Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Created attachment 1367521[details]
Example bad CRCs with Deflate64 on RHEL7
Description of problem:
On RHEL7 unzip doesn't properly extract files compressed with Deflate64 (PKZIP version 2.1). It works fine on RHEL6. I looked through the patches but wasn't able to determine what was different that caused the problem.
Version-Release number of selected component (if applicable):
unzip-6.0-5.el6.x86_64 - good
unzip-6.0-16.el7.x86_64 - bad
How reproducible:
Use PKZIP to create an archive using Deflate64 compression. Info-Zip 'zip' in RHEL appears to not support Deflate64 for compression. I have attached an example archive.
Actual results:
RHEL7
unzip -t -v test-file.zip
Archive: test-file.zip
testing: test-file.1 OK
testing: test-file.10 bad CRC 33116a89 (should be b9f107df)
testing: test-file.11 bad CRC 681f1464 (should be 7dcd9910)
testing: test-file.12 bad CRC 18a00bb3 (should be 19b86783)
testing: test-file.13 bad CRC 1a1cdeb0 (should be d05bf729)
testing: test-file.14 bad CRC 856da232 (should be 34128307)
testing: test-file.15 bad CRC 21cbe446 (should be e18e4b1f)
testing: test-file.16 bad CRC 79b0e2e0 (should be 0685f733)
testing: test-file.17 bad CRC d0721e93 (should be 10de0c60)
testing: test-file.18 bad CRC a9ee39d9 (should be 2adc325a)
testing: test-file.19 bad CRC afb34d56 (should be b0592893)
testing: test-file.2 bad CRC 32ce03a6 (should be 596fbf57)
testing: test-file.20 bad CRC 8de22823 (should be 41bf94e4)
testing: test-file.3 bad CRC c23590e1 (should be 3ac7dd34)
testing: test-file.4 bad CRC 405624b1 (should be 7313de02)
testing: test-file.5 bad CRC 96a950c9 (should be 91e87f56)
testing: test-file.6 bad CRC 4fe55800 (should be 2b3113f9)
testing: test-file.7 bad CRC fc58c3bc (should be 47865a6e)
testing: test-file.8 bad CRC 156bf49e (should be 7d61ca45)
testing: test-file.9 bad CRC 724bd722 (should be 252aa321)
At least one error was detected in /home/ccheney/Downloads/test-file.zip.
Expected results:
RHEL6
unzip -t -v ../test-file.zip
Archive: test-file.zip
testing: test-file.1 OK
testing: test-file.10 OK
testing: test-file.11 OK
testing: test-file.12 OK
testing: test-file.13 OK
testing: test-file.14 OK
testing: test-file.15 OK
testing: test-file.16 OK
testing: test-file.17 OK
testing: test-file.18 OK
testing: test-file.19 OK
testing: test-file.2 OK
testing: test-file.20 OK
testing: test-file.3 OK
testing: test-file.4 OK
testing: test-file.5 OK
testing: test-file.6 OK
testing: test-file.7 OK
testing: test-file.8 OK
testing: test-file.9 OK
No errors detected in compressed data of ../test-file.zip.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2018:1039
Created attachment 1367521 [details] Example bad CRCs with Deflate64 on RHEL7 Description of problem: On RHEL7 unzip doesn't properly extract files compressed with Deflate64 (PKZIP version 2.1). It works fine on RHEL6. I looked through the patches but wasn't able to determine what was different that caused the problem. Version-Release number of selected component (if applicable): unzip-6.0-5.el6.x86_64 - good unzip-6.0-16.el7.x86_64 - bad How reproducible: Use PKZIP to create an archive using Deflate64 compression. Info-Zip 'zip' in RHEL appears to not support Deflate64 for compression. I have attached an example archive. Actual results: RHEL7 unzip -t -v test-file.zip Archive: test-file.zip testing: test-file.1 OK testing: test-file.10 bad CRC 33116a89 (should be b9f107df) testing: test-file.11 bad CRC 681f1464 (should be 7dcd9910) testing: test-file.12 bad CRC 18a00bb3 (should be 19b86783) testing: test-file.13 bad CRC 1a1cdeb0 (should be d05bf729) testing: test-file.14 bad CRC 856da232 (should be 34128307) testing: test-file.15 bad CRC 21cbe446 (should be e18e4b1f) testing: test-file.16 bad CRC 79b0e2e0 (should be 0685f733) testing: test-file.17 bad CRC d0721e93 (should be 10de0c60) testing: test-file.18 bad CRC a9ee39d9 (should be 2adc325a) testing: test-file.19 bad CRC afb34d56 (should be b0592893) testing: test-file.2 bad CRC 32ce03a6 (should be 596fbf57) testing: test-file.20 bad CRC 8de22823 (should be 41bf94e4) testing: test-file.3 bad CRC c23590e1 (should be 3ac7dd34) testing: test-file.4 bad CRC 405624b1 (should be 7313de02) testing: test-file.5 bad CRC 96a950c9 (should be 91e87f56) testing: test-file.6 bad CRC 4fe55800 (should be 2b3113f9) testing: test-file.7 bad CRC fc58c3bc (should be 47865a6e) testing: test-file.8 bad CRC 156bf49e (should be 7d61ca45) testing: test-file.9 bad CRC 724bd722 (should be 252aa321) At least one error was detected in /home/ccheney/Downloads/test-file.zip. Expected results: RHEL6 unzip -t -v ../test-file.zip Archive: test-file.zip testing: test-file.1 OK testing: test-file.10 OK testing: test-file.11 OK testing: test-file.12 OK testing: test-file.13 OK testing: test-file.14 OK testing: test-file.15 OK testing: test-file.16 OK testing: test-file.17 OK testing: test-file.18 OK testing: test-file.19 OK testing: test-file.2 OK testing: test-file.20 OK testing: test-file.3 OK testing: test-file.4 OK testing: test-file.5 OK testing: test-file.6 OK testing: test-file.7 OK testing: test-file.8 OK testing: test-file.9 OK No errors detected in compressed data of ../test-file.zip.