summaryrefslogtreecommitdiffstats
path: root/channels.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2008-07-11 09:35:37 +0200
committerDamien Miller <djm@mindrot.org>2008-07-11 09:35:37 +0200
commitdda5fffb847cd98164cb4020e3287a9960c37aaa (patch)
treeb601dfb9ab2f693bbca70612637294e4bcbb3b7f /channels.c
parent - stevesk@cvs.openbsd.org 2008/07/07 23:32:51 (diff)
downloadopenssh-dda5fffb847cd98164cb4020e3287a9960c37aaa.tar.xz
openssh-dda5fffb847cd98164cb4020e3287a9960c37aaa.zip
- markus@cvs.openbsd.org 2008/07/10 18:05:58
[channels.c] missing bzero; from mickey; ok djm@
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels.c b/channels.c
index ac5134b5b..9f27fa632 100644
--- a/channels.c
+++ b/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
@@ -2875,6 +2875,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;