- djm@cvs.openbsd.org 2013/09/12 01:41:12
[clientloop.c] fix connection crash when sending break (~B) on ControlPersist'd session; ok dtucker@
This commit is contained in:
parent
ff9d6c2a41
commit
70182522a4
|
@ -28,6 +28,10 @@
|
||||||
kerberos support is currently not enabled in ssh in OpenBSD. Discussed with
|
kerberos support is currently not enabled in ssh in OpenBSD. Discussed with
|
||||||
various people; ok deraadt@
|
various people; ok deraadt@
|
||||||
ID SYNC ONLY for portable; kerberos/gssapi is still pretty popular
|
ID SYNC ONLY for portable; kerberos/gssapi is still pretty popular
|
||||||
|
- djm@cvs.openbsd.org 2013/09/12 01:41:12
|
||||||
|
[clientloop.c]
|
||||||
|
fix connection crash when sending break (~B) on ControlPersist'd session;
|
||||||
|
ok dtucker@
|
||||||
|
|
||||||
20130828
|
20130828
|
||||||
- (djm) [openbsd-compat/bsd-snprintf.c] teach our local snprintf code the
|
- (djm) [openbsd-compat/bsd-snprintf.c] teach our local snprintf code the
|
||||||
|
|
|
@ -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>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
|
@ -1153,7 +1153,7 @@ process_escapes(Channel *c, Buffer *bin, Buffer *bout, Buffer *berr,
|
||||||
"%cB\r\n", escape_char);
|
"%cB\r\n", escape_char);
|
||||||
buffer_append(berr, string,
|
buffer_append(berr, string,
|
||||||
strlen(string));
|
strlen(string));
|
||||||
channel_request_start(session_ident,
|
channel_request_start(c->self,
|
||||||
"break", 0);
|
"break", 0);
|
||||||
packet_put_int(1000);
|
packet_put_int(1000);
|
||||||
packet_send();
|
packet_send();
|
||||||
|
|
Loading…
Reference in New Issue