com php-src: Fixed bug #70993 (Array key references break argument processing): NEWS ext/soap/soap.c

From: Date: Mon, 30 Nov 2015 02:50:23 +0000
Subject: com php-src: Fixed bug #70993 (Array key references break argument processing): NEWS ext/soap/soap.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-90058@lists.php.net to get a copy of this message
Commit: 5df6f9f20ee571caf30c005fc2eae5eb780ba002 Author: Xinchen Hui <laruence@gmail.com> Mon, 30 Nov 2015 10:50:23 +0800 Parents: e6e77d9e275ce422edebf15bafd7e33cd7c73627 Branches: PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5df6f9f20ee571caf30c005fc2eae5eb780ba002 Log: Fixed bug #70993 (Array key references break argument processing) Bugs: https://bugs.php.net/70993 Changed paths: M NEWS M ext/soap/soap.c Diff: diff --git a/NEWS b/NEWS index e19defa..c5aa1f3 100644 --- a/NEWS +++ b/NEWS @@ -50,6 +50,10 @@ PHP NEWS - Streams/Socket . Add IPV6_V6ONLY constant / make it usable in stream contexts. (Bob) +- Soap: + . Fixed bug #70993 (Array key references break argument processing). + (Laruence) + 26 Nov 2015, PHP 7.0.0 RC 8 - Core: diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 4c746aa..b6fc5a0 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -2941,6 +2941,7 @@ PHP_METHOD(SoapClient, __call) real_args = safe_emalloc(sizeof(zval), arg_count, 0); ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(args), param) { /*zval_add_ref(param);*/ + ZVAL_DEREF(param); ZVAL_COPY_VALUE(&real_args[i], param); i++; } ZEND_HASH_FOREACH_END();

« previous php.cvs (#90058) next »