Created attachment 511388 [details] Minimal test source Description of problem: The zlib extension minizip (package minizip and minizip-devel) does not properly identify size overflow conditions in zip64 files when the host system is actually 64-bit native. Version-Release number of selected component (if applicable): 1.2.5-2.fc14 How reproducible: Consistently Steps to Reproduce: 1. Install package minizip-devel 2. Run attached run_test.sh script to create large zip file and attempt to read. 3. Observe three failures. Actual results: The minimal test program fails to detect large file size correctly, and fails when opening files beyond 4GiB point in Zip archive file. Failure output "Contains 'large.test', size 0xFFFFFFFF bytes". Failure output "opening file failed: -103" Failure output "closing file failed: -102" Expected results: Expect output "Contains 'large.test', size 0x119400000 bytes". Expect output "opening file succeeded" Expect output "closing file succeeded" Additional info: See attached test program for detailed failure info and attached patch for a possible fix.
Created attachment 511389 [details] Minimal test running environment
Created attachment 511391 [details] Example patch which resolves bug This patch is against the zlib source package, which is used to build minizip and minizip-devel.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
fixed in: zlib-1.2.5-6.fc17 http://koji.fedoraproject.org/koji/buildinfo?buildID=282629
zlib-1.2.5-6.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/zlib-1.2.5-6.fc16
Package zlib-1.2.5-6.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing zlib-1.2.5-6.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0385/zlib-1.2.5-6.fc16 then log in and leave karma (feedback).
zlib-1.2.5-6.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/zlib-1.2.5-6.fc15
zlib-1.2.5-6.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
zlib-1.2.5-6.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.