https://bugzilla.mindrot.org/show_bug.cgi?id=2962
Bug ID: 2962
Summary: client leaks ssh context, host_arg and packet.c leaks
kex-structure.
Product: Portable OpenSSH
Version: 7.9p1
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5
Component: ssh
Assignee: [email protected]
Reporter: [email protected]
Created attachment 3235
--> https://bugzilla.mindrot.org/attachment.cgi?id=3235&action=edit
client_cleanup.diff
After completing the session, the client leaks the ssh structure and
the host_arg.
Also, on cleanup, packet.c leaks the kex-structure (which is held
inside the ssh struct).
I've also moved host_arg from global to local variable, because it is
only passed to one function.
Patch is attached.
--
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