Scan Results

List of Findings

Error: INCOMPLETE_DEALLOCATOR (CWE-404): [#def1]
/pacemaker/lib/common/results.c:1286: allocation: Memory is allocated.
/pacemaker/lib/common/strings.c:1261: path: Condition "str != NULL", taking true branch.
/pacemaker/lib/common/strings.c:1262: alloc_fn: Storage is returned from allocation function "strdup".
/pacemaker/lib/common/strings.c:1262: assign: Assigning: "result" = "strdup(str)".
/pacemaker/lib/common/strings.c:1264: path: Condition "result == NULL", taking false branch.
/pacemaker/lib/common/strings.c:1268: return_alloc: Returning allocated memory "result".
/pacemaker/lib/common/results.c:1286: allocation: The field "dst->action_stdout" is allocated, but not released in the identified deallocator.
/pacemaker/lib/common/results.c:1229: deallocator: Deallocator for "struct [unnamed type of 'pcmk__action_result_t']".

Error: INCOMPLETE_DEALLOCATOR (CWE-404): [#def2]
/pacemaker/lib/common/results.c:1287: allocation: Memory is allocated.
/pacemaker/lib/common/strings.c:1261: path: Condition "str != NULL", taking true branch.
/pacemaker/lib/common/strings.c:1262: alloc_fn: Storage is returned from allocation function "strdup".
/pacemaker/lib/common/strings.c:1262: assign: Assigning: "result" = "strdup(str)".
/pacemaker/lib/common/strings.c:1264: path: Condition "result == NULL", taking false branch.
/pacemaker/lib/common/strings.c:1268: return_alloc: Returning allocated memory "result".
/pacemaker/lib/common/results.c:1287: allocation: The field "dst->action_stderr" is allocated, but not released in the identified deallocator.
/pacemaker/lib/common/results.c:1229: deallocator: Deallocator for "struct [unnamed type of 'pcmk__action_result_t']".