pollita         Thu Feb  2 18:16:43 2006 UTC

  Modified files:              (Branch: PHP_5_1)
    /php-src/main/streams       xp_socket.c 
  Log:
  MFH: Prevent bindport from being used uninitialized
  
http://cvs.php.net/viewcvs.cgi/php-src/main/streams/xp_socket.c?r1=1.33.2.1&r2=1.33.2.2&diff_format=u
Index: php-src/main/streams/xp_socket.c
diff -u php-src/main/streams/xp_socket.c:1.33.2.1 
php-src/main/streams/xp_socket.c:1.33.2.2
--- php-src/main/streams/xp_socket.c:1.33.2.1   Sun Jan  1 12:50:18 2006
+++ php-src/main/streams/xp_socket.c    Thu Feb  2 18:16:43 2006
@@ -16,7 +16,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: xp_socket.c,v 1.33.2.1 2006/01/01 12:50:18 sniper Exp $ */
+/* $Id: xp_socket.c,v 1.33.2.2 2006/02/02 18:16:43 pollita Exp $ */
 
 #include "php.h"
 #include "ext/standard/file.h"
@@ -578,7 +578,7 @@
                php_stream_xport_param *xparam TSRMLS_DC)
 {
        char *host = NULL, *bindto = NULL;
-       int portno, bindport;
+       int portno, bindport = 0;
        int err;
        int ret;
        zval **tmpzval = NULL;

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

Reply via email to