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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: david at acz dot org
New email:
PHP Version: OS:

 

 [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: Sat Apr 20 11:01:27 2024 UTC