Bug #51350 [Opn->Bgs]: recursively including non existing file causes segfault
| From: | johannes@php.net | Date: | Mon, 22 Mar 2010 16:45:17 +0000 |
| Subject: | Bug #51350 [Opn->Bgs]: recursively including non existing file causes segfault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-148851@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51350&edit=1
ID: 51350
Updated by: johannes@php.net
Reported by: slogster at gmail dot com
Summary: recursively including non existing file causes
segfault
-Status: Open
+Status: Bogus
Type: Bug
Package: Reproducible crash
Operating System: freebsd & linux
PHP Version: 5.2.13
New Comment:
Recusrion in PHP leads to a stack overflow for the process, which we
can't properly handle ourselves so the operating system terminates the
PHP process. This is the expected behavior.
Previous Comments:
------------------------------------------------------------------------
[2010-03-22 17:08:20] slogster at gmail dot com
Description:
------------
function a(){include("/nofile"); a();} a();
/nofine is non existing file
Test script:
---------------
function a(){include("/nofile"); a();} a();
/nofile is non existing file
Expected result:
----------------
should not segfault
Actual result:
--------------
segfault
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51350&edit=1