cvs commit: src/lib/libc/gen getpwent.c

Jacques A. Vidrine nectar at FreeBSD.org
Thu Apr 22 05:28:59 PDT 2004


On Wed, Apr 21, 2004 at 02:15:08PM -0700, Jonathan Chen wrote:
> jon         2004/04/21 14:15:08 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     lib/libc/gen         getpwent.c 
>   Log:
>   Fix a bug that could result in getpw*() incorrectly returning NULL when NIS
>   adjunct maps are used.  One symtom of this bug is sshd saying:
>           login_get_lastlog: Cannot find account for uid X
>   when logging in.  The problem here is caused by an incorrect reuse of the rv
>   variable when previous values are needed later.
>   
>   Revision  Changes    Path
>   1.87      +1 -0      src/lib/libc/gen/getpwent.c

Thanks, Jonathan!

Cheers,
-- 
Jacques Vidrine / nectar at celabo.org / jvidrine at verio.net / nectar at freebsd.org


More information about the cvs-src mailing list