diff options
author | 2008-07-10 18:05:58 +0000 | |
---|---|---|
committer | 2008-07-10 18:05:58 +0000 | |
commit | 7ac1f486522af4195d2eda0bed1bb37245662c88 (patch) | |
tree | 56f7feb249feefb21da4796c784afcf38717d07c /usr.bin/ssh | |
parent | Fix "etc source" output when not using a tarball (diff) | |
download | wireguard-openbsd-7ac1f486522af4195d2eda0bed1bb37245662c88.tar.xz wireguard-openbsd-7ac1f486522af4195d2eda0bed1bb37245662c88.zip |
missing bzero; from mickey; ok djm@
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/channels.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c index 50f01b9fb0d..3fdf8471898 100644 --- a/usr.bin/ssh/channels.c +++ b/usr.bin/ssh/channels.c @@ -1,4 +1,4 @@ -/* $OpenBSD: channels.c,v 1.282 2008/06/16 13:22:53 dtucker Exp $ */ +/* $OpenBSD: channels.c,v 1.283 2008/07/10 18:05:58 markus Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -2847,6 +2847,7 @@ connect_to(const char *host, u_short port, char *ctype, char *rname) return NULL; } + memset(&cctx, 0, sizeof(cctx)); cctx.host = xstrdup(host); cctx.port = port; cctx.ai = cctx.aitop; |