#1763 check the return values of sysdb_transaction_commit in sysdb tests
Closed: Fixed None Opened 7 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

3 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/2805

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