pollita Wed Oct 11 23:20:54 2006 UTC
Modified files:
/php-src/ext/standard streamsfuncs.c
Log:
Bugfix#38649 Optional param not initialized
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/streamsfuncs.c?r1=1.95&r2=1.96&diff_format=u
Index: php-src/ext/standard/streamsfuncs.c
diff -u php-src/ext/standard/streamsfuncs.c:1.95
php-src/ext/standard/streamsfuncs.c:1.96
--- php-src/ext/standard/streamsfuncs.c:1.95 Mon Oct 9 02:48:06 2006
+++ php-src/ext/standard/streamsfuncs.c Wed Oct 11 23:20:54 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: streamsfuncs.c,v 1.95 2006/10/09 02:48:06 pollita Exp $ */
+/* $Id: streamsfuncs.c,v 1.96 2006/10/11 23:20:54 pollita Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -317,7 +317,7 @@
php_stream *stream;
zval *zstream;
long flags = 0;
- char *data, *target_addr;
+ char *data, *target_addr = NULL;
int datalen, target_addr_len = 0;
php_sockaddr_storage sa;
socklen_t sl = 0;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php