]> granicus.if.org Git - php/commitdiff
Fixed bug #74679 (Incorrect conversion array with WSDL_CACHE_MEMORY)
authorDmitry Stogov <dmitry@zend.com>
Tue, 13 Jun 2017 14:15:47 +0000 (17:15 +0300)
committerDmitry Stogov <dmitry@zend.com>
Tue, 13 Jun 2017 14:15:47 +0000 (17:15 +0300)
NEWS
ext/soap/php_sdl.c

diff --git a/NEWS b/NEWS
index c39d6e2b28876f9a80b5dc36d1be1b88a733fe9c..1e6ffa13c24e5112fbba122774afbf7668b1264e 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -43,6 +43,10 @@ PHP                                                                        NEWS
 - PHAR:
   . Fixed bug #74386 (Phar::__construct reflection incorrect). (villfa)
 
+- SOAP
+  . Fixed bug #74679 (Incorrect conversion array with WSDL_CACHE_MEMORY).
+    (Dmitry)
+
 - Streams:
   . Fixed bug #74556 (stream_socket_get_name() returns '\0'). (Sara)
 
index 49fd363511fd38d6c4011f030c056236ada6b02d..c53fa8a758425f7eb8bfa150f4f30b96ffb034e9 100644 (file)
@@ -2623,7 +2623,7 @@ static sdlAttributePtr make_persistent_sdl_attribute(sdlAttributePtr attr, HashT
                pattr->extraAttributes = malloc(sizeof(HashTable));
                zend_hash_init(pattr->extraAttributes, zend_hash_num_elements(attr->extraAttributes), NULL, delete_extra_attribute_persistent, 1);
 
-               ZEND_HASH_FOREACH_STR_KEY_PTR(pattr->extraAttributes, key, tmp) {
+               ZEND_HASH_FOREACH_STR_KEY_PTR(attr->extraAttributes, key, tmp) {
                        if (key) {
                                pextra = malloc(sizeof(sdlExtraAttribute));
                                memset(pextra, 0, sizeof(sdlExtraAttribute));