diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-12-03 22:15:54 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-12-03 22:15:54 +0000 |
commit | 8e64faef03af02a8d4635d199a5b8e55ec68111e (patch) | |
tree | b9fc41a4185921aaf04c69fbf720a0fb410a4458 /nis/nss_nisplus/nisplus-spwd.c | |
parent | 636e689e6fb0da525b80620cdb64cdaf75aa3c6a (diff) | |
download | glibc-8e64faef03af02a8d4635d199a5b8e55ec68111e.tar.gz glibc-8e64faef03af02a8d4635d199a5b8e55ec68111e.tar.xz glibc-8e64faef03af02a8d4635d199a5b8e55ec68111e.zip |
* nis/nis_error.c (nis_sperror_r): Let snprintf determine whether
there is an overflow. * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_setnetgrent): Rewrite to use snprintf. * nis/nss_nisplus/nisplus-publickey.c (_nss_nisplus_netname2user): Likewise.
Diffstat (limited to 'nis/nss_nisplus/nisplus-spwd.c')
-rw-r--r-- | nis/nss_nisplus/nisplus-spwd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/nis/nss_nisplus/nisplus-spwd.c b/nis/nss_nisplus/nisplus-spwd.c index dd213c1ca9..8584300698 100644 --- a/nis/nss_nisplus/nisplus-spwd.c +++ b/nis/nss_nisplus/nisplus-spwd.c @@ -154,12 +154,8 @@ _nss_nisplus_getspnam_r (const char *name, struct spwd *sp, if (pwd_tablename_val == NULL) { - __libc_lock_lock (lock); - enum nss_status status = _nss_pwd_create_tablename (errnop); - __libc_lock_unlock (lock); - if (status != NSS_STATUS_SUCCESS) return status; } |