From 2f3dbb812bd88f28f4dd7480e03c4b0d09172083 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 8 May 1990 13:13:38 +0000 Subject: [PATCH] zero out the contents before freeing git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@774 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/keytab/ktfr_entry.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/krb5/keytab/ktfr_entry.c b/src/lib/krb5/keytab/ktfr_entry.c index df2ab4c6e..f8349c83f 100644 --- 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; } -- 2.26.2