Edit report at https://bugs.php.net/bug.php?id=53230&edit=1

 ID:                 53230
 Comment by:         dave at bugsplatsoftware dot com
 Reported by:        vincent dot gibault at gmail dot com
 Summary:            extracting file go to infinite loop
 Status:             Open
 Type:               Bug
 Package:            Zip Related
 Operating System:   archlinux x86_64
 PHP Version:        5.3.3
 Block user comment: N
 Private report:     N

 New Comment:

I can provide additional example zip files that fail. 
This problem causes my website performance to plummet 
occaisionally, requiring a restart of Apache.  
I'd be happy to help evaluate fixes, or to know of 
any possible work-arounds.


Previous Comments:
------------------------------------------------------------------------
[2011-02-22 01:29:45] tbrasta at gmail dot com

Your file is corrupted. It contains invalid crc, compressed and uncompressed 
data lenghts of archived file.
It is libzip related bug. More details here 
http://nih.at/listarchive/libzip-discuss/msg00074.html.

------------------------------------------------------------------------
[2010-11-03 21:25:32] vincent dot gibault at gmail dot com

Hello,

here is the link: http://www.corrida-noel-issy.com/bug.zip

------------------------------------------------------------------------
[2010-11-02 22:37:59] paj...@php.net

Please provide a link to the zip you are using for this bug.

------------------------------------------------------------------------
[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 https://bugs.php.net/bug.php?id=53230&edit=1

Reply via email to