#876 Bad comparison in sdap_has_deref_support
Closed: Fixed Opened by jhrozek.

There is an array declared as "const char *deref_oids[][2]", but later on a for loop checks one of the elements for being non-NULL:

 for (i=0; deref_oids[i]; i++) {

That is wrong. It should check the contents of the element. This would cause a crash of SSSD on a server with no deref support.


Fields changed

status: new => assigned

Fields changed

patch: 0 => 1

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.6.0

Fixed in master - b0c83f802761ffd9098c76a4d87c64892d5a4813

resolution: => fixed
status: assigned => closed

Fields changed

rhbz: => 0

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

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

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