Bugzilla – Attachment 2586 Details for
Bug 2373
memory leak in sshd.c:2262
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
revised patch
sshd_memleak.patch (text/plain), 715 bytes, created by
Jakub Jelen
on 2015-04-15 17:23:49 AEST
(
hide
)
Description:
revised patch
Filename:
MIME Type:
Creator:
Jakub Jelen
Created:
2015-04-15 17:23:49 AEST
Size:
715 bytes
patch
obsolete
>diff --git a/sshd.c b/sshd.c >index e1c767c..ea4e99f 100644 >--- a/sshd.c >+++ b/sshd.c >@@ -1463,6 +1463,7 @@ main(int ac, char **av) > int keytype; > Authctxt *authctxt; > struct connection_info *connection_info = get_connection_info(0, 0); >+ char *addr = NULL; > > #ifdef HAVE_SECUREWARE > (void)set_auth_parameters(ac, av); >@@ -2128,9 +2129,10 @@ main(int ac, char **av) > #endif > > /* Log the connection. */ >+ addr = get_local_ipaddr(sock_in); > verbose("Connection from %s port %d on %s port %d", >- remote_ip, remote_port, >- get_local_ipaddr(sock_in), get_local_port()); >+ remote_ip, remote_port, addr, get_local_port()); >+ free(addr); > > /* > * We don't want to listen forever unless the other side
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2373
:
2577
| 2586