php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33094 Too deep recursion leads to segfault
Submitted: 2005-05-21 18:42 UTC Modified: 2005-05-21 19:17 UTC
From: manager at mirchevideas dot com Assigned:
Status: Wont fix Package: Reproducible crash
PHP Version: 4.3.10 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: manager at mirchevideas dot com
New email:
PHP Version: OS:

 

 [2005-05-21 18:42 UTC] manager at mirchevideas dot com
Description:
------------
Segfault of the httpd server

Reproduce code:
---------------
<?php
	test(1);
	echo 'you should never see this';
	
	function test($level) {
		echo $level . '<br>'; flush();
		test($level+1);
	}
?>

Expected result:
----------------
Fatal error : Nesting level too deep - recursive dependency?

Actual result:
--------------
Going up to ~21000 and then just stopping to print. This is because it segfaulted.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-21 19:17 UTC] tony2001@php.net
Search the bug database before submitting new reports.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC