com php-src: Fixed Bug #70032 (make_http_soap_request calls zend_hash_get_current_key_ex(,,,NU LL)): NEWS ext/soap/php_http.c
| From: | Xinchen Hui | Date: | Thu, 09 Jul 2015 08:36:31 +0000 |
| Subject: | com php-src: Fixed Bug #70032 (make_http_soap_request calls zend_hash_get_current_key_ex(,,,NU LL)): NEWS ext/soap/php_http.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87858@lists.php.net to get a copy of this message | ||
Commit: 0de0c4ace14437071fb8a8690f387a63c0c48003
Author: Xinchen Hui <laruence@php.net> Thu, 9 Jul 2015 16:32:18 +0800
Parents: a55ca9a8d14d16708c0627c05e117b26d2aaef86
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0de0c4ace14437071fb8a8690f387a63c0c48003
Log:
Fixed Bug #70032 (make_http_soap_request calls zend_hash_get_current_key_ex(,,,NULL))
Bugs:
https://bugs.php.net/70032
Changed paths:
M NEWS
M ext/soap/php_http.c
Diff:
diff --git a/NEWS b/NEWS
index ceca8ad..5237eab 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,10 @@
- Core:
. Fixed bug #70012 (Exception lost with nested finally block). (Laruence)
+- Soap:
+ . Fixed bug #70032 (make_http_soap_request calls
+ zend_hash_get_current_key_ex(,,,NULL). (Laruence)
+
- Standard:
. Fixed bug #70018 (exec does not strip all whitespace). (Laruence)
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c
index 3b42a6b..e0a749f 100644
--- a/ext/soap/php_http.c
+++ b/ext/soap/php_http.c
@@ -814,7 +814,7 @@ try_again:
smart_str_append_const(&soap_headers, "Cookie: ");
for (i = 0; i < n; i++) {
data = zend_hash_get_current_data(Z_ARRVAL_P(cookies));
- zend_hash_get_current_key_ex(Z_ARRVAL_P(cookies), &key, NULL, NULL);
+ zend_hash_get_current_key(Z_ARRVAL_P(cookies), &key, NULL);
if (Z_TYPE_P(data) == IS_ARRAY) {
zval *value;