|  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
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.
Block user comment
Status: Assign to:
Bug Type:
From: neweracracker at gmail dot com
New email:
PHP Version: OS:


 [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-2023 The PHP Group
All rights reserved.
Last updated: Mon Sep 25 07:01:26 2023 UTC