[krbdev.mit.edu #9220] git commit

Greg Hudson via RT rt at krbdev.mit.edu
Mon Aug 31 22:48:17 EDT 2026


<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9220 >


Check for empty forwarded creds in krb5 GSS mech

In rd_and_store_for_creds(), do not dereference the first element of
the forwarded credential list if it is empty.  In addition, if an
application passes a null delegated_cred_handle to
gss_accept_sec_context(), do not call krb5_rd_cred() in the krb5 GSS
mech.

(cherry picked from commit 690cbe7d9b6d095cbeb77fe3e4d0c910f97bbb3e)

https://github.com/krb5/krb5/commit/71bac89803b614701491dbe52db556fc99a370fa
Author: Greg Hudson <ghudson at mit.edu>
Commit: 71bac89803b614701491dbe52db556fc99a370fa
Branch: krb5-1.22
 src/lib/gssapi/krb5/accept_sec_context.c | 70 +++++++++++++-------------------
 1 file changed, 29 insertions(+), 41 deletions(-)



More information about the krb5-bugs mailing list