|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #54174 Buffer disclosure in case a fatal error occurs
Submitted: 2011-03-06 15:34 UTC Modified: 2011-03-06 16:05 UTC
From: neweracracker at gmail dot com Assigned:
Status: Duplicate Package: Output Control
PHP Version: 5.3.5 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
36 + 25 = ?
Subscribe to this entry?

 [2011-03-06 15:34 UTC] neweracracker at gmail dot com
If a fatal error occurs buffer contents are disclosured.

Test script:
echo "You shouldn't see this!";
sleep(2); //comment this and you won't see the line above in output ;)

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-06 15:45 UTC] neweracracker at gmail dot com
I am using php.ini-development as my php.ini to reproduce this bug.
 [2011-03-06 16:05 UTC]
-Status: Open +Status: Duplicate
 [2011-03-06 16:05 UTC]
Duplicated of #54114
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 17 11:01:28 2024 UTC