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.
Description of problem:
unzip -t/-x failure on "large" file
Version-Release number of selected component (if applicable):
unzip-6.0-16.el7.x86_64
How reproducible:
always
Steps to Reproduce:
1.wget ftp://ftp.dos.state.fl.us/public/doc/Quarterly/Cor/cordata.zip && sha256sum cordata.zip
2. unzip -x cordata.zip cordata0.txt ; sha256sum cordata0.txt
3. or unzip -t cordata.zip
Actual results:
$ unzip -tv cordata.zip
Archive: cordata.zip
testing: cordata0.txt bad CRC babd3206 (should be 30142f03)
testing: cordata1.txt bad CRC 523b64fd (should be c5fd87ae)
testing: cordata2.txt bad CRC d75f9870 (should be eae7fdd8)
testing: cordata3.txt bad CRC ef248dd3 (should be 30e8e892)
testing: cordata4.txt bad CRC 270d77e0 (should be 58137796)
testing: cordata5.txt bad CRC c5f9a9ed (should be b40b3ea7)
testing: cordata6.txt bad CRC 52beee10 (should be 571384fe)
testing: cordata7.txt bad CRC 738dec2d (should be 487ac9d5)
testing: cordata8.txt bad CRC 416cf7a1 (should be 38f076b0)
testing: cordata9.txt bad CRC 25249335 (should be 2d681da3)
$ unzip -x cordata.zip cordata0.txt
inflating: cordata0.txt bad CRC babd3206 (should be 30142f03)
Expected results:
no errors
Additional info:
regression, works fine on CentOS-5/6 provided unzip version.
Hi Tru,
I wanted to have a look at the issue, but the test zip doesn't exist anymore.
Do you have another file showing the issue (or can you upload the file to the BZ)?
(In reply to Renaud Métrich from comment #3)
> Hi Tru,
>
> I wanted to have a look at the issue, but the test zip doesn't exist anymore.
> Do you have another file showing the issue (or can you upload the file to
> the BZ)?
Hi Renaud,
there is a duplicate bug 1525636, with the same problem -> I'll close this bug as a duplicate (even though this one is older).
*** This bug has been marked as a duplicate of bug 1525636 ***
ftp://ftp.dos.state.fl.us/public/doc/Quarterly/Cor/cordata.zip has been updated, not sure that the faulty file is still there. I am downloading it at the moment.
But if the root cause has been identified (as marked by "DUPLICATE"), it is probably not worth it! :P
[tru@manolito tmp]$ wget ftp://ftp.dos.state.fl.us/public/doc/Quarterly/Cor/cordata.zip
[tru@manolito tmp]$ sha256sum cordata.zip
a78c0473bdf406a256ce57122999bd7bd07b962074a999a70de30d57d7b8a304 cordata.zip
[tru@manolito tmp]$ unzip -tv cordata.zip
Archive: cordata.zip
testing: cordata0.txt bad CRC 87b7e5d4 (should be 123c2a7d)
testing: cordata1.txt bad CRC e5a8af87 (should be d4db2c36)
testing: cordata2.txt bad CRC 7b5e6d2f (should be b6265858)
testing: cordata3.txt bad CRC b11de195 (should be c8607054)
testing: cordata4.txt bad CRC 34346889 (should be a9abda9a)
testing: cordata5.txt bad CRC e3f1aa1f (should be 6584db59)
testing: cordata6.txt bad CRC 1a226ab8 (should be 61769eca)
testing: cordata7.txt bad CRC 3f2c928a (should be 8a4c1677)
testing: cordata8.txt bad CRC 804806c2 (should be 68293364)
testing: cordata9.txt bad CRC 6e1e1c43 (should be 1e670923)
At least one error was detected in cordata.zip.