Bug #61744 [Opn->Fbk]: preg_match crashes
| From: | laruence@php.net | Date: | Mon, 16 Apr 2012 14:52:41 +0000 |
| Subject: | Bug #61744 [Opn->Fbk]: preg_match crashes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-169630@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61744&edit=1
ID: 61744
Updated by: laruence@php.net
Reported by: bugzilla33 at gmail dot com
Summary: preg_match crashes
-Status: Open
+Status: Feedback
Type: Bug
Package: *Regular Expressions
Operating System: Win 7 64-bit
PHP Version: 5.4.1RC2
Block user comment: N
Private report: N
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.
I think it is probable because of :
http://www.php.net/manual/en/pcre.configuration.php#ini.pcre.recursion-limit
Previous Comments:
------------------------------------------------------------------------
[2012-04-16 11:01:26] bugzilla33 at gmail dot com
Try as Apache module.
php.exe testcase.php does not crash
------------------------------------------------------------------------
[2012-04-16 10:57:30] bugzilla33 at gmail dot com
Description:
------------
preg_match crashes
Test script:
---------------
<?=preg_match('#^(A{1,2}B)+$#',str_repeat('AB',300));?>
Expected result:
----------------
preg_match no crash
Actual result:
--------------
preg_match crashes
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61744&edit=1