ID:               32828
 Updated by:       [EMAIL PROTECTED]
 Reported By:      rbro at hotmail dot com
-Status:           Open
+Status:           Verified
-Bug Type:         Output Control
+Bug Type:         Reproducible crash
-Operating System: Linux
+Operating System: *
-PHP Version:      5.0.4
+PHP Version:      5.0,5.1 CVS (2005-04-26)


Previous Comments:
------------------------------------------------------------------------

[2005-04-26 00:52:03] rbro at hotmail dot com

Description:
------------
If you throw an exception inside an output_callback function as a
result of using ob_start() and ob_end_clean(), a Segmentation fault
occurs.


Reproduce code:
---------------
<?php
function output_handler($buffer)
{
        throw new Exception;
}

ob_start('output_handler');

ob_end_clean();
?>


Expected result:
----------------
Exception is thrown.


Actual result:
--------------
Segmentation fault



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32828&edit=1

Reply via email to