svn rev #18121: trunk/src/include/

rra@MIT.EDU rra at MIT.EDU
Tue Jun 13 11:18:04 EDT 2006


Commit By: rra
Log Message: 
Ticket: 3490
Version_Reported: 1.4.3
Component: krb5-libs

POSIX allows getpwnam_r and getpwuid_r to return 0 (success) even if the
username or UID could not be found, in which case OUT will be set to
NULL.  Elsewhere, code assumes that if k5_getpwnam_r or k5_getpwuid_r
returns 0, OUT is non-NULL.  Check whether OUT is NULL and adjust the
return value accordingly in the k5_getpw{nam,uid}_r wrappers.



Changed Files:
U   trunk/src/include/k5-platform.h



More information about the cvs-krb5 mailing list