[krbdev.mit.edu #9269] git commit

Greg Hudson via RT rt at krbdev.mit.edu
Mon Nov 9 12:03:08 EST 2026


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


Fix leak on krb5 gss_accept_sec_context() failure

In kg_accept_krb5(), properly release deleg_cred when cleaning up
after a failure.  Reported by Moritz Theile.

[Backport note: kg_release_cred() does not exist in the krb5-1.22
branch; awkwardly use krb5_gss_release_cred() instead.]

(cherry picked from commit 2eaa2f0334808bf491fcaab005586bf1da29cf83)

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



More information about the krb5-bugs mailing list