|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-04-20 09:14 UTC] james at jamesreno dot com
[2012-04-22 04:30 UTC] laruence@php.net
-Status: Open
+Status: Feedback
[2012-04-22 04:30 UTC] laruence@php.net
[2012-04-29 17:27 UTC] reeze dot xia at gmail dot com
[2012-05-01 02:26 UTC] james at jamesreno dot com
[2012-05-01 02:27 UTC] james at jamesreno dot com
-Status: Feedback
+Status: Closed
[2012-05-01 02:27 UTC] james at jamesreno dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 11:00:02 2025 UTC |
Description: ------------ When php is running in fcgi mode ZipArchive::getStream() causes PHP to crash. Test script: --------------- <? $zip = new ZipArchive(); $zip->open("/tmp/test.zip",ZIPARCHIVE::CREATE); $zip->addFromString("test.txt","This is a test"); $zip->close(); unset($zip); $zip2 = new ZipArchive(); $zip->open("/tmp/test.zip"); $fd = $zip->getStream("test.txt"); // CRASH ?> Expected result: ---------------- Zip to return file handle. Actual result: -------------- PHP Crashes (webserver reports *498 recv() failed (104: Connection reset by peer) while reading response header from upstream) and returns 502 Bad Gateway...