mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-26 10:25:41 +00:00
Merge branch 'PHP-7.0'
* PHP-7.0: Fixed bug #70900 (SoapClient systematic out of memory error)
This commit is contained in:
commit
16fcd9dcbd
1 file changed
+3
-1
+3
-1
@@ -1149,7 +1149,9 @@ static sdlPtr load_wsdl(zval *this_ptr, char *struri)
|
||||
zend_hash_init(ctx.sdl->bindings, 0, NULL, delete_binding, 0);
|
||||
}
|
||||
|
||||
zend_hash_str_add_ptr(ctx.sdl->bindings, tmpbinding->name, strlen(tmpbinding->name), tmpbinding);
|
||||
if (!zend_hash_str_add_ptr(ctx.sdl->bindings, tmpbinding->name, strlen(tmpbinding->name), tmpbinding)) {
|
||||
zend_hash_next_index_insert_ptr(ctx.sdl->bindings, tmpbinding);
|
||||
}
|
||||
trav= trav->next;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user