Browse files

Fixed bug #37862 (Integer pointer comparison to numeric value)

  • Loading branch information...
1 parent 862c4d2 commit de85c9cd7028a9804837969f1090e5b1b066d8b3 Dmitry Stogov committed Jun 26, 2006
Showing with 3 additions and 1 deletion.
  1. +2 −0 NEWS
  2. +1 −1 ext/soap/php_sdl.c
View
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)
View
2 ext/soap/php_sdl.c
@@ -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);

0 comments on commit de85c9c

Please sign in to comment.