[krbdev.mit.edu #9214] git commit

"Greg Hudson via RT" <[email protected]> Wed, 27 May 2026 19:45:36 -0400
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
Wed May 27 19:45:36 2026: Request 9214 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=9214 >



Fix gss_add_cred() extension fallback path

In copy_mech_cred(), if we fall back to using the mechanism's
gss_inquire_cred() and gss_acquire_cred(), correctly release the
mechanism name, and map the minor status if a mechanism call fails.
Reported by Daniel Sands.

This helper function is only reached if an application calls
gss_add_cred() with non-null input_cred_handle and output_cred_handle.
It was introduced in commit 288cbada833dc6af7d43dd308563b48b73347dfb
(ticket 8734).

https://github.com/krb5/krb5/commit/d4c96c2279855b2064ebef192434382118d101e8
Author: Greg Hudson <[email protected]>
Commit: d4c96c2279855b2064ebef192434382118d101e8
Branch: master
 src/lib/gssapi/mechglue/g_acquire_cred.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)