#45792 [Asn]: bz2 compressed files in zip failure
| From: | cellog@php.net | Date: | Mon, 18 Aug 2008 21:51:36 +0000 |
| Subject: | #45792 [Asn]: bz2 compressed files in zip failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-128203@lists.php.net to get a copy of this message | ||
ID: 45792
Updated by: cellog@php.net
Reported By: cellog@php.net
Status: Assigned
Bug Type: PHAR related
Operating System: linux
PHP Version: 5.3CVS-2008-08-12 (CVS)
Assigned To: cellog
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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