php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56929 00 hex character in archive file
Submitted: 2006-03-29 20:56 UTC Modified: 2006-03-30 08:51 UTC
From: ltakjhfnjh at hotmail dot com Assigned: pajoye (profile)
Status: Closed Package: zip (PECL)
PHP Version: 5.1.1 OS: FreeBSD 5.4-STABLE
Private report: No CVE-ID: None
 [2006-03-29 20:56 UTC] ltakjhfnjh at hotmail dot com
Description:
------------
error while expand binary files from archive

Reproduce code:
---------------
Zip Usage Example from PHP documentation
http://www.php.net/manual/en/ref.zip.php

Expected result:
----------------
printing binary file(JPEG picture via echo "$buf\n";) to html

Actual result:
--------------
printing only part of file from start to first 00 character. This problem not present zip in version 1.0


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-30 07:42 UTC] pierre dot php at gmail dot com
Can you provide a Zip archive to reproduce this problem? Put a link to it or send it to me.
 [2006-03-30 08:51 UTC] pierre dot php at gmail dot com
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Apr 15 10:01:23 2021 UTC