projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3808f64
)
Fix so that the kdb5_entry structure is clered before we start filling
author
Theodore Tso
<tytso@mit.edu>
Thu, 24 Sep 1992 23:09:45 +0000
(23:09 +0000)
committer
Theodore Tso
<tytso@mit.edu>
Thu, 24 Sep 1992 23:09:45 +0000
(23:09 +0000)
it in.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2386
dc483132
-0cff-0310-8789-
dd5450dbe970
src/admin/create/kdb5_create.c
patch
|
blob
|
history
diff --git
a/src/admin/create/kdb5_create.c
b/src/admin/create/kdb5_create.c
index 168a0030e1983fe710308bbaa150eee2cb69caf6..9d1069025bd6f2b6f0ef26fea3ac295aa1ef6076 100644
(file)
--- 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;