From 167d11827e98f6eaac59fe83e847b7e766063ff3 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 24 Sep 1992 23:09:45 +0000 Subject: [PATCH] Fix so that the kdb5_entry structure is clered before we start filling it in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2386 dc483132-0cff-0310-8789-dd5450dbe970 --- src/admin/create/kdb5_create.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/admin/create/kdb5_create.c b/src/admin/create/kdb5_create.c index 168a0030e..9d1069025 100644 --- a/src/admin/create/kdb5_create.c +++ b/src/admin/create/kdb5_create.c @@ -299,6 +299,7 @@ struct realm_info *pblock; krb5_keyblock *rkey; int nentries = 1; + memset((char *) &entry, 0, sizeof(entry)); entry.principal = princ; entry.kvno = 0; entry.max_life = pblock->max_life; -- 2.26.2