PHP 4.0 Bug #7720 Updated: Return address in stack overwritten?

From: Date: Thu, 09 Nov 2000 12:28:10 +0000
Subject: PHP 4.0 Bug #7720 Updated: Return address in stack overwritten?
Groups: php.dev 
Request: Send a blank email to php-dev+get-37530@lists.php.net to get a copy of this message
ID: 7720 Updated by: derick Reported By: sven@devcon.net Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: This is not a bug. PHP currently does not handle infinite recursions. Closed Previous Comments: --------------------------------------------------------------------------- [2000-11-09 07:05:56] sven@devcon.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... --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7720

« previous php.dev (#37530) next »