Subject: Re: CVS commit: src/lib/libpam/modules/pam_unix
To: None <,>
From: John Nemeth <>
List: current-users
Date: 04/18/2005 21:10:48
On Aug 4,  3:47pm, Luke Mewburn wrote:
} Module Name:	src
} Committed By:	lukem
} Date:		Tue Apr 19 03:40:16 UTC 2005
} Modified Files:
} 	src/lib/libpam/modules/pam_unix: pam_unix.c
} Log Message:
} Safety boots: don't depend upon getpwnam_r() to set pwd to NULL on all
} failures, especially if we're going to ignore the return result.

     Umm, I thought the result of the discussion was that POSIX
mandates that pwd be set to NULL for all errors AND when the entry
isn't found.  Thus if pwd isn't set to NULL for some failure case then
getpwnam_r is very broken.

}-- End of excerpt from Luke Mewburn