1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Reduce limit

This commit is contained in:
Dmitry Stogov
2017-07-14 11:40:42 +03:00
parent b1be5a04d7
commit c51659ea8c

View File

@@ -580,7 +580,7 @@ static inline int ct_eval_func_call(
&& num_args == 2
&& Z_TYPE_P(args[0]) == IS_STRING
&& Z_TYPE_P(args[1]) == IS_LONG
&& zend_safe_address(Z_STRLEN_P(args[0]), Z_LVAL_P(args[1]), 0, &overflow) < 64 * 1024 * 1024
&& zend_safe_address(Z_STRLEN_P(args[0]), Z_LVAL_P(args[1]), 0, &overflow) < 64 * 1024
&& !overflow) {
/* pass */
} else if ((zend_string_equals_literal(name, "array_merge")