diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | clientloop.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -19,6 +19,11 @@ | |||
19 | [sshconnect.c] | 19 | [sshconnect.c] |
20 | fix terminology: we didn't find a certificate in known_hosts, we found | 20 | fix terminology: we didn't find a certificate in known_hosts, we found |
21 | a CA key | 21 | a CA key |
22 | - djm@cvs.openbsd.org 2010/04/10 02:08:44 | ||
23 | [clientloop.c] | ||
24 | bz#1698: kill channel when pty allocation requests fail. Fixed | ||
25 | stuck client if the server refuses pty allocation. | ||
26 | ok dtucker@ "think so" markus@ | ||
22 | 27 | ||
23 | 20100410 | 28 | 20100410 |
24 | - (dtucker) [configure.ac] Put the check for the existence of getaddrinfo | 29 | - (dtucker) [configure.ac] Put the check for the existence of getaddrinfo |
diff --git a/clientloop.c b/clientloop.c index 9ab56b44c..76de37213 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: clientloop.c,v 1.219 2010/03/13 21:10:38 djm Exp $ */ | 1 | /* $OpenBSD: clientloop.c,v 1.220 2010/04/10 02:08:44 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1912,7 +1912,7 @@ client_session2_setup(int id, int want_tty, int want_subsystem, | |||
1912 | memset(&ws, 0, sizeof(ws)); | 1912 | memset(&ws, 0, sizeof(ws)); |
1913 | 1913 | ||
1914 | channel_request_start(id, "pty-req", 1); | 1914 | channel_request_start(id, "pty-req", 1); |
1915 | client_expect_confirm(id, "PTY allocation", 0); | 1915 | client_expect_confirm(id, "PTY allocation", 1); |
1916 | packet_put_cstring(term != NULL ? term : ""); | 1916 | packet_put_cstring(term != NULL ? term : ""); |
1917 | packet_put_int((u_int)ws.ws_col); | 1917 | packet_put_int((u_int)ws.ws_col); |
1918 | packet_put_int((u_int)ws.ws_row); | 1918 | packet_put_int((u_int)ws.ws_row); |