[Bug 2952] New: GSSAPI doesn't cleanup methoddata (leaks some memory).

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Jan 8 21:35:23 AEDT 2019


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

            Bug ID: 2952
           Summary: GSSAPI doesn't cleanup methoddata (leaks some memory).
           Product: Portable OpenSSH
           Version: 7.9p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Kerberos support
          Assignee: unassigned-bugs at mindrot.org
          Reporter: markus at blueflash.cc

userauth_gssapi allocates a bit of memory for the authctxt->methoddata
pointer but doesn't clean up.

Side issue: userauth_gssapi is also using two function-static
variables.  One of these leaks.  The other one makes prevents
reusability (e.g. porting to OO languages) because there is no way to
reset it.  They should be moved to authctxt.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list