Mailing List Archive

[PATCH] userauth_gssapi_cleanup: supported mechs should be freed via gss_release_oid_set

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.


Markus Schmidt