dmitry          Mon Jun 26 13:23:47 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    NEWS 
    /php-src/ext/soap   php_sdl.c 
  Log:
  Fixed bug #37862 (Integer pointer comparison to numeric value)
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.94&r2=1.2027.2.547.2.95&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.94 php-src/NEWS:1.2027.2.547.2.95
--- php-src/NEWS:1.2027.2.547.2.94      Sun Jun 25 23:22:40 2006
+++ php-src/NEWS        Mon Jun 26 13:23:46 2006
@@ -69,6 +69,8 @@
 - 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)
http://cvs.php.net/viewvc.cgi/php-src/ext/soap/php_sdl.c?r1=1.88.2.12&r2=1.88.2.12.2.1&diff_format=u
Index: php-src/ext/soap/php_sdl.c
diff -u php-src/ext/soap/php_sdl.c:1.88.2.12 
php-src/ext/soap/php_sdl.c:1.88.2.12.2.1
--- php-src/ext/soap/php_sdl.c:1.88.2.12        Wed Apr 19 10:48:54 2006
+++ php-src/ext/soap/php_sdl.c  Mon Jun 26 13:23:46 2006
@@ -17,7 +17,7 @@
   |          Dmitry Stogov <[EMAIL PROTECTED]>                             |
   +----------------------------------------------------------------------+
 */
-/* $Id: php_sdl.c,v 1.88.2.12 2006/04/19 10:48:54 dmitry Exp $ */
+/* $Id: php_sdl.c,v 1.88.2.12.2.1 2006/06/26 13:23:46 dmitry Exp $ */
 
 #include "php_soap.h"
 #include "ext/libxml/php_libxml.h"
@@ -2193,7 +2193,7 @@
                            
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);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to