diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2011-05-21 19:48:37 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2011-05-21 19:48:37 +0000 |
commit | f5a9e17f9cedaa5e0135698acc7b57b06f05bc75 (patch) | |
tree | effc02adb519b6d3aa719ed8da3302f3ec1afb4a /ext/pcre/php_pcre.c | |
parent | 964f44a280c399ee908daa45a7764f46823a713b (diff) | |
download | php-git-f5a9e17f9cedaa5e0135698acc7b57b06f05bc75.tar.gz |
Increase the overly conservative pcre backtrack limit from 100000 to 1000000
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r-- | ext/pcre/php_pcre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index a9d6ad0ff2..cc96fafe87 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -115,7 +115,7 @@ static PHP_GSHUTDOWN_FUNCTION(pcre) /* {{{ */ /* }}} */ PHP_INI_BEGIN() - STD_PHP_INI_ENTRY("pcre.backtrack_limit", "100000", PHP_INI_ALL, OnUpdateLong, backtrack_limit, zend_pcre_globals, pcre_globals) + STD_PHP_INI_ENTRY("pcre.backtrack_limit", "1000000", PHP_INI_ALL, OnUpdateLong, backtrack_limit, zend_pcre_globals, pcre_globals) STD_PHP_INI_ENTRY("pcre.recursion_limit", "100000", PHP_INI_ALL, OnUpdateLong, recursion_limit, zend_pcre_globals, pcre_globals) PHP_INI_END() |