krb5 commit: Fix gss_inquire_name() name_is_MN result

Greg Hudson ghudson at mit.edu
Thu Aug 13 12:11:15 EDT 2015


https://github.com/krb5/krb5/commit/a3f3f4069858ea795b732ec1d96fae20d5fafe24
commit a3f3f4069858ea795b732ec1d96fae20d5fafe24
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]
    
    ticket: 8232 (new)
    target_version: 1.13.3
    tags: pullup

 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