https://bugzilla.mindrot.org/show_bug.cgi?id=1849
Summary: Memory Leak in authmethod_get
Product: Portable OpenSSH
Version: 5.6p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 1982
--> https://bugzilla.mindrot.org/attachment.cgi?id=1982
SSH Memory Leak Patch
Code inspection revealed a memory leak in the authmethod_get function.
authmethod_get calls the function match_list which in turn creates a
string on the heap and returns it to authmethod_get. authmethod_get
does not free the returned buffer containing the string once it has
finished with it (leaving the string on the heap). The attached patch
fixes this memory leak.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs