cvs: php-src /main/streams xp_socket.c
| From: | Sara Golemon | Date: | Thu, 02 Feb 2006 18:16:25 +0000 |
| Subject: | cvs: php-src /main/streams xp_socket.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-36737@lists.php.net to get a copy of this message | ||
pollita Thu Feb 2 18:16:25 2006 UTC
Modified files:
/php-src/main/streams xp_socket.c
Log:
Prevent bindport from being used uninitialized
http://cvs.php.net/viewcvs.cgi/php-src/main/streams/xp_socket.c?r1=1.34&r2=1.35&diff_format=u
Index: php-src/main/streams/xp_socket.c
diff -u php-src/main/streams/xp_socket.c:1.34 php-src/main/streams/xp_socket.c:1.35
--- php-src/main/streams/xp_socket.c:1.34 Sun Jan 1 13:09:57 2006
+++ php-src/main/streams/xp_socket.c Thu Feb 2 18:16:25 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: xp_socket.c,v 1.34 2006/01/01 13:09:57 sniper Exp $ */
+/* $Id: xp_socket.c,v 1.35 2006/02/02 18:16:25 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;