php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19447 ereg() causes segfault in apache 1.3.26
Submitted: 2002-09-17 02:18 UTC Modified: 2002-10-24 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: dan at drivefaster dot net Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 4.2.3 OS: Redhat 7.2
Private report: No CVE-ID: None
 [2002-09-17 02:18 UTC] dan at drivefaster dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-17 02:20 UTC] 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-10-08 21:49 UTC] 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-10-24 01:00 UTC] php-bugs at lists dot php dot net
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".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 11:01:29 2024 UTC