#3737 remove netgroups timed event if related object is removed
Closed: Fixed Opened by jhrozek.

setnetgrent_result_timeout() is called as a timed event to free the
netgr data is the cache lifetime is exceeded. If the data is freed
earlier the timed event should be removed as well to avoid a double
free issue.

Since talloc is used here the most easy way to achieve this is to
allocate the timed event on the netgr object itself.


PR: https://github.com/SSSD/sssd/pull/569

Metadata Update from @jhrozek:
- Issue assigned to sbose
- Issue priority set to: major (was: minor)
- Issue tagged with: PR, bug

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 1.16.2

sssd-1-14:
83dfa4d
sssd-1-13:
377b622

Metadata Update from @fidencio:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata Update from @fidencio:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1576852

When I filed the ticket I mistakenly thought the fix was intended for master, but it's only for 1.13 and 1.14. Since the userbase of 1.14 is quite small and on the other hand 1.13 is LTM release, I'm moving the ticket to 1.13 so that it's easier for us to find it when we draft the release notes.

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 1.13.5 (was: SSSD 1.16.2)

Metadata Update from @jhrozek:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1576852, https://bugzilla.redhat.com/show_bug.cgi?id=1576852 (was: https://bugzilla.redhat.com/show_bug.cgi?id=1576852)

Issue linked to Bugzilla: Bug 1576852

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4745

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata