[krbdev.mit.edu #9216] git commit

"Greg Hudson via RT" <[email protected]> Wed, 27 May 2026 20:08:49 -0400
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
Wed May 27 20:08:49 2026: Request 9216 was acted upon.
 Transaction: Ticket created by [email protected]
       Queue: krb5
     Subject: git commit
       Owner: [email protected]
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9216 >



Always copy mech name_type for GSS union names

In gssint_convert_name_to_union_name(), make a copy of the name_type
OID yielded by the mechanism's gss_display_name(), as it will later be
released with gss_release_oid().  We usually get away with not copying
the name type because gss_release_oid() usually ignores static
mechanism OIDs, but this property is fragile (it relies on mechanisms
implementing gss_internal_release_oid()).

Reported by Daniel Sands.

https://github.com/krb5/krb5/commit/15a8dea777012268311c106e08d324acdfd8b13c
Author: Greg Hudson <[email protected]>
Commit: 15a8dea777012268311c106e08d324acdfd8b13c
Branch: master
 src/lib/gssapi/mechglue/g_glue.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)