#19447 [Fbk]: ereg() causes segfault in apache 1.3.26
| From: | sniper@php.net | Date: | Wed, 09 Oct 2002 02:49:44 +0000 |
| Subject: | #19447 [Fbk]: ereg() causes segfault in apache 1.3.26 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-21880@lists.php.net to get a copy of this message | ||
ID: 19447
Updated by: sniper@php.net
Reported By: dan@drivefaster.net
Status: Feedback
Bug Type: Reproducible crash
Operating System: Redhat 7.2
PHP Version: 4.2.3
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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