Date: Sun, 29 Feb 2004 11:49:40 -0500 (EST) From: Daniel Ellard <ellard@eecs.harvard.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/63535: getpwent segfaults when NIS groups used by top, finger Message-ID: <20040229164940.22E1530D@ant.eecs.harvard.edu> Resent-Message-ID: <200402291650.i1TGoJJU046766@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040229164940.22E1530D>