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

Jonathan Chen jon at FreeBSD.org
Wed Apr 21 14:15:09 PDT 2004


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


More information about the cvs-src mailing list