From ddf1dc0ea711bb9a8d11f668355359c1afdbbabd Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Mon, 25 May 1998 01:58:46 +0000 Subject: [PATCH] Fix typo which caused import_name to incorrectly import names produced by gss_export_name(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10579 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/ChangeLog | 6 ++++++ src/lib/gssapi/krb5/import_name.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index 0e9f73bea..e92054205 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -1,3 +1,9 @@ +Sun May 24 21:57:03 1998 Theodore Y. Ts'o + + * 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 * copy_ccache.c (gss_krb5_copy_ccache): Fix bugs in copy_ccache.c, diff --git a/src/lib/gssapi/krb5/import_name.c b/src/lib/gssapi/krb5/import_name.c index 74de61813..d57144fee 100644 --- a/src/lib/gssapi/krb5/import_name.c +++ b/src/lib/gssapi/krb5/import_name.c @@ -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); } -- 2.26.2