From: Stanislav Malyshev Date: Fri, 29 Mar 2019 05:57:07 +0000 (-0700) Subject: Add mbstring.regex_stack_limit to php.ini-* X-Git-Tag: php-7.3.5RC1~36^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc4cb277d3ddaecee8285b98d248380b454edbfd;p=php Add mbstring.regex_stack_limit to php.ini-* --- diff --git a/php.ini-development b/php.ini-development index fcc95fd3c5..320cf170a3 100644 --- a/php.ini-development +++ b/php.ini-development @@ -1712,6 +1712,11 @@ zend.assertions = 1 ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml) ;mbstring.http_output_conv_mimetype= +; This directive specifies maximum stack depth for mbstring regular expressions. It is similar +; to the pcre.recursion_limit for PCRE. +; Default: 100000 +;mbstring.regex_stack_limit=100000 + [gd] ; Tell the jpeg decode to ignore warnings and try to create ; a gd image. The warning will then be displayed as notices diff --git a/php.ini-production b/php.ini-production index 909bf6d8dc..656ae67302 100644 --- a/php.ini-production +++ b/php.ini-production @@ -1719,6 +1719,11 @@ zend.assertions = -1 ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml) ;mbstring.http_output_conv_mimetype= +; This directive specifies maximum stack depth for mbstring regular expressions. It is similar +; to the pcre.recursion_limit for PCRE. +; Default: 100000 +;mbstring.regex_stack_limit=100000 + [gd] ; Tell the jpeg decode to ignore warnings and try to create ; a gd image. The warning will then be displayed as notices