summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/clientloop.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2013-09-12 01:41:13 +0000
committerDamien Miller <djm@cvs.openbsd.org>2013-09-12 01:41:13 +0000
commitcc1c34cf1b8a9cf6b53608b44f74b42d9518d3fc (patch)
tree5db66f65469a7dfa23917d37ac48a68633768ac4 /usr.bin/ssh/clientloop.c
parent91c1e300bc7e5a21b635cad70e43084636307e63 (diff)
fix connection crash when sending break (~B) on ControlPersist'd session;
ok dtucker@
Diffstat (limited to 'usr.bin/ssh/clientloop.c')
-rw-r--r--usr.bin/ssh/clientloop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c
index ba6dd36705b..9f6b53b3035 100644
--- a/usr.bin/ssh/clientloop.c
+++ b/usr.bin/ssh/clientloop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clientloop.c,v 1.253 2013/06/07 15:37:52 dtucker Exp $ */
+/* $OpenBSD: clientloop.c,v 1.254 2013/09/12 01:41:12 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1144,7 +1144,7 @@ process_escapes(Channel *c, Buffer *bin, Buffer *bout, Buffer *berr,
"%cB\r\n", escape_char);
buffer_append(berr, string,
strlen(string));
- channel_request_start(session_ident,
+ channel_request_start(c->self,
"break", 0);
packet_put_int(1000);
packet_send();