[krbdev.mit.edu #9204] git commit

"Greg Hudson via RT" <[email protected]> Fri, 10 Apr 2026 19:52:28 -0400
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9204 >


Fix memory leak in gss_acquire_cred_from()

If gss_acquire_cred_from() is used with the krb5 mech and the verify
option (added in commit adbf73c507f383380c55d2ba9fa1ad6f30545bec), and
verification fails, make sure to free the credential we obtained
before returning.  Reported by Evgeny Shemyakin.

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