Edit report at http://bugs.php.net/bug.php?id=52830&edit=1
ID: 52830 Updated by: ahar...@php.net Reported by: johannes_schultz at gmx dot de Summary: PHP hangs on various setups when trying to read from a corrupted ZIP file -Status: Open +Status: Feedback Type: Bug Package: Zip Related Operating System: Windows, Debian PHP Version: Irrelevant Block user comment: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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