summaryrefslogtreecommitdiff
path: root/package/openssh/patches/patch-channels_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/openssh/patches/patch-channels_c')
-rw-r--r--package/openssh/patches/patch-channels_c29
1 files changed, 0 insertions, 29 deletions
diff --git a/package/openssh/patches/patch-channels_c b/package/openssh/patches/patch-channels_c
deleted file mode 100644
index babf434b3..000000000
--- a/package/openssh/patches/patch-channels_c
+++ /dev/null
@@ -1,29 +0,0 @@
---- openssh-5.3p1.orig/channels.c 2009-08-28 03:02:37.000000000 +0200
-+++ openssh-5.3p1/channels.c 2009-12-05 12:10:19.000000000 +0100
-@@ -411,7 +411,7 @@ channel_free(Channel *c)
- if (cc->abandon_cb != NULL)
- cc->abandon_cb(c, cc->ctx);
- TAILQ_REMOVE(&c->status_confirms, cc, entry);
-- bzero(cc, sizeof(*cc));
-+ memset(cc, 0, sizeof(*cc));
- xfree(cc);
- }
- if (c->filter_cleanup != NULL && c->filter_ctx != NULL)
-@@ -2449,7 +2449,7 @@ channel_input_status_confirm(int type, u
- return;
- cc->cb(type, c, cc->ctx);
- TAILQ_REMOVE(&c->status_confirms, cc, entry);
-- bzero(cc, sizeof(*cc));
-+ memset(cc, 0, sizeof(*cc));
- xfree(cc);
- }
-
-@@ -2943,7 +2943,7 @@ channel_connect_ctx_free(struct channel_
- xfree(cctx->host);
- if (cctx->aitop)
- freeaddrinfo(cctx->aitop);
-- bzero(cctx, sizeof(*cctx));
-+ memset(cctx, 0, sizeof(*cctx));
- cctx->host = NULL;
- cctx->ai = cctx->aitop = NULL;
- }