diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2020-09-16 03:07:31 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2020-09-16 14:21:53 +1000 |
commit | d6f507f37e6c75a899db0ef8224e72797c5563b6 (patch) | |
tree | 3e1ff627377cc01a2873a209545874de5a909471 | |
parent | c3c786c3a0973331ee0922b2c51832a3b8d7f20f (diff) |
upstream: Remove unused buf, last user was removed when switching
to the sshbuf API. Patch from Sebastian Andrzej Siewior.
OpenBSD-Commit-ID: 250fa17f0cec01039cc4abd95917d9746e24c889
-rw-r--r-- | clientloop.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clientloop.c b/clientloop.c index c82b084da..60b46d161 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: clientloop.c,v 1.345 2020/07/03 05:09:06 dtucker Exp $ */ | 1 | /* $OpenBSD: clientloop.c,v 1.346 2020/09/16 03:07:31 dtucker 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 |
@@ -1238,7 +1238,6 @@ client_loop(struct ssh *ssh, int have_pty, int escape_char_arg, | |||
1238 | int r, max_fd = 0, max_fd2 = 0, len; | 1238 | int r, max_fd = 0, max_fd2 = 0, len; |
1239 | u_int64_t ibytes, obytes; | 1239 | u_int64_t ibytes, obytes; |
1240 | u_int nalloc = 0; | 1240 | u_int nalloc = 0; |
1241 | char buf[100]; | ||
1242 | 1241 | ||
1243 | debug("Entering interactive session."); | 1242 | debug("Entering interactive session."); |
1244 | 1243 | ||
@@ -1467,7 +1466,6 @@ client_loop(struct ssh *ssh, int have_pty, int escape_char_arg, | |||
1467 | } | 1466 | } |
1468 | 1467 | ||
1469 | /* Clear and free any buffers. */ | 1468 | /* Clear and free any buffers. */ |
1470 | explicit_bzero(buf, sizeof(buf)); | ||
1471 | sshbuf_free(stderr_buffer); | 1469 | sshbuf_free(stderr_buffer); |
1472 | 1470 | ||
1473 | /* Report bytes transferred, and transfer rates. */ | 1471 | /* Report bytes transferred, and transfer rates. */ |