ID:               35991
 Updated by:       [EMAIL PROTECTED]
 Reported By:      itsmegawtf at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Reproducible crash
 Operating System: WinXP SP2, FreeBSD, Linux
 PHP Version:      5.1.2
 New Comment:

This is called "stack overflow" and it's expected to crash.


Previous Comments:
------------------------------------------------------------------------

[2006-01-13 11:27:56] 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 ?? ()


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35991&edit=1

Reply via email to