Bug #53230 [Opn->Fbk]: extracting file go to infinite loop
Edit report at http://bugs.php.net/bug.php?id=53230&edit=1
ID: 53230
Updated by: pajoye@php.net
Reported by: vincent dot gibault at gmail dot com
Summary: extracting file go to infinite loop
-Status: Open
+Status: Feedback
Type: Bug
Package: Zip Related
Operating System: archlinux x86_64
PHP Version: 5.3.3
Block user comment: N
New Comment:
Please provide a link to the zip you are using for this bug.
Previous Comments:
------------------------------------------------------------------------
[2010-11-02 22:06:20] vincent dot gibault at gmail dot com
Description:
------------
The files joined contained: the script example.php and the archive
example.zip.
I can unzip the example.zip with the following commandlines:
unzip example.php
iconv -f UTF16 -t UTF8 data
( show the data xml values ).
But the test script failed to unzip the compressed file.
Test script:
---------------
$zip = new ZipArchive ();
$zip->open( 'example.zip' );
$f = $zip->getStream ('data');
while (!feof($f)) {
echo fgets($f);
}
fclose($f);
$zip->close();
Expected result:
----------------
not to go in infinite loop.
Actual result:
--------------
don't work. Please send me an email to have the example.zip
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53230&edit=1
Thread (9 messages)