Scan Results

List of Findings

Error: RESOURCE_LEAK (CWE-404): [#def1]
/pacemaker/tools/cibsecret.c:995: path: Condition "__s == 1", taking false branch.
/pacemaker/tools/cibsecret.c:995: path: Condition "0", taking false branch.
/pacemaker/tools/cibsecret.c:995: alloc_fn: Storage is returned from allocation function "g_malloc0_n".
/pacemaker/tools/cibsecret.c:995: var_assign: Assigning: "__p" = storage returned from "g_malloc0_n(__n, __s)".
/pacemaker/tools/cibsecret.c:995: out_of_scope: Variable "__p" goes out of scope.
/pacemaker/tools/cibsecret.c:995: var_assign: Assigning: "argv" = "({...; __p;})".
/pacemaker/tools/cibsecret.c:999: path: Condition "peers == NULL", taking true branch.
/pacemaker/tools/cibsecret.c:1000: leaked_storage: Variable "argv" going out of scope leaks the storage it points to.