krb5 commit: Fix libkadm5 parameter leak
ghudson at mit.edu
ghudson at mit.edu
Fri Oct 18 15:55:50 EDT 2024
https://github.com/krb5/krb5/commit/f14651a9fe94aca2bc2569848d931e4ba7a318a7
commit f14651a9fe94aca2bc2569848d931e4ba7a318a7
Author: Andreas Schneider <asn at cryptomilk.org>
Date: Fri Oct 11 11:38:03 2024 +0200
Fix libkadm5 parameter leak
Commit aa91cb5dbbd4356c7a9069f4f52a10f70d91bc00 added kadmind_listen,
kpasswd_listen, and iprop_listen fields to kadm5_config_params, but
did not add them to the fields freed in kadm5_free_config_params().
Add them now.
[ghudson at mit.edu: rewrote commit message]
src/lib/kadm5/alt_prof.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/lib/kadm5/alt_prof.c b/src/lib/kadm5/alt_prof.c
index e8c1f51ca..4eb840e64 100644
--- a/src/lib/kadm5/alt_prof.c
+++ b/src/lib/kadm5/alt_prof.c
@@ -757,6 +757,9 @@ kadm5_free_config_params(krb5_context context, kadm5_config_params *params)
free(params->acl_file);
free(params->realm);
free(params->iprop_logfile);
+ free(params->iprop_listen);
+ free(params->kadmind_listen);
+ free(params->kpasswd_listen);
return 0;
}
More information about the cvs-krb5
mailing list