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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jpolaino at infonos dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Mon Dec 30 14:01:28 2024 UTC