#45792 [Asn->Csd]: bz2 compressed files in zip failure
| From: | cellog@php.net | Date: | Thu, 21 Aug 2008 05:17:35 +0000 |
| Subject: | #45792 [Asn->Csd]: bz2 compressed files in zip failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-128273@lists.php.net to get a copy of this message | ||
ID: 45792
Updated by: cellog@php.net
Reported By: cellog@php.net
-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] cellog@php.net
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] cellog@php.net
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