Bug #61184 [Opn->Asn]: Phar::webPhar() generated headers with trailing NUL bytes
| From: | nikic@php.net | Date: | Sat, 25 Feb 2012 12:57:49 +0000 |
| Subject: | Bug #61184 [Opn->Asn]: Phar::webPhar() generated headers with trailing NUL bytes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-167831@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: nikic@php.net
Reported by: nikic@php.net
Summary: Phar::webPhar() generated headers with trailing NUL
bytes
-Status: Open
+Status: Assigned
Type: Bug
Package: PHAR related
PHP Version: Irrelevant
-Assigned To:
+Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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