From: [EMAIL PROTECTED] Operating system: Redhat 7.2 PHP version: 4.2.3 PHP Bug Type: Reproducible crash Bug description: ereg() causes segfault in apache 1.3.26
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 bug report at http://bugs.php.net/?id=19447&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19447&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19447&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19447&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19447&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19447&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19447&r=support Expected behavior: http://bugs.php.net/fix.php?id=19447&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19447&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19447&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19447&r=globals