aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.google4
-rw-r--r--nss/tst-nss-getpwent.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/README.google b/README.google
index bdaaacb..3e1e215 100644
--- a/README.google
+++ b/README.google
@@ -625,3 +625,7 @@ posix/fnmatch_loop.c
Don't read past end of pattern in fnmatch (BZ17062)
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commit;h=b3a9f56ba59c3d8eadd3135a1c25c37a63151450
(stanshebs, backport)
+
+nss/tst-nss-getpwent.c
+ Work around b/34251679 by restricting to nss_files module
+ (stanshebs, google-local)
diff --git a/nss/tst-nss-getpwent.c b/nss/tst-nss-getpwent.c
index f2e8abc..9a197cf 100644
--- a/nss/tst-nss-getpwent.c
+++ b/nss/tst-nss-getpwent.c
@@ -32,6 +32,10 @@ do_test (void)
uid_t first_uid = 0;
char *last_name = NULL;
uid_t last_uid = 0;
+
+ // Google local: restrict to nss_files module, avoids b/34251679 in nss_cache
+ __nss_configure_lookup("passwd", "files");
+
setpwent ();
while ((pw = getpwent ()) != NULL)
{