#509 NULL dereference in sdap_child_helpers
Closed: Duplicate None Opened 13 years ago by sgallagh.

From Coverity:

Comparing "realm_str" to null implies that "realm_str" might be null.
  175    if (realm_str) {
  176        SAFEALIGN_SET_UINT32(&buf->data[rp], strlen(realm_str), &rp);
  177        safealign_memcpy(&buf->data[rp], realm_str, strlen(realm_str), &rp);
  178    } else {
  179        SAFEALIGN_SET_UINT32(&buf->data[rp], 0, &rp);
  180    }

We need to fix this. We're definitely dereferencing NULL if the realm_str doesn't exist.


Apparently, I opened this twice. See Ticket #508

resolution: => duplicate
status: new => closed

Fields changed

rhbz: => 0

Fields changed

milestone: NEEDS_TRIAGE => void

Metadata Update from @sgallagh:
- Issue set to the milestone: void

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

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