From 75cdaa4c84485bccb27ad6e09281248077b243c3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 22 Jul 2008 18:34:14 +0200 Subject: hdb-ldb: fix crash bug in the error path metze (This used to be commit ac02d6a0f765e3b66fb6796f129edb1a348ecd84) --- source4/kdc/hdb-ldb.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/kdc/hdb-ldb.c') diff --git a/source4/kdc/hdb-ldb.c b/source4/kdc/hdb-ldb.c index 70e578ee0d..8c5a1f53e9 100644 --- a/source4/kdc/hdb-ldb.c +++ b/source4/kdc/hdb-ldb.c @@ -325,6 +325,7 @@ static krb5_error_code LDB_message2entry_keys(krb5_context context, if (!use) continue; key.mkvno = 0; + key.salt = NULL; if (pkb3->salt.string) { DATA_BLOB salt; -- cgit