Date: Wed, 24 Oct 2001 01:02:16 -0500 From: ryan beasley <ryanb@goddamnbastard.org> To: stable@FreeBSD.org, Matthew L Creech <gte733p@prism.gatech.edu>, green@FreeBSD.org Subject: Re: sshd core dump Message-ID: <20011024010216.B509@bjorn.goddamnbastard.org> In-Reply-To: <20011017205017.A9625@bjorn.goddamnbastard.org>; from ryanb@goddamnbastard.org on Wed, Oct 17, 2001 at 08:50:17PM -0500 References: <3BBA7E1E.931F087D@prism.gatech.edu> <20011017205017.A9625@bjorn.goddamnbastard.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Wed, Oct 17, 2001 at 08:50:17PM -0500, ryan beasley wrote:
> Anywho, here's some information that will hopefully help some
> people. If any more specifics are required, I'm up for any
> assistance I could provide.
Sorry for replying to myself, but I drafted this little "patch" that
should take care of the segfault in session.c. After thinking about
this for a bit, it probably should've been _really_ obvious to me
after the first lookover ...
--- 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];
--
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org
iD8DBQE71llnCbo22TYyHRMRAkENAKCo3sJbGaOwOaZeov8y6kBjelNdHACgm3VH
vNCz/MRInh+wbQ016cby9to=
=SZ7N
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011024010216.B509>
