#22002 [Fbk->Opn]: empty mask with regulary expression
| From: | benjch at cybercable dot fr | Date: | Sun, 02 Feb 2003 02:04:26 +0000 |
| Subject: | #22002 [Fbk->Opn]: empty mask with regulary expression | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31864@lists.php.net to get a copy of this message | ||
ID: 22002
User updated by: benjch@cybercable.fr
Reported By: benjch@cybercable.fr
-Status: Feedback
+Status: Open
Bug Type: Reproducible crash
Operating System: winXP
PHP Version: 4.3.0
New Comment:
I tried both version STABLE and Latest CVS (Win32 Package)but the bug
stay. It look like that happend on windows OS and not on linux...
Previous Comments:
------------------------------------------------------------------------
[2003-02-01 17:01:44] magnus@php.net
Could you please try STABLE and Latest CVS from
http://snaps.php.net and report ?
I could not reproduce this on Linux with HEAD.
------------------------------------------------------------------------
[2003-02-01 16:32:27] nicos@php.net
Can't reproduce it with FreeBSD/Linux and PHP4.3.0/PHP5.0.0
------------------------------------------------------------------------
[2003-02-01 16:29:28] benjch@cybercable.fr
if you repeat at least 20-30 time the ereg function with an empty mask
php.exe 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
------------------------------------------------------------------------
[2003-02-01 16:22:42] benjch@cybercable.fr
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 this bug report at http://bugs.php.net/?id=22002&edit=1