#3752 /usr/libexec/sssd/sssd_autofs SIGABRT crash daily due to a double free
Closed: Fixed Opened by jhrozek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1577335

autofs_map_result_timeout() is called as a timed event to free the autofs map 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 map object itself.


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

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

Metadata Update from @jhrozek:
- Issue tagged with: PR, bug

master:
7567215

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

sssd-1-14:
1199a0d
sssd-1-13:
8cf14ee

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

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/4758

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