From:             [EMAIL PROTECTED]
Operating system: linux debian-woody 
PHP version:      4.2.3
PHP Bug Type:     Regexps related
Bug description:  regex hangs php if --with-system-regex turned on

ereg( '^[a-z0-9_\-\.]+@[a-z0-9_\-\.]+\.[a-z0-9]+',   
'[EMAIL PROTECTED]', $bla);   
   
does hang with 100% cpu&mem so the kernel kills it   
   
Dec  2 17:49:51 whitestar kernel: Out of Memory: Killed   
process 6176 (apache).   
   
it happens only if I compile with --with-system-regex  
 
after I figured that out, I stopped investigating deeper .. 
I don't know if its a debian or php problem ... but I 
though I report it anyway. 
-- 
Edit bug report at http://bugs.php.net/?id=20769&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20769&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20769&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20769&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20769&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20769&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20769&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20769&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20769&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20769&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20769&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20769&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20769&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20769&r=isapi

Reply via email to