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

Bug#80385: marked as done (libc6: rexec Segfault)



Your message dated Sat, 20 Dec 2003 23:16:24 -0500
with message-id <1071980184.6616.12.camel@outpost.dnsalias.org>
and subject line Not a bug
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; 23 Dec 2000 15:45:34 +0000
>From h-yamamo@db3.so-net.ne.jp Sat Dec 23 09:45:34 2000
Return-path: <h-yamamo@db3.so-net.ne.jp>
Received: from mgate03.so-net.ne.jp [210.139.254.150] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 149qrV-00054H-00; Sat, 23 Dec 2000 09:45:34 -0600
Received: from mail.db3.so-net.ne.jp (mail.db3.so-net.ne.jp [210.139.254.38])
	by mgate03.so-net.ne.jp (8.8.8+3.0Wbeta9/3.6W00122022) with ESMTP id AAA08985
	for <submit@bugs.debian.org>; Sun, 24 Dec 2000 00:45:27 +0900 (JST)
Received: from hello (linux@p849968.knz2.ap.so-net.ne.jp [210.132.153.104])
	by mail.db3.so-net.ne.jp (8.8.8/3.7W99081617) with ESMTP id AAA01711
	for <submit@bugs.debian.org>; Sun, 24 Dec 2000 00:45:25 +0900 (JST)
Date: Sun, 24 Dec 2000 00:45:17 +0900
Message-ID: <86d7ejp2eq.wl@hiroyuki.yamamori>
From: Hiroyuki YAMAMORI <h-yamamo@db3.so-net.ne.jp>
To: submit@bugs.debian.org
Subject: libc6: rexec Segfault
User-Agent: Wanderlust/2.2.15 (More Than Words) EMIKO/1.13.9 (Euglena tripteris) FLIM/1.13.2 (Kasanui) APEL/10.2 MULE XEmacs/21.1 (patch 10) (Capitol Reef) (i386-debian-linux)
MIME-Version: 1.0 (generated by EMIKO 1.13.9 - "Euglena tripteris")
Content-Type: text/plain; charset=US-ASCII
X-Dispatcher: imput version 991025(IM133)
Lines: 36
Delivered-To: submit@bugs.debian.org

Package: libc6
Version: 2.1.3-13
Severity: normal

conditions: no $HOME/.netrc, no REXEC_USER / REXEC_PASS env.

  $ rexec remotehost command
  Segmentation fault

an easy solution:
--- glibc-2.1.3/inet/rexec.c.orig	Sat Jul  3 03:11:40 1999
+++ glibc-2.1.3/inet/rexec.c	Sat Dec 23 13:25:22 2000
@@ -85,6 +85,10 @@
 
 	*ahost = hp->h_name;
 	ruserpass(hp->h_name, &name, &pass);
+	if (name == NULL)
+		orig_name = name = "";
+	if (pass == NULL)
+		orig_pass = pass = "";
 retry:
 	s = __socket(AF_INET, SOCK_STREAM, 0);
 	if (s < 0) {

same problem exists in glibc-2.2 / woody.

Thanks,
--
Hiroyuki YAMAMORI <h-yamamo@db3.so-net.ne.jp>

-- System Information
Debian Release: 2.2
Kernel Version: Linux myhost 2.4.0-test9 #1 Mon Oct 30 21:52:52 JST 2000 i686 unknown

Versions of the packages libc6 depends on:
ii  ldso           1.9.11-9       The Linux dynamic linker, library and utilit

---------------------------------------
Received: (at 80385-done) by bugs.debian.org; 21 Dec 2003 04:59:03 +0000
>From jbailey@nisa.net Sat Dec 20 22:59:02 2003
Return-path: <jbailey@nisa.net>
Received: from fep01-mail.bloor.is.net.cable.rogers.com [66.185.86.71] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AXv0z-0001cI-00; Sat, 20 Dec 2003 22:16:25 -0600
Received: from hosts ([65.49.88.87])
          by fep01-mail.bloor.is.net.cable.rogers.com
          (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP
          id <20031221041442.NXHS209430.fep01-mail.bloor.is.net.cable.rogers.com@hosts>
          for <80385-done@bugs.debian.org>; Sat, 20 Dec 2003 23:14:42 -0500
Subject: Not a bug
From: Jeff Bailey <jbailey@nisa.net>
To: 80385-done@bugs.debian.org
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-n+Hr5o7PexNcPfuzf6Qm"
Message-Id: <1071980184.6616.12.camel@outpost.dnsalias.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sat, 20 Dec 2003 23:16:24 -0500
X-Authentication-Info: Submitted using SMTP AUTH PLAIN at fep01-mail.bloor.is.net.cable.rogers.com from [65.49.88.87] using ID <jbailey01@rogers.com> at Sat, 20 Dec 2003 23:14:41 -0500
Delivered-To: 80385-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=0.0 required=4.0 tests=none autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15
X-Spam-Level: 


--=-n+Hr5o7PexNcPfuzf6Qm
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Glibc functions expect people to check parameters before handing them in
- segfaulting is an appropriate answer here.  Closing this bug.

Tks,
Jeff Bailey

--=20
In the United States, there isn't a government database that hasn't been
misused by the very people entrusted with keeping its information safe.
 - Bruce Schneier

--=-n+Hr5o7PexNcPfuzf6Qm
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQA/5R6Y5M5hmdCYCpkRAs5hAJ9D+s2a7wkMfT8ZMu6oY92uvWO4tACglmPi
G3JXhtw4PFvatJMZQqVffko=
=TZV3
-----END PGP SIGNATURE-----

--=-n+Hr5o7PexNcPfuzf6Qm--



Reply to: