php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22002 empty mask with regulary expression
Submitted: 2003-02-01 16:22 UTC Modified: 2003-02-20 08:07 UTC
From: benjch at cybercable dot fr Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 4.3.0 OS: winXP
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-02-01 16:22 UTC] benjch at cybercable dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-01 16:29 UTC] benjch at cybercable dot 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:32 UTC] nicos@php.net
Can't reproduce it with FreeBSD/Linux and PHP4.3.0/PHP5.0.0
 [2003-02-01 17:01 UTC] 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 20:04 UTC] benjch at cybercable dot 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-13 08:47 UTC] rioter@php.net
dont know the status on this but i tried on winXP with php 4.3.0 and couldnt reproduce it 
 [2003-02-13 12:42 UTC] sniper@php.net
Please make sure you're upgrading PHP correctly and
ALL the dlls, especially php4ts.dll ! (sometimes a reboot is needed..)

 [2003-02-18 06:48 UTC] gmeakin at btinternet dot com
Looks like the same effects reported and solved in bug #21262.

The problem was due to loading pages with IE under WinXP and was fixed by installing Microsoft's service pack-1.
 [2003-02-20 08:07 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 11:01:31 2024 UTC