From: Anatol Belski Date: Mon, 21 Mar 2016 17:59:39 +0000 (+0100) Subject: decrease the default PCRE JIT stack to 64K X-Git-Tag: php-7.0.6RC1~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e988239634fa8c9e01373458d84ef84f1f69a223;p=php decrease the default PCRE JIT stack to 64K --- diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index 128089c0bd..24ed6ca5d6 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -64,7 +64,7 @@ PHPAPI ZEND_DECLARE_MODULE_GLOBALS(pcre) #ifdef PCRE_STUDY_JIT_COMPILE #define PCRE_JIT_STACK_MIN_SIZE (32 * 1024) -#define PCRE_JIT_STACK_MAX_SIZE (256 * 1024) +#define PCRE_JIT_STACK_MAX_SIZE (64 * 1024) ZEND_TLS pcre_jit_stack *jit_stack = NULL; #endif