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

            Bug ID: 2982
           Summary: gssapi_cleanup: supported mechs should be freed via
                    gss_release_oid_set
           Product: Portable OpenSSH
           Version: 7.9p1
          Hardware: All
                OS: Windows 10
            Status: NEW
          Severity: normal
          Priority: P5
         Component: ssh
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 3254
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3254&action=edit
free 'supported mechs' through gss_release_oid_set() call

Attached is a small patch that should be applied before the 8.0
release.

It fixes a problem with a recent patch (authored by me), where
gssapi_cleanup was introduced and gssapi resources are freed.

It turns out that the supported_mechs should not be just freed but
instead freed through gss_release_oid_set.

The error is probably irrelevant in the *ix/bsd environments, but
turned out to be an error under Windows if a dynamic lib (gssapi.dll)
from MIT Kerbereros is used.

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