summaryrefslogtreecommitdiff
path: root/package/openssh/patches/patch-clientloop_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-09-26 09:43:33 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-09-26 09:43:33 +0200
commitb90cc7f1ad47a02d811f45b1b6fa0c5fc5bf0edf (patch)
tree74a7f0dcea7f3c1c9e4d4edbfa8f52b2d2f38321 /package/openssh/patches/patch-clientloop_c
parent418f934071ec5fc3afc1540df2c2ed27b676f306 (diff)
parentbb813d480b00ed42f1e59b760b6433f4ad96bcde (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/openssh/patches/patch-clientloop_c')
-rw-r--r--package/openssh/patches/patch-clientloop_c20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/openssh/patches/patch-clientloop_c b/package/openssh/patches/patch-clientloop_c
new file mode 100644
index 000000000..1da1d31c9
--- /dev/null
+++ b/package/openssh/patches/patch-clientloop_c
@@ -0,0 +1,20 @@
+--- openssh-5.2p1.orig/clientloop.c 2009-02-14 06:28:21.000000000 +0100
++++ openssh-5.2p1/clientloop.c 2009-09-18 12:28:59.000000000 +0200
+@@ -487,7 +487,7 @@ client_global_request_reply(int type, u_
+ gc->cb(type, seq, gc->ctx);
+ if (--gc->ref_count <= 0) {
+ TAILQ_REMOVE(&global_confirms, gc, entry);
+- bzero(gc, sizeof(*gc));
++ memset(gc, 0, sizeof(*gc));
+ xfree(gc);
+ }
+
+@@ -768,7 +768,7 @@ process_cmdline(void)
+ int cancel_port;
+ Forward fwd;
+
+- bzero(&fwd, sizeof(fwd));
++ memset(&fwd, 0, sizeof(fwd));
+ fwd.listen_host = fwd.connect_host = NULL;
+
+ leave_raw_mode();