From 109607a355ac53d695537766994fbbbd98ef2433 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Thu, 14 Jul 2011 17:12:02 -0500 Subject: [PATCH] Fix uninitialized variable. --- lib/hdb/keys.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/hdb/keys.c b/lib/hdb/keys.c index 94e4f487a..0800af8d1 100644 --- a/lib/hdb/keys.c +++ b/lib/hdb/keys.c @@ -384,7 +384,8 @@ hdb_generate_key_set(krb5_context context, krb5_principal principal, int n_ks_tuple, krb5_key_salt_tuple *ks_tuple, Key **ret_key_set, size_t *nkeyset, int no_salt) { - char **ktypes, **kp; + char **ktypes = NULL; + char **kp; krb5_error_code ret; Key *k, *key_set; size_t i, j;