#1703 Wrong variable check in the memberof plugin
Closed: Fixed None Opened 6 years ago by jhrozek.

Probably a copy-and-paste error:

3015
3016    mod_ctx->igh = talloc_zero(mod_ctx, struct mbof_mod_del_op);
Dereferencing "mod_ctx" before a null check.
3017    if (mod_ctx == NULL) {
3018        return LDB_ERR_OPERATIONS_ERROR;
3019    }

We should be checking for mod_ctx->igh


Fields changed

coverity: => 13119
keywords: => Coverity

Fields changed

owner: somebody => jhrozek
status: new => assigned

Fields changed

patch: 0 => 1

milestone: NEEDS_TRIAGE => SSSD 1.9.4
resolution: => fixed
status: assigned => closed

Coverity bug. No clone needed.

rhbz: => 0

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

2 years ago

Login to comment on this ticket.

Metadata