krb5_kt_next_entry() needs to operate on a zero'd krb5_keytab_entry.

This commit is contained in:
Roland C. Dowdeswell
2017-04-21 00:26:07 -04:00
committed by Nico Williams
parent dcd3e45e02
commit 2e01930cf7

View File

@@ -823,6 +823,7 @@ krb5_kt_next_entry(krb5_context context,
id->prefix);
return HEIM_ERR_OPNOTSUPP;
}
memset(entry, 0x0, sizeof(*entry));
return (*id->next_entry)(context, id, entry, cursor);
}