OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0b-207-ge068045

Gerrit Code Review
Fri, 16 Dec 2011 03:00:58 -0800 (PST)

The following commit has been merged in the openafs-stable-1_6_x branch:
commit 5bef5346c23583ece8308163d85522d15f714475
Author: Andrew Deason <>
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.
    Tested-by: BuildBot <>
    Reviewed-by: Derrick Brashear <>
    (cherry picked from commit fbb4c6115b9af9c52ee06fa9c979a3f4195ad342)
    Change-Id: I9a8bccba7b6ecbce393ea149270e5c61ebadd05c
    Tested-by: Derrick Brashear <>
    Reviewed-by: Derrick Brashear <>

 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