1
2009-07-25 Ulrich Drepper <drepper@redhat.com>
4
* sysdeps/posix/getaddrinfo.c (gaih_inet): If NSS module contains no
5
callback we must touch the status to avoid using stale value.
7
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
8
index d346c62..a788d18 100644
9
--- a/sysdeps/posix/getaddrinfo.c
10
+++ b/sysdeps/posix/getaddrinfo.c
11
@@ -833,6 +833,8 @@ gaih_inet (const char *name, const struct gaih_service *service,
12
&& inet6_status != NSS_STATUS_UNAVAIL)
13
status = inet6_status;
16
+ status = NSS_STATUS_UNAVAIL;
19
if (nss_next_action (nip, status) == NSS_ACTION_RETURN)