summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-07-22 18:34:14 +0200
committerStefan Metzmacher <metze@samba.org>2008-07-23 14:46:06 +0200
commit75cdaa4c84485bccb27ad6e09281248077b243c3 (patch)
treecaacc8e50bafaeb3cb097f69d9dfad0a1249c9f1 /source4/kdc
parent734d0c0a5def566ad8a8167c81e06bd9b31b4645 (diff)
downloadsamba-75cdaa4c84485bccb27ad6e09281248077b243c3.tar.gz
samba-75cdaa4c84485bccb27ad6e09281248077b243c3.tar.bz2
samba-75cdaa4c84485bccb27ad6e09281248077b243c3.zip
hdb-ldb: fix crash bug in the error path
metze (This used to be commit ac02d6a0f765e3b66fb6796f129edb1a348ecd84)
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/hdb-ldb.c1
1 files changed, 1 insertions, 0 deletions
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;