#44382 [Opn->Fbk]: php_zip: zip CRC failed (corrupt) causes freeze of php!

From: Date: Sun, 09 Mar 2008 17:55:01 +0000
Subject: #44382 [Opn->Fbk]: php_zip: zip CRC failed (corrupt) causes freeze of php!
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-123103@lists.php.net to get a copy of this message
 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)

« previous php.bugs (#123103) next »