#21062 [Opn->]: Recursive calls may SEGV
| From: | cynic@php.net | Date: | Tue, 17 Dec 2002 09:43:06 +0000 |
| Subject: | #21062 [Opn->]: Recursive calls may SEGV | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27923@lists.php.net to get a copy of this message | ||
ID: 21062
Updated by: cynic@php.net
Reported By: phpbug@vmlinuz.nl
-Status: Open
+Status: Won\'t fix
Bug Type: *Programming Data Structures
Operating System: Slackware 8.1, Linux 2.4.18 krnl
PHP Version: 4.3.0RC3
New Comment:
this is a bazillionth report of this behavior, which won't be fixed for
(IIRC) efficiency reasons.
Previous Comments:
------------------------------------------------------------------------
[2002-12-17 03:36:37] phpbug@vmlinuz.nl
compiled:
./configure && make && make install
script:
<?
function x(){
x();
}
x();
?>
This little piece of code produces a SEGV. At some point the stack is
full, and the program crashes. Why not die() before crashing?
OK, this code is so wrong... But still it should not SEGV.
Discovered it on PHP 4.2.2 (apache mod) and especially built PHP
4.3.0RC3 (cmdline) to find that 4.3.0RC3 still does this.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21062&edit=1