php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61184 Phar::webPhar() generates headers with trailing NUL bytes
Submitted: 2012-02-25 12:56 UTC Modified: 2012-03-05 01:31 UTC
From: nikic@php.net Assigned: nikic (profile)
Status: Closed Package: PHAR related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: nikic@php.net
New email:
PHP Version: OS:

 

 [2012-02-25 12:56 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-02-25 12:57 UTC] 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:57 UTC] nikic@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: nikic
 [2012-02-25 13:00 UTC] nikic@php.net
-Summary: Phar::webPhar() generated headers with trailing NUL bytes +Summary: Phar::webPhar() generates headers with trailing NUL bytes
 [2012-03-02 08:21 UTC] 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-03-05 01:31 UTC] stas@php.net
-Status: Assigned +Status: Closed
 [2012-03-05 01:31 UTC] stas@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 15:01:28 2024 UTC