Projects
openEuler:24.03:SP1:Everything
krb5
_service:tar_scm:fix-libkadm5-parameter-leak.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:fix-libkadm5-parameter-leak.patch of Package krb5
From f14651a9fe94aca2bc2569848d931e4ba7a318a7 Mon Sep 17 00:00:00 2001 From: Andreas Schneider <asn@cryptomilk.org> Date: Fri, 11 Oct 2024 11:38:03 +0200 Subject: [PATCH] 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@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 e8c1f51..4eb840e 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; } -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2