[389-devel] Please review: [389 Project] #47581: Winsync plugin segfault during incremental backoff

Noriko Hosoi nhosoi at redhat.com
Fri Nov 1 22:06:23 UTC 2013


https://fedorahosted.org/389/ticket/47581

https://fedorahosted.org/389/attachment/ticket/47581/0001-Ticket-47581-Winsync-plugin-segfault-during-incremen.patch
git patch file (master)

https://fedorahosted.org/389/attachment/ticket/47581/0001-Ticket-47581-Winsync-plugin-segfault-during-incremen.2.patch
git patch file (389-ds-base-1.2.11)

Bug description: Once WinSync backoff timer is set, even if the
protocol that the backoff timer belongs to is deleted by removing
the windows sync agreement, the timer is not deleted from the event
queue.  Thus the timer is expired and backoff is called, it crashes
the server since the protocol handle is already freed, then.

Fix description: Make sure to delete the backoff timer when
1) a windows sync agreement is removed and the protocol is deleted, and
2) a new backoff timer set and there is already a backoff timer set up.




More information about the 389-devel mailing list