mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed bug #70900 (SoapClient systematic out of memory error)
This commit is contained in:
parent
391087ed28
commit
f8bf9bd86b
2 changed files with 6 additions and 1 deletions
3
NEWS
3
NEWS
|
@ -2,6 +2,9 @@ PHP NEWS
|
||||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||
?? ??? 2015, PHP 5.6.17
|
?? ??? 2015, PHP 5.6.17
|
||||||
|
|
||||||
|
- SOAP:
|
||||||
|
. Fixed bug #70900 (SoapClient systematic out of memory error). (Dmitry)
|
||||||
|
|
||||||
26 Nov 2015, PHP 5.6.16
|
26 Nov 2015, PHP 5.6.16
|
||||||
|
|
||||||
- Core:
|
- Core:
|
||||||
|
|
|
@ -1157,7 +1157,9 @@ static sdlPtr load_wsdl(zval *this_ptr, char *struri TSRMLS_DC)
|
||||||
zend_hash_init(ctx.sdl->bindings, 0, NULL, delete_binding, 0);
|
zend_hash_init(ctx.sdl->bindings, 0, NULL, delete_binding, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
zend_hash_add(ctx.sdl->bindings, tmpbinding->name, strlen(tmpbinding->name), &tmpbinding, sizeof(sdlBindingPtr), NULL);
|
if (zend_hash_add(ctx.sdl->bindings, tmpbinding->name, strlen(tmpbinding->name), &tmpbinding, sizeof(sdlBindingPtr), NULL) != SUCCESS) {
|
||||||
|
zend_hash_next_index_insert(ctx.sdl->bindings, &tmpbinding, sizeof(sdlBindingPtr), NULL);
|
||||||
|
}
|
||||||
trav= trav->next;
|
trav= trav->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue