[Pkg-shadow-devel] Bug#113508: marked as done ([TO CLOSE 20050405] login: SEGV at login.c:585 when using rlogin)

Debian Bug Tracking System owner@bugs.debian.org
Tue, 12 Apr 2005 13:33:26 -0700


Your message dated Tue, 12 Apr 2005 22:28:33 +0200
with message-id <20050412202833.GN32568@mykerinos.kheops.frmug.org>
and subject line Closing old unreproducible bugs
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; 25 Sep 2001 20:05:39 +0000
>From branden@progeny.com Tue Sep 25 15:05:39 2001
Return-path: <branden@progeny.com>
Received: from zealot.progeny.com (butthead.progeny.com) [216.37.46.162] (db65b74f214dc2ffe646b652bcdde444)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 15lySZ-0003CD-00; Tue, 25 Sep 2001 15:05:39 -0500
Received: by butthead.progeny.com (Postfix, from userid 10001)
	id D337721A; Tue, 25 Sep 2001 15:05:38 -0500 (EST)
From: Branden Robinson <branden@progeny.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: login: SEGV at login.c:585 when using rlogin
X-Reportbug-Version: 1.29
X-Mailer: reportbug 1.29
Date: Tue, 25 Sep 2001 15:05:38 -0500
Message-Id: <20010925200538.D337721A@butthead.progeny.com>
Delivered-To: submit@bugs.debian.org

Package: login
Version: 20000902-7
Severity: normal

login is running on an ia64 box.  The bug happens regardless of the
architecture connecting host (at least, i386 and ia64 behave the same way).

GNU gdb 5.0.90-cvs (MI_OUT)
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ia64-unknown-linux"...
Core was generated by `login -p -h minerva.progeny.com -f branden'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libpam.so.0...done.
Loaded symbols for /lib/libpam.so.0
Reading symbols from /lib/libpam_misc.so.0...done.
Loaded symbols for /lib/libpam_misc.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6.1...done.
Loaded symbols for /lib/libc.so.6.1
Reading symbols from /lib/ld-linux-ia64.so.2...done.
Loaded symbols for /lib/ld-linux-ia64.so.2
#0  0x20000000001dec51 in memchr () from /lib/libc.so.6.1
(gdb) bt
#0  0x20000000001dec51 in memchr () from /lib/libc.so.6.1
#1  0x20000000001dc290 in strnlen () from /lib/libc.so.6.1
#2  0x20000000001dc550 in strncpy () from /lib/libc.so.6.1
#3  0x4000000000004f60 in main (argc=6, argv=0x80000fffffffbe88) at login.c:585

Interestingly, the bug goes away if /bin/login is replaced with a shell
wrapper:

#!/bin/sh

exec /bin/login "$@"

Running login with the exact arguments shown on the local machine does not
cause a segfault.

Telnetting into the machine does not cause a segfault.

-- System Information
Debian Release: testing/unstable
Architecture: ia64
Kernel: Linux butthead 2.4.9-itanium-smp #1 SMP Mon Sep 17 20:48:35 MDT 2001 ia64
Locale: LANG=C, LC_CTYPE=C

Versions of packages login depends on:
ii  libc6.1                       2.2.4-1    GNU C Library: Shared libraries an
ii  libpam-modules                0.72-32    Pluggable Authentication Modules f
ii  libpam0g                      0.72-32    Pluggable Authentication Modules l


---------------------------------------
Received: (at 113508-done) by bugs.debian.org; 12 Apr 2005 20:29:10 +0000
>From bubulle@kheops.frmug.org Tue Apr 12 13:29:10 2005
Return-path: <bubulle@kheops.frmug.org>
Received: from perrier.eu.org (kheops.perrier.eu.org) [81.56.227.253] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DLS0T-0003rg-00; Tue, 12 Apr 2005 13:29:09 -0700
Received: from localhost (localhost [127.0.0.1])
	by kheops.perrier.eu.org (Postfix) with ESMTP id 9323B4F897;
	Tue, 12 Apr 2005 22:28:38 +0200 (CEST)
Received: from kheops.perrier.eu.org ([127.0.0.1])
	by localhost (kheops [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 14042-06; Tue, 12 Apr 2005 22:28:38 +0200 (CEST)
Received: from mykerinos.kheops.frmug.org (mykerinos.kheops.frmug.org [192.168.1.3])
	by kheops.perrier.eu.org (Postfix) with ESMTP id E93094F896;
	Tue, 12 Apr 2005 22:28:37 +0200 (CEST)
Received: by mykerinos.kheops.frmug.org (Postfix, from userid 7426)
	id 829B323270; Tue, 12 Apr 2005 22:28:33 +0200 (CEST)
Date: Tue, 12 Apr 2005 22:28:33 +0200
From: Christian Perrier <bubulle@debian.org>
To: 113508-done@bugs.debian.org, 122186-done@bugs.debian.org,
	143286-done@bugs.debian.org
Subject: Closing old unreproducible bugs
Message-ID: <20050412202833.GN32568@mykerinos.kheops.frmug.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-message-flag: Outlook is a good virus spreading tool. It can send mail, too.
X-pot_a_miel: honeypot@kheops.frmug.org
User-Agent: Mutt/1.5.8i
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at kheops.frmug.org
Delivered-To: 113508-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-0.9 required=4.0 tests=BAYES_00,BLANK_LINES_70_80 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

As announced one week ago.


--