Bug #54174 [Opn]: Buffer disclosure in case a fatal error occurs
| From: | neweracracker at gmail dot com | Date: | Sun, 06 Mar 2011 14:45:49 +0000 |
| Subject: | Bug #54174 [Opn]: Buffer disclosure in case a fatal error occurs | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-159264@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54174&edit=1
ID: 54174
User updated by: neweracracker at gmail dot com
Reported by: neweracracker at gmail dot com
Summary: Buffer disclosure in case a fatal error occurs
Status: Open
Type: Bug
Package: Output Control
Operating System: Windows
PHP Version: 5.3.5
Block user comment: N
Private report: N
New Comment:
I am using php.ini-development as my php.ini to reproduce this bug.
Previous Comments:
------------------------------------------------------------------------
[2011-03-06 15:34:34] neweracracker at gmail dot com
Description:
------------
If a fatal error occurs buffer contents are disclosured.
Test script:
---------------
<?php
set_time_limit(1);
ob_start();
echo "You shouldn't see this!";
sleep(2); //comment this and you won't see the line above in output ;)
ob_end_clean();
?>
Expected result:
----------------
I expected not seeing "You shouldn't see this!" and just the fatal error
Actual result:
--------------
I see "You shouldn't see this!" and the fatal error
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54174&edit=1