From e988239634fa8c9e01373458d84ef84f1f69a223 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 21 Mar 2016 18:59:39 +0100 Subject: [PATCH] decrease the default PCRE JIT stack to 64K --- ext/pcre/php_pcre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0