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

            Bug ID: 3244
           Summary: ASAN found two memory leaks in sshd.c
           Product: Portable OpenSSH
           Version: -current
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: sshd
          Assignee: [email protected]
          Reporter: [email protected]

An ASAN build of openssh-portable found the following memory leaks in
sshd.c:

(1)
https://github.com/openssh/openssh-portable/blob/master/sshd.c#L249:
auth_opts is never freed.

(2)
https://github.com/openssh/openssh-portable/blob/master/sshd.c#L2363
compat_pkgalg_proposal yields ownership of the returned "char*", which
is never freed thereafter.

Not sure if y'all care about issues like these, so I wanted to check
first.

-- 
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

Reply via email to