Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.411 (Entity 5.404) From: Russ Allbery Subject: CVS Commit RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 430 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. Commit By: rra Revision: 18121 Changed Files: U trunk/src/include/k5-platform.h