[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#154375: marked as done (finger dumps core about '+' in /etc/passwd)



Your message dated Tue, 11 Mar 2003 18:46:29 +0900
with message-id <801y1e6xsa.wl@oris.opensource.jp>
and subject line [herbert@gondor.apana.org.au: Re: Bug#154375: finger dumps core about '+' in /etc/passwd]
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Jul 2002 14:30:01 +0000
>From Harri.Dunkel@synopsys.com Fri Jul 26 09:30:01 2002
Return-path: <Harri.Dunkel@synopsys.com>
Received: from kiruna.synopsys.com [204.176.20.18] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17Y66T-0001F9-00; Fri, 26 Jul 2002 09:30:01 -0500
Received: from crone.synopsys.com (crone.synopsys.com [146.225.7.23])
	by kiruna.synopsys.com (Postfix) with ESMTP id A364BF39A
	for <submit@bugs.debian.org>; Fri, 26 Jul 2002 07:29:30 -0700 (PDT)
Received: from goofy.gr05.synopsys.com (localhost [127.0.0.1])
	by crone.synopsys.com (8.9.3+Sun/8.9.1) with ESMTP id HAA16525;
	Fri, 26 Jul 2002 07:29:25 -0700 (PDT)
Received: from Synopsys.COM (dunkel@fright [146.225.224.165])
	by goofy.gr05.synopsys.com (8.8.8/8.8.8) with ESMTP id QAA24656;
	Fri, 26 Jul 2002 16:29:24 +0200 (MET DST)
Message-ID: <3D415CC4.3010402@Synopsys.COM>
Date: Fri, 26 Jul 2002 16:29:24 +0200
From: Harald Dunkel <Harri.Dunkel@synopsys.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020615 Debian/1.0.0-3
MIME-Version: 1.0
To: submit@bugs.debian.org
Subject: finger dumps core about '+' in /etc/passwd
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org

Package: finger
Version: 0.17-6

Hi folks,

finger does a core dump on my machine. Starting it with
'strace -f finger' I get


:
:
open("/etc/passwd", O_RDONLY)           = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1137, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "root:fxiEqFrcCE4HKQ:0:0:root:/roo"..., 4096) = 1137
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++


The problem seems to be related to the last line in
/etc/passwd: Its just a '+'. Thats the traditional way
to include NIS. If I remove the '+', then the problem is
gone.

Of course I know nsswitch.conf and how to configure it. But
nevertheless, finger shouldn't die with a core dump.


Regards

Harri


---------------------------------------
Received: (at 154375-done) by bugs.debian.org; 11 Mar 2003 09:46:31 +0000
>From gotom@debian.or.jp Tue Mar 11 03:46:30 2003
Return-path: <gotom@debian.or.jp>
Received: from oris.opensource.jp (oris.opensource.gr.jp) [218.44.239.73] (postfix)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18sgL8-0007pr-00; Tue, 11 Mar 2003 03:46:30 -0600
Received: from oris.opensource.jp (oris.opensource.jp [218.44.239.73])
	by oris.opensource.gr.jp (Postfix) with ESMTP
	id 0CA33C33C6; Tue, 11 Mar 2003 18:46:29 +0900 (JST)
Date: Tue, 11 Mar 2003 18:46:29 +0900
Message-ID: <801y1e6xsa.wl@oris.opensource.jp>
From: GOTO Masanori <gotom@debian.or.jp>
To: Harald Dunkel <Harri.Dunkel@synopsys.com>,
	154375-done@bugs.debian.org
Subject: Re: [herbert@gondor.apana.org.au: Re: Bug#154375: finger dumps core about '+' in /etc/passwd]
In-Reply-To: <wtw1y9plqnn.wl@fe.dis.titech.ac.jp>
References: <20020726225706.GA7806@blimpo.internal.net>
	<wtw1y9plqnn.wl@fe.dis.titech.ac.jp>
User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: 154375-done@bugs.debian.org
X-Spam-Status: No, hits=-1.8 required=4.0
	tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,
	      USER_AGENT
	version=2.44
X-Spam-Level: 

At Sat, 27 Jul 2002 13:51:24 +0900,
GOTO Masanori wrote:
> 
> At Fri, 26 Jul 2002 18:57:06 -0400,
> Ben Collins wrote:
> > > Package: finger
> > > Version: 0.17-6
> > > 
> > > finger does a core dump on my machine. Starting it with
> > > 'strace -f finger' I get
> > > 
> > > :
> > > :
> > > open("/etc/passwd", O_RDONLY)           = 3
> > > fcntl64(3, F_GETFD)                     = 0
> > > fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
> > > fstat64(3, {st_mode=S_IFREG|0644, st_size=1137, ...}) = 0
> > > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> > > 0) = 0x40015000
> > > _llseek(3, 0, [0], SEEK_CUR)            = 0
> > > read(3, "root:fxiEqFrcCE4HKQ:0:0:root:/roo"..., 4096) = 1137
> > > --- SIGSEGV (Segmentation fault) ---
> > > +++ killed by SIGSEGV +++
> > 
> > This is in the middle of a call to libc6...
> 
> I can't reproduce it...
> Could you send us sample /etc/nsswitch.conf and /etc/passwd ?
> In addition check your binary is debian's finger, surely.

This bug is stil opened, but I can't reproduce it too.
I close this bug.

Regards,
-- gotom



Reply to: