#3423 Array compared against 0 in ipasam_set_trusted_domain()
Closed: Fixed None Opened 10 years ago by rcritten.

Coverity defect 13145:

Line 2296 in ipa_sam.c

Array compared against 0 (NO_EFFECT)

Comparing an array to null is not useful: "ipa_mspac_well_known_sids".


I wonder what would be the best way to solve this.

in ipa_sam.c there is a check if a globally defined array is NULL. This check can be remove because the global array should always be there, or keep the check and say that Coverity found a false positive.

Metadata Update from @rcritten:
- Issue assigned to sbose
- Issue set to the milestone: FreeIPA 3.2 - 2013/02

6 years ago

Login to comment on this ticket.

Metadata