OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1067-gfbb4c61
Gerrit Code Review
gerrit@openafs.org
Fri, 15 Apr 2011 10:13:36 -0700 (PDT)
The following commit has been merged in the master branch:
commit fbb4c6115b9af9c52ee06fa9c979a3f4195ad342
Author: Andrew Deason <adeason@sinenomine.net>
Date: Wed Apr 13 11:10:52 2011 -0500
pam: Check for null upwd from getpwnam_r
The POSIX getpwnam_r can yield a NULL struct passwd pointer even when
the returned error code is 0 (in particular, when the requested entry
is not found). Just add a check for a null upwd to make sure we don't
dereference a NULL pointer.
Change-Id: I00e8d6c53e8228f468c984010695b798f5dcf999
Reviewed-on: http://gerrit.openafs.org/4469
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/pam/afs_auth.c | 2 +-
src/pam/afs_password.c | 2 +-
src/pam/afs_setcred.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository