#714 Unchecked return value in test_sysdb_attrs_to_list
Closed: Fixed None Opened 10 years ago by sgallagh.

Calling function "sysdb_attrs_add_string" without checking return value.
No check of the return value of "sysdb_attrs_add_string(attrs_list[0], &"test_attr", &"attr1")".
 2183    sysdb_attrs_add_string(attrs_list[0], "test_attr", "attr1");
 2184    attrs_list[1] = sysdb_new_attrs(test_ctx);
 2185    sysdb_attrs_add_string(attrs_list[1], "test_attr", "attr2");
 2186    attrs_list[2] = sysdb_new_attrs(test_ctx);
 2187    sysdb_attrs_add_string(attrs_list[2], "nottest_attr", "attr3");

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.5.1

Fields changed

coverity: => 10005

Fixed by e742a3e

milestone: SSSD 1.5.1 => SSSD 1.5.0
resolution: => fixed
status: new => closed

Fields changed

rhbz: => 0

Metadata Update from @sgallagh:
- Issue assigned to sgallagh
- Issue set to the milestone: SSSD 1.5.0

4 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/1756

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.