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

 ID:                 61744
 Updated by:         paj...@php.net
 Reported by:        bugzilla33 at gmail dot com
 Summary:            preg_match crashes
-Status:             Open
+Status:             Not a bug
 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:

Increase the stack, either using the http configuration or using the 
editbin.exe 
utility.

The stack is overridden by the executable running php, in case of mod_php it is 
apache's.


Previous Comments:
------------------------------------------------------------------------
[2012-04-16 17:23:22] bugzilla33 at gmail dot com

No, I have original httpd.conf from package
and original php.ini-development -> php.ini

------------------------------------------------------------------------
[2012-04-16 17:12:08] ras...@php.net

Are you using mod_security in your Apache?

------------------------------------------------------------------------
[2012-04-16 16:53:59] bugzilla33 at gmail dot com

Tested also on Apache 2.4.2 + php_module (from www.apachelounge.com) + PHP 
5.4.0 VC9 Thread Safe

Test script still crashes.

------------------------------------------------------------------------
[2012-04-16 16:37:16] bugzilla33 at gmail dot com

When use #^(A{1}B)+$# instead of #^(A{1,2}B)+$#
testcase returns 1 - no crash

------------------------------------------------------------------------
[2012-04-16 16:34:13] bugzilla33 at gmail dot com

...and I tested Windows 7 only (32-bit and 64-bit)

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=61744


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

Reply via email to