ID: 37637 Updated by: [EMAIL PROTECTED] Reported By: dave at dgx dot cz -Status: Open +Status: Feedback Bug Type: PCRE related PHP Version: 5.1.4 New Comment:
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 for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 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. Can't reproduce nor with 5000 of *'s, neither with 5 000 000. Previous Comments: ------------------------------------------------------------------------ [2006-05-30 06:33:54] dave at dgx dot cz summary: Too long input string crashes PHP: ------------------------------------------------------------------------ [2006-05-30 06:21:23] dave at dgx dot cz Description: ------------ Too long input string crashes PHP: Reproduce code: --------------- // in some situation 400 chars is enought to reproduce error $s = str_repeat('*', 5000); preg_match_all('#(\*)+#', $s, $matches); Actual result: -------------- 4.3.10 crash 4.3.11 crash 4.3.3 crash 4.3.4 crash 4.3.5 crash 4.3.6 crash 4.3.7 crash 4.3.8 crash 4.3.9 crash 4.4.0 crash 4.4.1 crash 4.4.2 crash 5.0.0 OK 5.0.1 OK 5.0.2 OK 5.0.3 OK 5.0.4 OK 5.0.5 OK 5.1.1 OK 5.1.2 OK 5.1.3 crash 5.1.4 crash ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37637&edit=1