memset salt before copy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24988 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -65,6 +65,7 @@ kadm5_s_rename_principal(void *server_handle,
|
||||
int i;
|
||||
Salt salt;
|
||||
krb5_salt salt2;
|
||||
memset(&salt, 0, sizeof(salt));
|
||||
krb5_get_pw_salt(context->context, source, &salt2);
|
||||
salt.type = hdb_pw_salt;
|
||||
salt.salt = salt2.saltvalue;
|
||||
|
Reference in New Issue
Block a user