Mercurial > illumos > illumos-gate
changeset 4224:aec4f9094020
6552599 nscd may dereference a NULL pointer in nss_pgetent()
author | michen |
---|---|
date | Mon, 14 May 2007 10:26:02 -0700 |
parents | 75d835eed918 |
children | 112046899e35 |
files | usr/src/cmd/nscd/nscd_switch.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/nscd/nscd_switch.c Mon May 14 09:40:31 2007 -0700 +++ b/usr/src/cmd/nscd/nscd_switch.c Mon May 14 10:26:02 2007 -0700 @@ -1188,7 +1188,7 @@ * 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;