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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ltakjhfnjh at hotmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC