[krbdev.mit.edu #9214] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed May 27 19:45:36 EDT 2026


Wed May 27 19:45:36 2026: Request 9214 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=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 <ghudson at mit.edu>
Commit: d4c96c2279855b2064ebef192434382118d101e8
Branch: master
 src/lib/gssapi/mechglue/g_acquire_cred.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)



More information about the krb5-bugs mailing list