Bugreport: OpenSSH-1.2.2 Server for Linux (glibc 2.1.2)

Damien Miller djm at mindrot.org
Thu Feb 3 12:17:34 EST 2000


On Wed, 2 Feb 2000, Stefan Heinrichs wrote:

> Hi,
> 
> I would like to report a bug in OpenSSH-1.2.2 (release) under Linux.
> 
> Under certain conditions the sshd client process segfaults while doing
> the password authentification. I have observed the behaviour with

This has been fixed:

Index: sshd.c
===================================================================
RCS file: /var/cvs/openssh/sshd.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- sshd.c	2000/01/26 00:07:22	1.55
+++ sshd.c	2000/02/02 14:07:08	1.56
@@ -1524,8 +1524,10 @@
 			return;
 		}
 
-		if (client_user != NULL)
+		if (client_user != NULL) {
 			xfree(client_user);
+			client_user = NULL;
+		}
 
 		if (attempt > AUTH_FAIL_MAX)
 			packet_disconnect(AUTH_FAIL_MSG, pw->pw_name);


-d
 

--
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)








More information about the openssh-unix-dev mailing list