Fix typo which caused import_name to incorrectly import names produced
authorTheodore Tso <tytso@mit.edu>
Mon, 25 May 1998 01:58:46 +0000 (01:58 +0000)
committerTheodore Tso <tytso@mit.edu>
Mon, 25 May 1998 01:58:46 +0000 (01:58 +0000)
by gss_export_name().

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

src/lib/gssapi/krb5/ChangeLog
src/lib/gssapi/krb5/import_name.c

index 0e9f73bea5f4a056130181704515a370d50e5d65..e920542054701308424b375af8dcab4053a7fdaf 100644 (file)
@@ -1,3 +1,9 @@
+Sun May 24 21:57:03 1998  Theodore Y. Ts'o  <tytso@mit.edu>
+
+       * import_name.c (krb5_gss_import_name): Fix typo which caused
+               import_name to incorrectly import names produced by
+               gss_export_name().
+
 1998-05-24  Theodore Ts'o  <tytso@rsts-11.mit.edu>
 
        * copy_ccache.c (gss_krb5_copy_ccache): Fix bugs in copy_ccache.c,
index 74de6181352e1611e41b0b02ca4ffe33fdac50f0..d57144fee44a9649acacf573f83c1340a5d6aa24 100644 (file)
@@ -170,7 +170,7 @@ krb5_gss_import_name(minor_status, input_name_buffer,
         strncpy(tmp2, cp, length);
         tmp2[length] = 0;
         
-        stringrep = tmp;
+        stringrep = tmp2;
      } else {
         return(GSS_S_BAD_NAMETYPE);
       }