php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2005 Header() with CGI version produces unwanted output (memory leak ?)
Submitted: 1999-08-09 11:21 UTC Modified: 1999-08-09 13:39 UTC
From: christophe dot massiot at mail dot dotcom dot fr Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Latest CVS (09/08/1999) OS: Linux 2.0.36/Debian slink
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: christophe dot massiot at mail dot dotcom dot fr
New email:
PHP Version: OS:

 

 [1999-08-09 11:21 UTC] christophe dot massiot at mail dot dotcom dot fr
The following script :

<?
  Header("HTTP/1.0 401 Unauthorized");
  echo "foo\n";
>?

produces :

17:11 [webase3:p2] titi:~% php html/titi.phtml 
HTTP/1.0 401 Unauthorized
Content-Type: text/html
ZZZZZZZZZZZZZZZZZZZZZZZZZ

foo
Script:  'html/titi.phtml'
---------------------------------------
SAPI.c(89) : Block 0x080EAF18 status:
Beginning:      Cached (allocated on zend_variables.c:120, 26 bytes)
      End:      OK
---------------------------------------

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-09 13:39 UTC] zeev at cvs dot php dot net
Fixed in the latest CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 15:01:29 2024 UTC