From owner-freebsd-bugs@FreeBSD.ORG Sun Feb 29 08:50:20 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F15E416A4CE for ; Sun, 29 Feb 2004 08:50:19 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D081B43D1F for ; Sun, 29 Feb 2004 08:50:19 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1TGoJbv046767 for ; Sun, 29 Feb 2004 08:50:19 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1TGoJJU046766; Sun, 29 Feb 2004 08:50:19 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 29 Feb 2004 08:50:19 -0800 (PST) Resent-Message-Id: <200402291650.i1TGoJJU046766@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Daniel Ellard Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FB0116A4CE for ; Sun, 29 Feb 2004 08:49:41 -0800 (PST) Received: from mail.eecs.harvard.edu (bowser.eecs.harvard.edu [140.247.60.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DB9343D1F for ; Sun, 29 Feb 2004 08:49:41 -0800 (PST) (envelope-from ellard@eecs.harvard.edu) Received: from ant.eecs.harvard.edu (ant.eecs.harvard.edu [140.247.62.111]) by mail.eecs.harvard.edu (Postfix) with ESMTP id 382EE54C727 for ; Sun, 29 Feb 2004 11:49:40 -0500 (EST) Received: by ant.eecs.harvard.edu (Postfix, from userid 465) id 22E1530D; Sun, 29 Feb 2004 11:49:40 -0500 (EST) Message-Id: <20040229164940.22E1530D@ant.eecs.harvard.edu> Date: Sun, 29 Feb 2004 11:49:40 -0500 (EST) From: Daniel Ellard To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/63535: getpwent segfaults when NIS groups used by top, finger X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Daniel Ellard List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 16:50:20 -0000 >Number: 63535 >Category: bin >Synopsis: getpwent segfaults when NIS groups used by top, finger >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 29 08:50:19 PST 2004 >Closed-Date: >Last-Modified: >Originator: Daniel Ellard >Release: FreeBSD 4.8-RELEASE-p15 i386 >Organization: Harvard University >Environment: System: FreeBSD ant.eecs.harvard.edu 4.8-RELEASE-p15 FreeBSD 4.8-RELEASE-p15 #5: Fri Feb 20 10:27:42 EST 2004 ellard@ant.eecs.harvard.edu:/usr/obj/usr/freebsd_4.8/src/sys/ANT i386 This also occurs, with exactly the same symptoms, on 4.9-RELEASE-p2 and 4.7-RELEASE-p25 >Description: Applications like top and finger that use getpwent segfault if logins are limited via NIS groups. >How-To-Repeat: You must be using NIS for passwords in order recreate this. Edit (usinv vipw or equiv) /etc/passwd: if there is a line like "+:::::::::" remove it and add "+@foo:::::::::" where "foo" is a valid group name provided via NIS. Then try running top or "finger bar" (where bar can be any name, valid or not). top or finger will segfault in getpwent. >Fix: Unknown. >Release-Note: >Audit-Trail: >Unformatted: