Edit report at http://bugs.php.net/bug.php?id=52830&edit=1
ID: 52830
User updated by: johannes_schultz at gmx dot de
Reported by: johannes_schultz at gmx dot de
Summary: PHP hangs on various setups when trying to read from
a corrupted ZIP file
-Status: Feedback
+Status: Open
Type: Bug
Package: Zip Related
Operating System: Windows, Debian
PHP Version: Irrelevant
Block user comment: N
New Comment:
I tried 5.3.3, no problems there.
Previous Comments:
------------------------------------------------------------------------
[2010-09-14 13:21:30] [email protected]
Current snapshot or 5.3.3? It should work with 5.3.3 too. Can you try it
as well please?
------------------------------------------------------------------------
[2010-09-14 13:17:40] johannes_schultz at gmx dot de
Seems to work with the current snapshot, thanks. No I wonder when this
fix will be available through the Debian update...
------------------------------------------------------------------------
[2010-09-14 08:12:28] [email protected]
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
This sounds like bug #44382, which was fixed some time ago, and I can't
reproduce it on a current version of PHP.
------------------------------------------------------------------------
[2010-09-13 21:47:22] johannes_schultz at gmx dot de
Description:
------------
I have a broken ZIP file which makes PHP hang on various setups on both
Windows and Linux (Debian):
http://modplug.soonlabel.com/music/1000/1342-The_Mighty_Roofus-Trondheim.mp3.zip
If the CHECKCONS flag is involved, it hangs already when opening the
archive, else it will hang when trying to extract the file.
Test script:
---------------
$zipRead = new ZipArchive;
$res = $zipRead->open("1342-The_Mighty_Roofus-Trondheim.mp3.zip",
ZipArchive::CHECKCONS); // this will hang PHP
Expected result:
----------------
Returning an error
Actual result:
--------------
PHP hangs
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52830&edit=1