#19447 [Fbk->NoF]: ereg() causes segfault in apache 1.3.26
| From: | php-bugs at lists dot php dot net | Date: | Thu, 24 Oct 2002 06:00:08 +0000 |
| Subject: | #19447 [Fbk->NoF]: ereg() causes segfault in apache 1.3.26 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23160@lists.php.net to get a copy of this message | ||
ID: 19447
Updated by: php-bugs@lists.php.net
Reported By: dan@drivefaster.net
-Status: Feedback
+Status: No Feedback
Bug Type: Reproducible crash
Operating System: Redhat 7.2
PHP Version: 4.2.3
New Comment:
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2002-10-08 21:49:43] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-09-17 02:20:49] derick@php.net
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
------------------------------------------------------------------------
[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