From ff87d572687d82386214c6709deff3e0755e7d37 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Thu, 2 Feb 2006 18:16:25 +0000 Subject: [PATCH] Prevent bindport from being used uninitialized --- main/streams/xp_socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/streams/xp_socket.c b/main/streams/xp_socket.c index 3b1263d519..fe6fa16b9f 100644 --- a/main/streams/xp_socket.c +++ b/main/streams/xp_socket.c @@ -578,7 +578,7 @@ static inline int php_tcp_sockop_connect(php_stream *stream, php_netstream_data_ 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; -- 2.40.0