From: Sara Golemon Date: Wed, 11 Oct 2006 23:20:54 +0000 (+0000) Subject: Bugfix#38649 Optional param not initialized X-Git-Tag: RELEASE_1_0_0RC1~1303 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cc51b4785965e1b3e9912bfc3abdf37929eaa900;p=php Bugfix#38649 Optional param not initialized --- diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index f6ef5ad2f6..03d4d5b353 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -317,7 +317,7 @@ PHP_FUNCTION(stream_socket_sendto) 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;