Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

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@mit.edu>
Commit: d4c96c2279855b2064ebef192434382118d101e8
Branch: master
src/lib/gssapi/mechglue/g_acquire_cred.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)