From owner-freebsd-bugs@FreeBSD.ORG Mon Jan 12 02:20:16 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 EF22B16A4CE for ; Mon, 12 Jan 2004 02:20:16 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 135C443D48 for ; Mon, 12 Jan 2004 02:20:16 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0CAKFFR080751 for ; Mon, 12 Jan 2004 02:20:15 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0CAKFx2080750; Mon, 12 Jan 2004 02:20:15 -0800 (PST) (envelope-from gnats) Date: Mon, 12 Jan 2004 02:20:15 -0800 (PST) Message-Id: <200401121020.i0CAKFx2080750@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: rafan@infor.org Subject: Re: kern/59962: libc error when using nis passwd.adjunct X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rafan@infor.org List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2004 10:20:17 -0000 The following reply was made to PR kern/59962; it has been noted by GNATS. From: rafan@infor.org To: freebsd-gnats-submit@FreeBSD.org, ggomez@fing.edu.uy Cc: nectar@freebsd.org, ggomez@fing.edu.uy Subject: Re: kern/59962: libc error when using nis passwd.adjunct Date: Mon, 12 Jan 2004 18:12:52 +0800 (CST) First, I coundn't make the test program sigsegv on my 5.2-RELEASE/i386 box. However, this following program does SIGSEGV on my box, #include #include #include int main(void) { struct passwd *pw; while ((pw = getpwent()) != NULL) printf("%s\n", pw->pw_name); return 0; } This code segment is like some lines in top(1), so top(1) also SIGSEGV. As a notice, if you run this program or top(1) with root than you won't have SIGSEGV. My NIS server also supports passwd.adjunct.byname map (server is a FreeBSD box). I've tried the patch original attached, it's ok. If you want to ask me to do any test on my box, just tell me. Finally, I do consider this is a serious bug, so please fix it ASAP, thanks.