search for: abandon_cb

Displaying 3 results from an estimated 3 matches for "abandon_cb".

2020 Jun 30
7
[Bug 3189] New: channel mux_ctx memory leak
...hannel_free(struct ssh *ssh, Channel *c) c->path = NULL; free(c->listening_addr); c->listening_addr = NULL; + free(c->mux_ctx); + c->mux_ctx = NULL; while ((cc = TAILQ_FIRST(&c->status_confirms)) != NULL) { if (cc->abandon_cb != NULL) cc->abandon_cb(ssh, c, cc->ctx); -- You are receiving this mail because: You are watching the assignee of the bug.
2012 Dec 21
0
File Attachments for previous bug report
...- bzero(a4, sizeof(*a4)); + memset(a4, 0, sizeof(*a4)); a4->sin_family = AF_INET; *len = sizeof(*a4); -------------- next part -------------- --- channels.c.orig 2012-12-19 17:14:18.911938266 -0800 +++ channels.c 2012-12-19 17:15:04.724553211 -0800 @@ -425,7 +425,7 @@ 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) @@ -2667,7 +2667,7 @@ return;...
2012 Dec 20
4
Deprecated calls to bzero() and index() found in OpenSSH 6.1p1
...'channels.c', I've replaced the bzero() calls with the equivalent memset() calls. The patch file is below in (diff -u) format: --- channels.c.orig 2012-12-19 17:14:18.911938266 -0800 +++ channels.c 2012-12-19 17:15:04.724553211 -0800 @@ -425,7 +425,7 @@ 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...