projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6ec805
)
zero out the contents before freeing
author
John Kohl
<jtkohl@mit.edu>
Tue, 8 May 1990 13:13:38 +0000
(13:13 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Tue, 8 May 1990 13:13:38 +0000
(13:13 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@774
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/keytab/ktfr_entry.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/keytab/ktfr_entry.c
b/src/lib/krb5/keytab/ktfr_entry.c
index df2ab4c6e77c7058f87e2135f7a696fdffa2f437..f8349c83fb827d81f549352c8fa014711e95a0ab 100644
(file)
--- a/
src/lib/krb5/keytab/ktfr_entry.c
+++ b/
src/lib/krb5/keytab/ktfr_entry.c
@@
-24,6
+24,7
@@
krb5_kt_free_entry (entry)
krb5_keytab_entry *entry;
{
krb5_free_principal(entry->principal);
+ bzero((char *)entry->key.contents, entry->key.length);
xfree(entry->key.contents);
return 0;
}