Scan Results
List of Findings
Error: CHECKED_RETURN (CWE-252): [#def1]
/pacemaker/lib/cib/cib_file.c:155: check_return: Calling "cib__get_operation" without checking return value (as is done elsewhere 4 out of 5 times).
/pacemaker/daemons/based/based_callbacks.c:772: example_assign: Example 1: Assigning: "rc" = return value from "cib__get_operation(op, &operation)".
/pacemaker/daemons/based/based_callbacks.c:773: example_checked: Example 1 (cont.): "rc" has its value checked in "rc != pcmk_rc_ok".
/pacemaker/daemons/based/based_transaction.c:76: example_assign: Example 2: Assigning: "rc" = return value from "cib__get_operation(op, &operation)".
/pacemaker/daemons/based/based_transaction.c:78: example_checked: Example 2 (cont.): "rc" has its value checked in "rc == pcmk_rc_ok".
/pacemaker/lib/cib/cib_file.c:426: example_assign: Example 3: Assigning: "rc" = return value from "cib__get_operation(op, &operation)".
/pacemaker/lib/cib/cib_file.c:427: example_checked: Example 3 (cont.): "rc" has its value checked in "rc != pcmk_rc_ok".
/pacemaker/lib/cib/cib_utils.c:732: example_assign: Example 4: Assigning: "rc" = return value from "cib__get_operation(op, &operation)".
/pacemaker/lib/cib/cib_utils.c:734: example_checked: Example 4 (cont.): "rc" has its value checked in "rc != pcmk_rc_ok".