forked from SSSD/sssd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`ldb_msg_add_value()` makes a copy under the hood, so there is no need to make intermediate copy of `secret` argument. This copy - `secret_val.data` - was left hanging on `sss_sec_ctx`, effectively resulting in a memory leak. This is a backport of SSSD#7823 :fixes:'sssd_kcm' memory leak was fixed.
- Loading branch information
1 parent
60b1ae4
commit 22c2d4c
Showing
1 changed file
with
2 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters