#1776 possible segfault when backend callback is removed
Closed: Fixed None Opened 11 years ago 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

Fields changed

patch: 0 => 1

Fields changed

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

master: 16c245e

sssd-1-9: a873473

resolution: => fixed
status: assigned => closed

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

7 years ago

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.

Login to comment on this ticket.

Metadata