#19102 [NEW]: Crash in a recursive function with a buged return value

From: Date: Mon, 26 Aug 2002 09:31:46 +0000
Subject: #19102 [NEW]: Crash in a recursive function with a buged return value
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17832@lists.php.net to get a copy of this message
From: jemore@m6net.fr Operating system: Win32 PHP version: 4.2.2 PHP Bug Type: Reproducible crash Bug description: Crash in a recursive function with a buged return value function crashme($val) { if ($val == 0) return 0; return crashme($val--); // here is the bug. Should be $val - 1 } echo crashme(1); result in a "Unkown software exception" under WinNT. -- Edit bug report at http://bugs.php.net/?id=19102&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19102&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19102&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19102&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19102&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19102&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19102&r=support Expected behavior: http://bugs.php.net/fix.php?id=19102&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19102&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19102&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19102&r=globals

« previous php.bugs (#17832) next »