]> granicus.if.org Git - php/commitdiff
decrease the default PCRE JIT stack to 64K
authorAnatol Belski <ab@php.net>
Mon, 21 Mar 2016 17:59:39 +0000 (18:59 +0100)
committerAnatol Belski <ab@php.net>
Mon, 21 Mar 2016 17:59:39 +0000 (18:59 +0100)
ext/pcre/php_pcre.c

index 128089c0bddbf427496596c82c9c998789308d93..24ed6ca5d633f99f9f21d5fc2c9f30ce101ed373 100644 (file)
@@ -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