[Bug 2962] New: client leaks ssh context, host_arg and packet.c leaks kex-structure.
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Wed Feb 6 01:09:09 AEDT 2019
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: unassigned-bugs at mindrot.org
Reporter: markus at blueflash.cc
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.
More information about the openssh-bugs
mailing list