Date: Mon, 29 Oct 2001 14:40:02 -0800 (PST) From: ryan beasley <ryanb@goddamnbastard.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/31457: OpenSSH 2.9 login(1) support broken Message-ID: <200110292240.f9TMe2B90286@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/31457; it has been noted by GNATS. From: ryan beasley <ryanb@goddamnbastard.org> 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 <ryanb@goddamnbastard.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110292240.f9TMe2B90286>