[Bug 2773] Potential segfault from ssh_remote_ipaddr()

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Sep 5 10:13:47 AEST 2017


https://bugzilla.mindrot.org/show_bug.cgi?id=2773

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
None of the packet layer functions work after the connection has been
freed.

I think the main problem here is that sshd is calling
audit_event(SSH_CONNECTION_ABANDON) and you seem to have patched
audit-linux.c to try to handle that case. You should handle it
separately, e.g. calling it early or skipping the ssh_remote_ipaddr()
call.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list