Skip to content

Commit

Permalink
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Apr 24, 2006
1 parent 589abe9 commit cf6ada4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/posix/getaddrinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cf6ada4

Please sign in to comment.