summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authormichen <none@none>2007-05-14 10:26:02 -0700
committermichen <none@none>2007-05-14 10:26:02 -0700
commit2802e980ad535ca6f11fc79cad288dc02b15c231 (patch)
tree85c2a783451caf4fc0ff89f0f29b5d0a891e6ce0 /usr/src
parentb2a0298a692fdfad84421581e74637c08a370180 (diff)
downloadillumos-joyent-2802e980ad535ca6f11fc79cad288dc02b15c231.tar.gz
6552599 nscd may dereference a NULL pointer in nss_pgetent()
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/cmd/nscd/nscd_switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/nscd/nscd_switch.c b/usr/src/cmd/nscd/nscd_switch.c
index 8fbc067c4f..22632003dd 100644
--- a/usr/src/cmd/nscd/nscd_switch.c
+++ b/usr/src/cmd/nscd/nscd_switch.c
@@ -1188,7 +1188,7 @@ nss_getent_u(nss_db_root_t *rootp, nss_db_initf_t initf,
* for the last source. We exhausted all sources.
*/
nss_endent_u(rootp, initf, contextpp);
- return (NSS_SUCCESS);
+ return (NSS_NOTFOUND);
}
contextp->n_src = n_src;
contextp->be = be;