From owner-freebsd-bugs Mon Oct 29 14:40: 7 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EBC9037B401 for ; Mon, 29 Oct 2001 14:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9TMe2B90286; Mon, 29 Oct 2001 14:40:02 -0800 (PST) (envelope-from gnats) Date: Mon, 29 Oct 2001 14:40:02 -0800 (PST) Message-Id: <200110292240.f9TMe2B90286@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: ryan beasley Subject: Re: bin/31457: OpenSSH 2.9 login(1) support broken Reply-To: ryan beasley Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/31457; it has been noted by GNATS. From: ryan beasley To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: bin/31457: OpenSSH 2.9 login(1) support broken Date: Mon, 29 Oct 2001 16:38:52 -0600 --JP+T4n/bALQSJXh8 Content-Type: multipart/mixed; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I initially mailed my patch to the wrong parties 2001.10.24. Sorry 'bout that. > You just gotta love pointer initialization. After poking around for > a bit, I modified session.c to take care of proper declaration of > **env. This will now call the initialization code at > session.c:1128. :) --=20 ryan beasley professional fat bastard http://www.goddamnbastard.org GPG Key ID 0x36321D13 with fingerprint 2074 CEB8 68AD 351A 85E6 98EB 09BA 36D9 3632 1D13 --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch --- src/crypto/openssh/session.c.orig Wed Oct 24 00:35:57 2001 +++ src/crypto/openssh/session.c Wed Oct 24 00:36:26 2001 @@ -1003,7 +1003,7 @@ char cmd[1024]; FILE *f = NULL; u_int envsize, i; - char **env; + char **env = NULL; extern char **environ; struct stat st; char *argv[10]; --0OAP2g/MAC+5xKAE-- --JP+T4n/bALQSJXh8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE73dp7Cbo22TYyHRMRArTpAJ9RhyMVll6vi3pXiL2JsZzDt880KgCfbeiF oew/TAvIqWMU+J5ifmQAxWg= =r9mY -----END PGP SIGNATURE----- --JP+T4n/bALQSJXh8-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message