* 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>
|
2006-04-24 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): Use
|
* 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)
|
if ((hints->ai_flags & AI_CANONNAME) && name == NULL)
|
||||||
return EAI_BADFLAGS;
|
return EAI_BADFLAGS;
|
||||||
|
|
||||||
struct in6addrinfo *in6ai;
|
struct in6addrinfo *in6ai = NULL;
|
||||||
size_t in6ailen;
|
size_t in6ailen;
|
||||||
bool seen_ipv4 = false;
|
bool seen_ipv4 = false;
|
||||||
bool seen_ipv6 = false;
|
bool seen_ipv6 = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user