Edit report at https://bugs.php.net/bug.php?id=61744&edit=1

 ID:                 61744
 Updated by:         larue...@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

Reply via email to