#19447 [Opn->Fbk]: ereg() causes segfault in apache 1.3.26
| From: | derick@php.net | Date: | Tue, 17 Sep 2002 07:20:50 +0000 |
| Subject: | #19447 [Opn->Fbk]: ereg() causes segfault in apache 1.3.26 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19520@lists.php.net to get a copy of this message | ||
ID: 19447
Updated by: derick@php.net
Reported By: dan@drivefaster.net
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Redhat 7.2
PHP Version: 4.2.3
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Also, post a full reproducing copy and paste script so that we can try
it ourselves.
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-09-17 02:18:20] dan@drivefaster.net
if ( ereg($arr[$iCnt],$_POST['txtPassword']) ) {
^ this line would crash apache 1.3.26 repeatedly. The code did not
change since 4.2.1. Nothing else changed between 4.2.1 and upgrade to
4.2.3.
The values in $arr[$iCnt] and $_POST['txtPassword'] were as expected.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19447&edit=1