From owner-freebsd-current Wed Jan 1 21:22:53 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A100C37B401; Wed, 1 Jan 2003 21:22:52 -0800 (PST) Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DDD543EC2; Wed, 1 Jan 2003 21:22:52 -0800 (PST) (envelope-from mbsd@pacbell.net) Received: from atlas ([64.160.45.11]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 HotFix 1.6 (built Oct 18 2002)) with ESMTP id <0H8200K7TMXVTP@mta6.snfc21.pbi.net>; Wed, 01 Jan 2003 21:22:52 -0800 (PST) Date: Wed, 01 Jan 2003 21:22:40 -0800 (PST) From: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= Subject: Re: rshd and/or pan_setenv() broken In-reply-to: <20030102155200.X65628-100000@gamplex.bde.org> X-X-Sender: mikko@atlas.home To: Bruce Evans Cc: current@freebsd.org, des@freebsd.org Message-id: <20030101212126.N18514-100000@atlas.home> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG See . $.02, /Mikko On Thu, 2 Jan 2003, Bruce Evans wrote: > rshd now gets killed by signal 11 in pam_putenv() when > pam_setenv("HOME", ...) is called for "rsh localhost ls". > The registers for pamh->env and i are both 0 in free(pamh->env[i]), > although this can't happen since pamh->env[0] must have been accessed > in openpam_findenv() to get to the free(). > > "rsh localhost" and "rlogin localhost" still work. A statically > linked rshd from last June still works. > > Bruce > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message