#18726 [NEW]: Empty Argument List Causes PHP to Hang

From: Date: Sat, 03 Aug 2002 19:04:33 +0000
Subject: #18726 [NEW]: Empty Argument List Causes PHP to Hang
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15925@lists.php.net to get a copy of this message
From: mattmurphy@kc.rr.com Operating system: Win32 PHP version: 4.2.2 PHP Bug Type: Performance problem Bug description: Empty Argument List Causes PHP to Hang Affected: PHP 4.2.0/4.2.2 for Win32 confirmed Problem: An issue in PHP's CGI EXE (possibly other modules, but the EXE is known to be susceptible) can cause it to hang if it is given a command line like this: C:\PHP>php [No Output - PHP hangs] ^C C:\PHP> cgi.force_redirect being enabled has *no effect* on the result of this command -- PHP hangs regardless. With the rare config of a CGI/SAPI on Apache, a certain type of request could be used to do this remotely: http://apache-site/php/php.exe If this is done repeatedly, it could starve server resources. -- Edit bug report at http://bugs.php.net/?id=18726&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18726&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18726&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18726&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18726&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18726&r=support Expected behavior: http://bugs.php.net/fix.php?id=18726&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18726&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18726&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18726&r=globals

« previous php.bugs (#15925) next »