#18909 [NEW]: Stack overflow error.

From: Date: Thu, 15 Aug 2002 01:02:17 +0000
Subject: #18909 [NEW]: Stack overflow error.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16861@lists.php.net to get a copy of this message
From: jon@jellybob.co.uk Operating system: Linux/Max OS X PHP version: 4CVS-2002-08-14 PHP Bug Type: Reproducible crash Bug description: Stack overflow error. OK, so this was created when I *tried* to crash PHP, but hey, every little helps. Should PHP detect a stack overflow, because at the moment it doesn't - the script... <?php function foo() { foo() } foo(); ?> Will seg-fault PHP, which I guess makes it possible for anyone to kill it off with a bit of effort. And for the leet of you out there - the following script is the shortest one we've found to do this with :P (A friend and I were looking for the shortest PHP script that will run, but crash... <? function foo(){foo();}foo(); ?> -- Edit bug report at http://bugs.php.net/?id=18909&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18909&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18909&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18909&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18909&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18909&r=support Expected behavior: http://bugs.php.net/fix.php?id=18909&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18909&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18909&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18909&r=globals

« previous php.bugs (#16861) next »