#2641 Add a IS_DEFAULT_VIEW macro
Closed: Fixed None Opened 6 years ago by jhrozek.

We have several places where we check for the default view with string comparison. A NULL string should be treated as the default view, but currently we are not consistent which sometimes lead to crashes.

We should wrap the check inside a macro that would evaluate to true if either the pointer is NULL or set to the default view name.


Fields changed

rhbz: => 0

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.13 alpha

Fields changed

owner: somebody => mzidek
sensitive: => 0

Should not block Alpha

milestone: SSSD 1.13 alpha => SSSD 1.13 beta

Fields changed

patch: 0 => 1

resolution: => fixed
status: new => closed

Fields changed

milestone: SSSD 1.13.1 => SSSD 1.13.0

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

4 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/3682

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