Skip to content

Commit adf3158

Browse files
committed
MFH(r-1.96) Bugfix#38649 Optional param not initialized
1 parent d8fc0cc commit adf3158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/streamsfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ PHP_FUNCTION(stream_socket_sendto)
311311
php_stream *stream;
312312
zval *zstream;
313313
long flags = 0;
314-
char *data, *target_addr;
314+
char *data, *target_addr = NULL;
315315
int datalen, target_addr_len = 0;
316316
php_sockaddr_storage sa;
317317
socklen_t sl = 0;

0 commit comments

Comments
 (0)