PHP 4.0 Bug #9136 Updated: simple script with infinite function calls causes seg fault

From: Date: Tue, 06 Feb 2001 22:22:36 +0000
Subject: PHP 4.0 Bug #9136 Updated: simple script with infinite function calls causes seg fault
Groups: php.dev 
Request: Send a blank email to php-dev+get-45880@lists.php.net to get a copy of this message
ID: 9136 Updated by: derick Reported By: nathan@synop.com Old-Status: Open Status: Closed Bug Type: Reproduceable crash Assigned To: Comments: PHP doesn't handle infinite recursion, and as earlier was discussed on the php-dev list, it wont be implemented to guard for this, because of the high performance impact. Previous Comments: --------------------------------------------------------------------------- [2001-02-06 17:18:03] nathan@synop.com ------------------- <% function a () { b(); } function b () { a(); } a(); %> <h1>done</h1> --------------------- The simple script above causes a seg fault. If you need more info on configuration etc please mail me. We made this simple example from a more compilcated instance. This bug was also present in 4.0.3pl1, we upgraded to try and stop the seg fault... thanks! --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9136&edit=2

« previous php.dev (#45880) next »