URL:
https://github.com/SSSD/sssd/pull/569
Author: sumit-bose
Title: #569: NSS: remove timed event if related object is removed
Action: opened
PR body:
"""
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.
Related to
https://pagure.io/SSSD/sssd/issue/3523
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/569/head:pr569
git checkout pr569