From owner-cvs-src@FreeBSD.ORG Thu Apr 22 05:28:58 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 DB17016A4CE; Thu, 22 Apr 2004 05:28:58 -0700 (PDT) Received: from gw.celabo.org (gw.celabo.org [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id A649543D45; Thu, 22 Apr 2004 05:28:58 -0700 (PDT) (envelope-from nectar@celabo.org) Received: from madman.celabo.org (madman.celabo.org [10.0.1.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "madman.celabo.org", Issuer "celabo.org CA" (not verified)) by gw.celabo.org (Postfix) with ESMTP id 4B9D054846; Thu, 22 Apr 2004 07:28:58 -0500 (CDT) Received: by madman.celabo.org (Postfix, from userid 1001) id EE2646D479; Thu, 22 Apr 2004 07:28:57 -0500 (CDT) Date: Thu, 22 Apr 2004 07:28:57 -0500 From: "Jacques A. Vidrine" To: Jonathan Chen Message-ID: <20040422122857.GF29225@madman.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , Jonathan Chen , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200404212115.i3LLF89Y076960@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200404212115.i3LLF89Y076960@repoman.freebsd.org> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.6i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: 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: Thu, 22 Apr 2004 12:28:59 -0000 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@celabo.org / jvidrine@verio.net / nectar@freebsd.org