#44382 [Opn->Fbk]: php_zip: zip CRC failed (corrupt) causes freeze of php!
ID: 44382
Updated by: pajoye@php.net
Reported By: ecc at camya dot com
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Windows
PHP Version: 5.2.5
-Assigned To:
+Assigned To: pajoye
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
I can't reproduce your problem with current 5.2-cvs (5.2.6RC). Please
try again using a snapshot.
Previous Comments:
------------------------------------------------------------------------
[2008-03-09 16:37:30] ecc at camya dot com
Description:
------------
If i try to unpack an corrupt zip file (crc check failed for an file in
the zip) using the php_zip extension, the php process freezes. I have to
kill the process. Maybe its possible to throw an exception for this
problem. I use php-cli!
Reproduce code:
---------------
You can download an corrupt zip file here:
http://www.camya.com/dl/zip-crc-corrupt.zip
Expected result:
----------------
The windows php-cli freezes!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44382&edit=1
Thread (3 messages)