#1776 possible segfault when backend callback is removed
Closed: Fixed Opened by pbrezina.

Our API supports removing backend callback, but it doesn't work correctly. It still remains in DLIST which causes segfault during next execution of the callbacks. This currently affects sudo first full refresh, when online callbacks are executed several times before successful connection.

How to reproduce:

1. configure sssd with sudo support in such way it cannot connect to the server
   - tested with incorrect bindpw in ldap_default_authtok, but unreachable hostname should do the trick
2. run sssd
3. tell sssd to go online
   - kill -s SIGUSR2 $(pidof sssd_be)
   - sssd_be crashes when it tries to go online for second time

Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=902436

rhbz: => [https://bugzilla.redhat.com/show_bug.cgi?id=902436 902436]

Fields changed

patch: 0 => 1

Fields changed

owner: somebody => pbrezina
status: new => assigned

master: 16c245e50e7aa763cff5fa93cc45febf8241319d

sssd-1-9: a873473fb56076c1027f339eb41ed2d8b204f9e8

resolution: => fixed
status: assigned => closed

Metadata Update from @pbrezina:
- Issue assigned to pbrezina
- Issue set to the milestone: NEEDS_TRIAGE

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

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