Bugzilla – Attachment 2577 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]
patch
memleak_6.8.patch (text/plain), 675 bytes, created by
Jakub Jelen
on 2015-03-28 02:20:20 AEDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Jakub Jelen
Created:
2015-03-28 02:20:20 AEDT
Size:
675 bytes
patch
obsolete
>diff --git a/sshd.c b/sshd.c >index e1c767c..b6682af 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); >@@ -2130,7 +2131,8 @@ main(int ac, char **av) > /* Log the connection. */ > verbose("Connection from %s port %d on %s port %d", > remote_ip, remote_port, >- get_local_ipaddr(sock_in), get_local_port()); >+ (addr = get_local_ipaddr(sock_in)), get_local_port()); >+ xfree(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