Bug #61184 [Asn->Csd]: Phar::webPhar() generates headers with trailing NUL bytes
| From: | stas@php.net | Date: | Mon, 05 Mar 2012 01:31:20 +0000 |
| Subject: | Bug #61184 [Asn->Csd]: Phar::webPhar() generates headers with trailing NUL bytes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-168117@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61184&edit=1
ID: 61184
Updated by: stas@php.net
Reported by: nikic@php.net
Summary: Phar::webPhar() generates headers with trailing NUL
bytes
-Status: Assigned
+Status: Closed
Type: Bug
Package: PHAR related
PHP Version: Irrelevant
Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
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/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
http://svn.php.net/viewvc?view=revision&revision=323804
Previous Comments:
------------------------------------------------------------------------
[2012-03-02 08:21:47] nikic@php.net
Automatic comment from SVN on behalf of nikic
Revision: http://svn.php.net/viewvc/?view=revision&revision=323804
Log: Merge: Fix bug #61184 Phar::webPhar() generates headers with trailing NUL bytes
------------------------------------------------------------------------
[2012-02-25 12:57:49] nikic@php.net
This is already fixed in http://svn.php.net/viewvc?view=revision&revision=323330.
This bug is only there to track the 5.4 merge, as per cjones request.
------------------------------------------------------------------------
[2012-02-25 12:56:48] nikic@php.net
Description:
------------
Phar::webPhar() generates invalid 403, 404 and 301 headers, because the length of
the headers in computed incorrectly, resulting in trailing NUL bytes to be sent.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61184&edit=1