php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35991 Win32 - crash Apache.exe, *nix - segfault
Submitted: 2006-01-13 11:27 UTC Modified: 2006-01-13 11:31 UTC
From: itsmegawtf at gmail dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.1.2 OS: WinXP SP2, FreeBSD, Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: itsmegawtf at gmail dot com
New email:
PHP Version: OS:

 

 [2006-01-13 11:27 UTC] itsmegawtf at gmail dot com
Description:
------------
PHP4 and PHP5 affected, recursion level limit.
Tested on Latest stable versions and latest snapshots.

php compiled without debug flag, so I can't post full bt here.

Similar bug you can find here: http://bugs.php.net/bug.php?id=29370



Reproduce code:
---------------
<?
function POC($var1) {
	while($var2 = POC($var1)) {}
POC("test");
?>

Actual result:
--------------
Core was generated by `php bug.php'.
Program terminated with signal 11, Segmentation fault.
#0  0x403769d9 in ?? ()
(gdb) bt
#0  0x403769d9 in ?? ()

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-13 11:31 UTC] tony2001@php.net
This is called "stack overflow" and it's expected to crash.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 10:01:28 2024 UTC