Edit report at http://bugs.php.net/bug.php?id=54174&edit=1
ID: 54174 Updated by: [email protected] Reported by: neweracracker at gmail dot com Summary: Buffer disclosure in case a fatal error occurs -Status: Open +Status: Duplicate Type: Bug Package: Output Control Operating System: Windows PHP Version: 5.3.5 Block user comment: N Private report: N New Comment: Duplicated of #54114 Previous Comments: ------------------------------------------------------------------------ [2011-03-06 15:45:49] neweracracker at gmail dot com I am using php.ini-development as my php.ini to reproduce this bug. ------------------------------------------------------------------------ [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
