#44382 [NEW]: php_zip: zip CRC failed (corrupt) causes freeze of php!
| From: | ecc at camya dot com | Date: | Sun, 09 Mar 2008 16:37:30 +0000 |
| Subject: | #44382 [NEW]: php_zip: zip CRC failed (corrupt) causes freeze of php! | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-123100@lists.php.net to get a copy of this message | ||
From: ecc at camya dot com
Operating system: Windows
PHP version: 5.2.5
PHP Bug Type: Reproducible crash
Bug description: php_zip: zip CRC failed (corrupt) causes freeze of php!
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 bug report at http://bugs.php.net/?id=44382&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44382&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44382&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44382&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=44382&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=44382&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=44382&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=44382&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=44382&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=44382&r=support
Expected behavior: http://bugs.php.net/fix.php?id=44382&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=44382&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=44382&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=44382&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44382&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=44382&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=44382&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=44382&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=44382&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=44382&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=44382&r=mysqlcfg