git.samba.org
/
metze
/
heimdal
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea90ca8
)
hdb: Fix memory leak in hdb_generate_key_set()
author
Nicolas Williams
<nico@twosigma.com>
Sun, 1 Mar 2020 03:32:26 +0000
(21:32 -0600)
committer
Nicolas Williams
<nico@twosigma.com>
Mon, 2 Mar 2020 16:56:13 +0000
(10:56 -0600)
lib/hdb/keys.c
patch
|
blob
|
history
diff --git
a/lib/hdb/keys.c
b/lib/hdb/keys.c
index 017321212e257cab54d16621de4cc316d13b25dd..47e072b32aaa5b366a4ebd860cb9e161215edf6a 100644
(file)
--- a/
lib/hdb/keys.c
+++ b/
lib/hdb/keys.c
@@
-661,7
+661,8
@@
hdb_generate_key_set(krb5_context context, krb5_principal principal,
ktypes = ks_tuple_strs;
if (ktypes == NULL) {
- ktypes = glob_rules_keys(context, principal);
+ config_ktypes = glob_rules_keys(context, principal);
+ ktypes = config_ktypes;
}
if (ktypes == NULL) {
config_ktypes = krb5_config_get_strings(context, NULL, "kadmin",