#22002 [NEW]: empty mask with regulary expression
| From: | benjch at cybercable dot fr | Date: | Sat, 01 Feb 2003 22:22:42 +0000 |
| Subject: | #22002 [NEW]: empty mask with regulary expression | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-31854@lists.php.net to get a copy of this message | ||
From: benjch@cybercable.fr
Operating system: winXP
PHP version: 4.3.0
PHP Bug Type: Reproducible crash
Bug description: empty mask with regulary expression
if you repeat at least 20-30 time the ereg function with an empty mask
php.exe doesn't bug and stay in the task manager.
Some time the web page doesn't appear or just a part. Example of an
'reproductible bug' code
for($i=0;$i<100;$i++)
{
ereg("","aa");
}
BUT if you put @ in front of ereg the bug doesn't appear.
hope this bug report will be usefull.
Thanks
--
Edit bug report at http://bugs.php.net/?id=22002&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22002&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22002&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22002&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22002&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22002&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22002&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22002&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22002&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22002&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22002&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22002&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22002&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22002&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22002&r=gnused