php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7720 Return address in stack overwritten?
Submitted: 2000-11-09 07:05 UTC Modified: 2000-11-09 07:28 UTC
From: sven at devcon dot net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.3pl1 OS: freebsd
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sven at devcon dot net
New email:
PHP Version: OS:

 

 [2000-11-09 07:05 UTC] sven at devcon dot net
When doing a recursion like this:

function foo ()
{
  foo ();
}

php crashes after a few thousand recursions. The number of recursions
possible depends on the function size. I recompiled the webserver without optimization and debugging symbols accordingly.

Program received signal SIGSEGV, Segmentation fault.
0x2822f7bb in object.11 () at ./zend_execute.c:877
877     }
(gdb) bt
#0  0x2822f7bb in object.11 () at ./zend_execute.c:877
Error accessing memory address 0xbbbffc3c: Bad address.

Oh btw, I'd appreciate to see a password field for passwords in the bug form...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-09 07:28 UTC] derick@php.net
This is not a bug. PHP currently does not handle infinite recursions.

Closed
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 05:01:33 2025 UTC