mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Fixed bug #37862 (Integer pointer comparison to numeric value)
This commit is contained in:
parent
862c4d2345
commit
de85c9cd70
2
NEWS
2
NEWS
@ -69,6 +69,8 @@ PHP NEWS
|
||||
- Fixed memory leaks in openssl streams context options. (Pierre)
|
||||
- Fixed handling of extremely long paths inside tempnam() function. (Ilia)
|
||||
- Fixed bug #37864 (file_get_contents() leaks on empty file). (Hannes)
|
||||
- Fixed bug #37862 (Integer pointer comparison to numeric value).
|
||||
(bugs-php at thewrittenword dot com)
|
||||
- Fixed bug #37807 (segmentation fault during SOAP schema import). (Tony)
|
||||
- Fixed bug #37780 (memory leak trying to execute a non existing file (CLI)).
|
||||
(Mike)
|
||||
|
@ -2193,7 +2193,7 @@ static void add_sdl_to_cache(const char *fn, const char *uri, time_t t, sdlPtr s
|
||||
zend_hash_find(&tmp_bindings,(char*)&(*tmp)->binding,sizeof((*tmp)->binding), (void**)&binding_num) != SUCCESS) {
|
||||
}
|
||||
WSDL_CACHE_PUT_INT(*binding_num, out);
|
||||
if (binding_num >= 0) {
|
||||
if (*binding_num >= 0) {
|
||||
if ((*tmp)->binding->bindingType == BINDING_SOAP && (*tmp)->bindingAttributes != NULL) {
|
||||
sdlSoapBindingFunctionPtr binding = (sdlSoapBindingFunctionPtr)(*tmp)->bindingAttributes;
|
||||
WSDL_CACHE_PUT_1(binding->style, out);
|
||||
|
Loading…
Reference in New Issue
Block a user