Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simple: fix memory leak while reloading lists - 1.16 #5731

Closed

Conversation

sumit-bose
Copy link
Contributor

The simple access provider will reload the access and deny lists at
runtime to make sure that users and groups from domains which are
discovered at runtime are properly processed.

While reloading the lists the original lists are not freed and an
intermediate list wasn't removed as well.

Resolves: #5456

:fixes: Memory leak in the simple access provider

(cherry picked from commit d16e0b6)

@alexey-tikhonov
Copy link
Member

Hi,

thank you for the backport PR.

It seems cherry picked from commit reference is wrong (should be 19c2c64)

The simple access provider will reload the access and deny lists at
runtime to make sure that users and groups from domains which are
discovered at runtime are properly processed.

While reloading the lists the original lists are not freed and an
intermediate list wasn't removed as well.

Resolves: SSSD#5456

:fixes: Memory leak in the simple access provider

Reviewed-by: Alexey Tikhonov <atikhono@redhat.com>
(cherry picked from commit 19c2c64)
@sumit-bose
Copy link
Contributor Author

Hi,

sorry, looks like I picked it from my own branch and not from master, new version fixes it.

bye,
Sumit

@alexey-tikhonov
Copy link
Member

Thank you, ACK.

@pbrezina
Copy link
Member

pbrezina commented Aug 9, 2021

Pushed PR: #5731

  • sssd-1-16
    • 137924c - simple: fix memory leak while reloading lists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants