php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14778 Function self-caller crash php
Submitted: 2001-12-30 21:28 UTC Modified: 2001-12-31 03:44 UTC
From: roberto at berto dot net Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.1.0 OS: windows ME
Private report: No CVE-ID: None
 [2001-12-30 21:28 UTC] roberto at berto dot net
It's not a Bug, but crash PHP. Maybe it's proposital way to prevent a type of DoS.

Sometimes it's usefull or it's need use a function that call itself. An example is a recursive array routine.

<?PHP
function crash($foo) {
    crash($foo);
}
crash("foo");
?>

What I like to show is: windows crash PHP when this code run. This is expected or the right is show a Fatal Error mensage?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-31 03:44 UTC] mfischer@php.net
a) known b) just one of zillion ways to dos c) expected  d) won't be fixed soon/never e) bogus
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 08:01:35 2024 UTC