[krbdev.mit.edu #9216] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed May 27 20:08:49 EDT 2026


Wed May 27 20:08:49 2026: Request 9216 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  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 <ghudson at mit.edu>
Commit: 15a8dea777012268311c106e08d324acdfd8b13c
Branch: master
 src/lib/gssapi/mechglue/g_glue.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)



More information about the krb5-bugs mailing list