|  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.

    function foo() { foo(); }

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


Add a Patch

Pull Requests

Add a Pull Request


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

PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC