#37973 [NEW]: This code can bring a server down
| From: | pcpbslack at gmail dot com | Date: | Fri, 30 Jun 2006 08:20:25 +0000 |
| Subject: | #37973 [NEW]: This code can bring a server down | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-98978@lists.php.net to get a copy of this message | ||
From: pcpbslack at gmail dot com
Operating system: Windows/Linux
PHP version: 4.4.2
PHP Bug Type: Program Execution
Bug description: This code can bring a server down
Description:
------------
This code can bring a server down.
$arr_test = array();
for ($i = 500; $i >= 100; $i-25) {
array_push($arr_test, $i);
}
Obviously $i-25 should be $i-=25, but in hurry I forgot to put
the = sign and the server went down.
Actual result:
--------------
The server went down in Windows and Linux environment.
--
Edit bug report at http://bugs.php.net/?id=37973&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37973&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37973&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37973&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37973&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37973&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37973&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37973&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37973&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37973&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37973&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37973&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37973&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37973&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37973&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37973&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37973&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37973&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37973&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37973&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37973&r=mysqlcfg