krb5 commit [krb5-1.13]: Fix gss_inquire_name() name_is_MN result
Tom Yu
tlyu at mit.edu
Tue Aug 18 17:15:14 EDT 2015
https://github.com/krb5/krb5/commit/6252a27c58f1aebde46436356a3d391e025bf250
commit 6252a27c58f1aebde46436356a3d391e025bf250
Author: Isaac Boukris <iboukris at gmail.com>
Date: Thu Aug 13 02:28:36 2015 +0300
Fix gss_inquire_name() name_is_MN result
Currently name_is_MN is left uninitialized for non-mechanism names due
to a typo.
[ghudson at mit.edu: edited commit message]
(cherry picked from commit a3f3f4069858ea795b732ec1d96fae20d5fafe24)
ticket: 8232
version_fixed: 1.13.3
status: resolved
src/lib/gssapi/mechglue/g_inq_name.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/lib/gssapi/mechglue/g_inq_name.c b/src/lib/gssapi/mechglue/g_inq_name.c
index 915f687..60a3b54 100644
--- a/src/lib/gssapi/mechglue/g_inq_name.c
+++ b/src/lib/gssapi/mechglue/g_inq_name.c
@@ -56,7 +56,7 @@ gss_inquire_name(OM_uint32 *minor_status,
if (union_name->mech_type == GSS_C_NO_OID) {
/* We don't yet support non-mechanism attributes */
if (name_is_MN != NULL)
- name_is_MN = 0;
+ *name_is_MN = 0;
*minor_status = 0;
return GSS_S_COMPLETE;
}
More information about the cvs-krb5
mailing list