#1763 check the return values of sysdb_transaction_commit in sysdb tests
Closed: Fixed None Opened 6 years ago by jhrozek.

in sysdb-tests.c:4122

CID 13126: Unchecked return value (CHECKED_RETURN) [select defect]
4121    sysdb_transaction_commit(test_ctx->sysdb);
CID 13127: Unchecked return value (CHECKED_RETURN)Calling function "sysdb_transaction_start" without checking return value (as is done elsewhere 53 out of 62 times).
No check of the return value of "sysdb_transaction_start(test_ctx->sysdb)".
4122    sysdb_transaction_start(test_ctx->sysdb);

It's just unit test but we should fix it to silence Coverity.


Fields changed

owner: somebody => okos

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.10 beta
rhbz: => 0
type: defect => task

Fields changed

patch: 0 => 1
status: new => assigned

resolution: => fixed
status: assigned => closed

Metadata Update from @jhrozek:
- Issue assigned to okos
- Issue set to the milestone: SSSD 1.10 beta

2 years ago

Login to comment on this ticket.

Metadata