#22002 [Opn]: empty mask with regulary expression
| From: | rioter@php.net | Date: | Thu, 13 Feb 2003 14:47:54 +0000 |
| Subject: | #22002 [Opn]: empty mask with regulary expression | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33035@lists.php.net to get a copy of this message | ||
ID: 22002
Updated by: rioter@php.net
Reported By: benjch@cybercable.fr
Status: Open
Bug Type: Reproducible crash
Operating System: winXP
PHP Version: 4.3.0
New Comment:
dont know the status on this but i tried on winXP with php 4.3.0 and
couldnt reproduce it
Previous Comments:
------------------------------------------------------------------------
[2003-02-01 20:04:26] benjch@cybercable.fr
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...
------------------------------------------------------------------------
[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