#20698 [Fbk->Opn]: preg_match_all causes php to fail with "unknow software exception"

From: Date: Thu, 28 Nov 2002 12:34:47 +0000
Subject: #20698 [Fbk->Opn]: preg_match_all causes php to fail with "unknow software exception"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26077@lists.php.net to get a copy of this message
ID: 20698 User updated by: thingol@mail.ru Reported By: thingol@mail.ru -Status: Feedback +Status: Open Bug Type: PCRE related Operating System: Win32 PHP Version: 4.2.3 New Comment: Nothing new. Bug is repeated. Previous Comments: ------------------------------------------------------------------------ [2002-11-28 06:29:17] 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-11-28 06:26:10] thingol@mail.ru 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 this bug report at http://bugs.php.net/?id=20698&edit=1

« previous php.bugs (#26077) next »