php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25513 Error PHP4TS.DLL
Submitted: 2003-09-12 07:34 UTC Modified: 2003-10-04 01:25 UTC
From: jpolaino at infonos dot com Assigned:
Status: No Feedback Package: Regexps related
PHP Version: 4.3.3 OS: Win Me
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-09-12 07:34 UTC] jpolaino at infonos dot com
Description:
------------
I have a application with 15 files and 6000 lines of code instaled on server with PHP 4.2.3
This runs O.K.
I just installed PHP 4.3.3 in my PC for I+D.
Now I have several errors in many lines of code.
The error says "Php provoc? un error en PHP4TS.DLL. Php se cerrar?"
I press the option "Debug" and then Microsoft Visual C++ give the message "Unhandled exception in php.exe (PHP4TS.DLL): 0xC00000FD: Stack Overflow".
This ocurrs some times when I use the function isset() but I can not reproduce the fail: when I try to make a short file with the code ??this run!!
This error ocurrs too when I use the function eregi() in

eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$", $Mail);

when $Mail value is any value with two points "..", but when I try to make a short file (see below) this run OK.

Please Can any one help me?

Thanks


Reproduce code:
---------------
<?php

if (isset($Mail))
{
   if (eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$", $Mail))
      $Msg = "El mail <b>'$Mail'</b> es correcto<hr>";
   else
      $Msg = "<b>ERROR:</b> El mail <b>'$Mail'</b> es incorrecto<hr>";
}
echo  "   <html><head></head><body>
$Msg
<form method=post>
Mail <input type=text name=Mail>
<input type=submit value=Send>
</form></body></head>";

?>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-04 01:25 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: Sat Apr 27 09:01:29 2024 UTC