Bug #63802 [Fbk->NoF]: Hangs on garbage-data after end of archive

From: Date: Sun, 26 Apr 2015 04:22:17 +0000
Subject: Bug #63802 [Fbk->NoF]: Hangs on garbage-data after end of archive
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-192346@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=63802&edit=1 ID: 63802 Updated by: php-bugs@lists.php.net Reported by: pecl at xu9 dot de Summary: Hangs on garbage-data after end of archive -Status: Feedback +Status: No Feedback Type: Bug Package: Zip Related Operating System: Linux PHP Version: Irrelevant Assigned To: cmb Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2015-04-16 12:33:58] cmb@php.net Unfortunately, the download link is broken now. Could you please make the problematic zip archive available for download again? ------------------------------------------------------------------------ [2013-02-02 11:23:49] pecl at xu9 dot de In my first bug-report there is a link to an archive that triggers this error. http://xu9.de/test.zip ------------------------------------------------------------------------ [2013-02-01 23:07:12] pajoye@php.net Also drop me a mail with the archive or make it available somewhere please. ------------------------------------------------------------------------ [2013-02-01 23:06:03] pajoye@php.net Which version do you use? Peck install or bundled one? ------------------------------------------------------------------------ [2013-02-01 22:56:03] edwardvb at formulaworld dot com I am experiencing the very same problem... about 1 out of 10 zip-files (usually filled with 1 or max 10 file) hang on the $zip->extractTo() command. the zip files come from various sources. I don't know how they are created. my code is quite straightforward: print "start"; $zip = new ZipArchive(); print "open zipfile"; $zip->open($zipfile); print "extract"; $zip->extractTo($mydir); print "finished extracting"; // this line is never printed during my last test I have a 318kB Zipfile, containing ONE xml file of 5060kB. The xml file is created in $mydir, but has a size of 5056kB and misses the last few characters in the xml-file.... meanwhile the php code is not executed any further, but hangs on $zip->extractTo($mydir)... until the max execution time is reached. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=63802 -- Edit this bug report at https://bugs.php.net/bug.php?id=63802&edit=1

« previous php.bugs (#192346) next »