#45792 [Asn->Csd]: bz2 compressed files in zip failure

[email protected]
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               45792
 Updated by:       [email protected]
 Reported By:      [email protected]
-Status:           Assigned
+Status:           Closed
 Bug Type:         PHAR related
 Operating System: linux
 PHP Version:      5.3CVS-2008-08-12 (CVS)
 Assigned To:      cellog
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2008-08-18 21:51:34] [email protected]

significant progress - I've got this working for the described test
case.  The largest problem was that the zip header was not checked for
validity when opening an internal zip file, and local header can have a
different offset than the central header (stupid design flaw of ZIP file
format).  The fix must be ported to conversion convertTo*() and a few
other places prior to commit.

------------------------------------------------------------------------

[2008-08-12 02:55:55] [email protected]

Description:
------------
a zip archive created with info-zip using bzip2 compression is not
properly processed by phar.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45792&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.