#858 Uninitialized scalar variable in match_principal
Closed: Fixed None Opened 12 years ago by sgallagh.

We can return an uninitialized value for 'ret' in {{{match_principal()}}} if

 429    if (!pattern_realm || (realm_data->length == strlen(pattern_realm) &&
 430        strncmp(realm_data->data, pattern_realm, realm_data->length) == 0)) {
 431        DEBUG(7, ("Principal matched to the sample (%s@%s).\n", pattern_primary,
 432                                                                pattern_realm));
 433        ret = true;
 434    }

returns false.


Fields changed

status: new => assigned

Fields changed

patch: 0 => 1

Fixed in: 6e32020

resolution: => fixed
status: assigned => closed

Fields changed

rhbz: => 0

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

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

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