#3990 providers/data_provider_be: potential dereferencing of 'bad' ptr
Closed: Fixed 3 months ago by jhrozek. Opened 4 months 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

4 months ago

Metadata Update from @atikhonov:
- Issue assigned to atikhonov

4 months ago

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

3 months ago

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

3 months ago

Login to comment on this ticket.

Metadata