From:             [EMAIL PROTECTED]
Operating system: Win32
PHP version:      4.2.3
PHP Bug Type:     PCRE related
Bug description:  preg_match_all causes php to fail with "unknow software exception"

If the text for preg_match_all is bigger than some value, many regexp
constructions causes php to terminate.

This code crashes php (on win32 only):

<?
$thi = str_repeat("aaaaaaa   a aa aa aa\n", 1000);
preg_match_all("/(.|\n)*/",$thi,$vars);
?>
-- 
Edit bug report at http://bugs.php.net/?id=20698&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20698&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20698&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20698&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20698&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20698&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20698&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20698&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20698&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20698&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20698&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20698&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20698&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20698&r=isapi

Reply via email to