#3990 providers/data_provider_be: potential dereferencing of 'bad' ptr
Closed: Fixed 2 years ago by jhrozek. Opened 2 years ago by atikhonov.

be_check_online_done:

ret = dp_req_recv_ptr(be_ctx, req, struct dp_reply_std, &reply);
if (ret != EOK) {
    goto done;
}
...
done:
    ...
    if (reply->dp_error != DP_ERR_OFFLINE) {

-- if dp_req_recv_ptr failed then reply is not initialized and dereferencing it is a bug.


Metadata Update from @atikhonov:
- Issue tagged with: bug

2 years ago

Metadata Update from @atikhonov:
- Issue assigned to atikhonov

2 years ago

Metadata Update from @atikhonov:
- Issue tagged with: PR

2 years ago

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

2 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/4962

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