Bug #48634 [Fbk->NoF]: Calling ob_get_flush() inside an output handler causes crashes
| From: | php-bugs at lists dot php dot net | Date: | Mon, 18 Feb 2013 00:33:58 +0000 |
| Subject: | Bug #48634 [Fbk->NoF]: Calling ob_get_flush() inside an output handler causes crashes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-176748@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=48634&edit=1
ID: 48634
Updated by: php-bugs@lists.php.net
Reported by: gwynne@php.net
Summary: Calling ob_get_flush() inside an output handler causes
crashes
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Reproducible crash
Operating System: Darwin9 (MacOS X 10.5)
PHP Version: 5.* (2009-07-25)
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2010-09-20 02:17:39] kalle@php.net
Wasn't this fixed with the backport of the ob handling API in trunk?
------------------------------------------------------------------------
[2009-07-21 12:04:22] gwynne@php.net
Correction: This does NOT happen in HEAD.
------------------------------------------------------------------------
[2009-07-18 01:42:45] gwynne@php.net
Yes, it happens in all three branches.
------------------------------------------------------------------------
[2009-07-17 17:40:04] jani@php.net
Does this happen with PHP_5_2 and/or HEAD? (if so, update the version
properly)
------------------------------------------------------------------------
[2009-06-22 00:34:03] gwynne@php.net
Description:
------------
The subject kind of says most of it. Under both GDB and Valgrind, PHP enters a massive recursion
until it finally crashes by overrunning the stack, which is expected, according to a comment in a
test that a fix needs to be backported from HEAD. So this bug is mostly about "please backport
this fix", I suppose.
Reproduce code:
---------------
See tests/output/ob_11.phpt
Expected result:
----------------
A fatal error saying "you can't do that".
Actual result:
--------------
Endless recursion.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=48634&edit=1