[Bug 2982] New: gssapi_cleanup: supported mechs should be freed via gss_release_oid_set

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Mar 15 20:37:26 AEDT 2019


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: unassigned-bugs at mindrot.org
          Reporter: markus at blueflash.cc

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.


More information about the openssh-bugs mailing list