[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssh-bugs
Subject:    [Bug 3244] New: ASAN found two memory leaks in sshd.c
From:       bugzilla-daemon () mindrot ! org
Date:       2020-12-16 8:54:35
Message-ID: bug-3244-705 () https ! bugzilla ! mindrot ! org/
[Download RAW message or body]

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: unassigned-bugs@mindrot.org
          Reporter: filmil+mindrot@gmail.com

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
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic