Initialize "loopback" field in newly allocated name structure
authorKen Raeburn <raeburn@mit.edu>
Thu, 22 Feb 2007 22:57:34 +0000 (22:57 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 22 Feb 2007 22:57:34 +0000 (22:57 +0000)
ticket: 5445
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19170 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/mechglue/g_canon_name.c

index 676810cb3b0275b5ae4d9056def48645bd4eb133..9f72055b3850ae708add86b32b46992ce8861e91 100644 (file)
@@ -96,6 +96,7 @@ gss_name_t *output_name;
                out_union->mech_name = 0;
                out_union->name_type = 0;
                out_union->external_name = 0;
+               out_union->loopback = out_union;
 
                /* Allocate the buffer for the user specified representation */
                if (gssint_create_copy_buffer(in_union->external_name,