php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15522 Infinite recursion crashes interpreter
Submitted: 2002-02-12 09:12 UTC Modified: 2002-02-12 09:34 UTC
From: david at acz dot org Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.1.1 OS: Debian GNU/Linux
Private report: No CVE-ID: None
 [2002-02-12 09:12 UTC] david at acz dot org
It is quite easy to crash the PHP interpreter with infinite recursion.  While this is a user error, the interpreter should not crash.  There should be some sort of internal checking to assure that too many function calls cannot cause a crash.

<?
    foo();
    function foo() { foo(); }
?>

[Tue Feb 12 07:09:45 2002] [notice] child pid 4079 exit signal Segmentation fault (11)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-12 09:34 UTC] derick@php.net
Search the bug database for previous submissions on this.
This can not be fixed.

Derick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 12:01:27 2024 UTC