[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r8838 - in /fsf/glibc-2_10-branch/libc: ChangeLog sysdeps/posix/getaddrinfo.c



Author: eglibc
Date: Tue Aug 18 00:06:53 2009
New Revision: 8838

Log:
Import glibc-2.10 for 2009-08-18

Modified:
    fsf/glibc-2_10-branch/libc/ChangeLog
    fsf/glibc-2_10-branch/libc/sysdeps/posix/getaddrinfo.c

Modified: fsf/glibc-2_10-branch/libc/ChangeLog
==============================================================================
--- fsf/glibc-2_10-branch/libc/ChangeLog (original)
+++ fsf/glibc-2_10-branch/libc/ChangeLog Tue Aug 18 00:06:53 2009
@@ -1,3 +1,9 @@
+2009-07-25  Ulrich Drepper  <drepper@xxxxxxxxxx>
+
+	[BZ #10448]
+	* sysdeps/posix/getaddrinfo.c (gaih_inet): If NSS module contains no
+	callback we must touch the status to avoid using stale value.
+
 2009-06-16  Ulrich Drepper  <drepper@xxxxxxxxxx>
 
 	* login/Makefile: Build pt_chown as PIE.

Modified: fsf/glibc-2_10-branch/libc/sysdeps/posix/getaddrinfo.c
==============================================================================
--- fsf/glibc-2_10-branch/libc/sysdeps/posix/getaddrinfo.c (original)
+++ fsf/glibc-2_10-branch/libc/sysdeps/posix/getaddrinfo.c Tue Aug 18 00:06:53 2009
@@ -833,6 +833,8 @@
 			       && inet6_status != NSS_STATUS_UNAVAIL)
 			status = inet6_status;
 		    }
+		  else
+		    status = NSS_STATUS_UNAVAIL;
 		}
 
 	      if (nss_next_action (nip, status) == NSS_ACTION_RETURN)