#33094 [Opn->WFx]: Too deep recursion leads to segfault
| From: | tony2001@php.net | Date: | Sat, 21 May 2005 17:17:52 +0000 |
| Subject: | #33094 [Opn->WFx]: Too deep recursion leads to segfault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-79316@lists.php.net to get a copy of this message | ||
ID: 33094
Updated by: tony2001@php.net
Reported By: manager at mirchevideas dot com
-Status: Open
+Status: Wont fix
Bug Type: Reproducible crash
Operating System: Linux
PHP Version: 4.3.10
New Comment:
Search the bug database before submitting new reports.
Previous Comments:
------------------------------------------------------------------------
[2005-05-21 18:42:04] manager at mirchevideas dot com
Description:
------------
Segfault of the httpd server
Reproduce code:
---------------
<?php
test(1);
echo 'you should never see this';
function test($level) {
echo $level . '<br>'; flush();
test($level+1);
}
?>
Expected result:
----------------
Fatal error : Nesting level too deep - recursive dependency?
Actual result:
--------------
Going up to ~21000 and then just stopping to print. This is because it
segfaulted.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33094&edit=1