From owner-cvs-src@FreeBSD.ORG Wed Apr 21 14:15:09 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C80216A4CE; Wed, 21 Apr 2004 14:15:09 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4F3A43D31; Wed, 21 Apr 2004 14:15:08 -0700 (PDT) (envelope-from jon@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i3LLF8Ge076961; Wed, 21 Apr 2004 14:15:08 -0700 (PDT) (envelope-from jon@repoman.freebsd.org) Received: (from jon@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i3LLF89Y076960; Wed, 21 Apr 2004 14:15:08 -0700 (PDT) (envelope-from jon) Message-Id: <200404212115.i3LLF89Y076960@repoman.freebsd.org> From: Jonathan Chen Date: Wed, 21 Apr 2004 14:15:08 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/gen getpwent.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2004 21:15:09 -0000 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