(hdb_get_entry): memset ent before passing it into ->hdb_fetch().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18234 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -201,6 +201,8 @@ hdb_get_entry(krb5_context context,
|
||||
const char *dbname = d->dbname;
|
||||
const char *mkey = d->mkey;
|
||||
|
||||
memset(&ent, 0, sizeof(ent));
|
||||
|
||||
if (dbname == NULL)
|
||||
find_db (context, &dbname, &mkey, principal);
|
||||
|
||||
|
Reference in New Issue
Block a user