]> andersk Git - openssh.git/blobdiff - channels.c
- markus@cvs.openbsd.org 2008/07/10 18:05:58
[openssh.git] / channels.c
index ac5134b5ba43e6c83d8092d67085d3fd9f5f4025..9f27fa632c648996aadbbd8185cb8f6fc913adf9 100644 (file)
@@ -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;
This page took 0.032069 seconds and 4 git commands to generate.