mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai.
This commit is contained in:
parent
589abe9337
commit
cf6ada44a2
@ -1,3 +1,7 @@
|
||||
2006-04-24 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai.
|
||||
|
||||
2006-04-24 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): Use
|
||||
|
@ -1516,7 +1516,7 @@ getaddrinfo (const char *name, const char *service,
|
||||
if ((hints->ai_flags & AI_CANONNAME) && name == NULL)
|
||||
return EAI_BADFLAGS;
|
||||
|
||||
struct in6addrinfo *in6ai;
|
||||
struct in6addrinfo *in6ai = NULL;
|
||||
size_t in6ailen;
|
||||
bool seen_ipv4 = false;
|
||||
bool seen_ipv6 = false;
|
||||
|
Loading…
Reference in New Issue
Block a user