summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-10-30 17:23:18 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-10-30 17:23:18 +0100
commit904c1b6589b999a8e387215ac3c8fce9e4ab62a8 (patch)
tree5587fe716cac3a53a352535120978ab1c4018c8c /Zend/zend_execute_API.c
parent5958137dc512ca4c6c82576b6f045559e39791e1 (diff)
downloadphp-git-904c1b6589b999a8e387215ac3c8fce9e4ab62a8.tar.gz
FIxed bug #80299
The must_wrap was leaking across iterations.
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index 7572a0d890..4248212238 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -807,8 +807,8 @@ cleanup_args:
zval *arg;
uint32_t arg_num = ZEND_CALL_NUM_ARGS(call) + 1;
zend_bool have_named_params = 0;
- zend_bool must_wrap = 0;
ZEND_HASH_FOREACH_STR_KEY_VAL(fci->named_params, name, arg) {
+ zend_bool must_wrap = 0;
zval *target;
if (name) {
void *cache_slot[2] = {NULL, NULL};