libcomps-0.1.23-2.fc44
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
libcomps-0.1.23/libcomps/src/comps_bradix.c:42:17: warning[-Wanalyzer-malloc-leak]: leak of ‘brtd’
libcomps-0.1.23/libcomps/src/comps_bradix.c:66:20: enter_function: entry to ‘comps_brtree_data_create_n’
libcomps-0.1.23/libcomps/src/comps_bradix.c:69:12: call_function: calling ‘__comps_brtree_data_create’ from ‘comps_brtree_data_create_n’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
libcomps-0.1.23/libcomps/src/comps_bradix.c:42:17: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_brtree_create(*brt.data_constructor, *brt.data_cloner, *brt.data_destructor, *brt.key_clone, *brt.key_destroy, *brt.key_cmp, *brt.key_len, *brt.subkey, *brt.key_concat)’
libcomps-0.1.23/libcomps/src/comps_bradix.c:144:16: enter_function: entry to ‘comps_brtree_clone’
libcomps-0.1.23/libcomps/src/comps_bradix.c:152:8: branch_false: following ‘false’ branch (when ‘brt’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:154:16: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:156:11: call_function: calling ‘comps_brtree_create’ from ‘comps_brtree_clone’
libcomps-0.1.23/libcomps/src/comps_bradix.c:156:11: return_function: returning to ‘comps_brtree_clone’ from ‘comps_brtree_create’
libcomps-0.1.23/libcomps/src/comps_bradix.c:167:37: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:169:59: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:168:19: call_function: calling ‘comps_brtree_data_create’ from ‘comps_brtree_clone’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
libcomps-0.1.23/libcomps/src/comps_bradix.c:53:22: warning[-Wanalyzer-malloc-leak]: leak of ‘brtd’
libcomps-0.1.23/libcomps/src/comps_bradix.c:66:20: enter_function: entry to ‘comps_brtree_data_create_n’
libcomps-0.1.23/libcomps/src/comps_bradix.c:69:12: call_function: calling ‘__comps_brtree_data_create’ from ‘comps_brtree_data_create_n’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
libcomps-0.1.23/libcomps/src/comps_bradix.c:53:22: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_brtree_create(*brt.data_constructor, *brt.data_cloner, *brt.data_destructor, *brt.key_clone, *brt.key_destroy, *brt.key_cmp, *brt.key_len, *brt.subkey, *brt.key_concat)’
libcomps-0.1.23/libcomps/src/comps_bradix.c:144:16: enter_function: entry to ‘comps_brtree_clone’
libcomps-0.1.23/libcomps/src/comps_bradix.c:152:8: branch_false: following ‘false’ branch (when ‘brt’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:154:16: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:156:11: call_function: calling ‘comps_brtree_create’ from ‘comps_brtree_clone’
libcomps-0.1.23/libcomps/src/comps_bradix.c:156:11: return_function: returning to ‘comps_brtree_clone’ from ‘comps_brtree_create’
libcomps-0.1.23/libcomps/src/comps_bradix.c:167:37: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:169:59: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:168:19: call_function: calling ‘comps_brtree_data_create’ from ‘comps_brtree_clone’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
libcomps-0.1.23/libcomps/src/comps_bradix.c:55:5: warning[-Wanalyzer-malloc-leak]: leak of ‘brtd’
libcomps-0.1.23/libcomps/src/comps_bradix.c:66:20: enter_function: entry to ‘comps_brtree_data_create_n’
libcomps-0.1.23/libcomps/src/comps_bradix.c:69:12: call_function: calling ‘__comps_brtree_data_create’ from ‘comps_brtree_data_create_n’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
libcomps-0.1.23/libcomps/src/comps_bradix.c:55:5: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_brtree_create(*brt.data_constructor, *brt.data_cloner, *brt.data_destructor, *brt.key_clone, *brt.key_destroy, *brt.key_cmp, *brt.key_len, *brt.subkey, *brt.key_concat)’
libcomps-0.1.23/libcomps/src/comps_bradix.c:144:16: enter_function: entry to ‘comps_brtree_clone’
libcomps-0.1.23/libcomps/src/comps_bradix.c:152:8: branch_false: following ‘false’ branch (when ‘brt’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:154:16: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:156:11: call_function: calling ‘comps_brtree_create’ from ‘comps_brtree_clone’
libcomps-0.1.23/libcomps/src/comps_bradix.c:156:11: return_function: returning to ‘comps_brtree_clone’ from ‘comps_brtree_create’
libcomps-0.1.23/libcomps/src/comps_bradix.c:167:37: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:169:59: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:168:19: call_function: calling ‘comps_brtree_data_create’ from ‘comps_brtree_clone’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def7]
libcomps-0.1.23/libcomps/src/comps_bradix.c:62:12: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_brtree_create(*brt.data_constructor, *brt.data_cloner, *brt.data_destructor, *brt.key_clone, *brt.key_destroy, *brt.key_cmp, *brt.key_len, *brt.subkey, *brt.key_concat)’
libcomps-0.1.23/libcomps/src/comps_bradix.c:144:16: enter_function: entry to ‘comps_brtree_clone’
libcomps-0.1.23/libcomps/src/comps_bradix.c:152:8: branch_false: following ‘false’ branch (when ‘brt’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:154:16: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:156:11: call_function: calling ‘comps_brtree_create’ from ‘comps_brtree_clone’
libcomps-0.1.23/libcomps/src/comps_bradix.c:156:11: return_function: returning to ‘comps_brtree_clone’ from ‘comps_brtree_create’
libcomps-0.1.23/libcomps/src/comps_bradix.c:167:37: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:169:59: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:168:19: call_function: calling ‘comps_brtree_data_create’ from ‘comps_brtree_clone’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
libcomps-0.1.23/libcomps/src/comps_bradix.c:91:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libcomps-0.1.23/libcomps/src/comps_bradix.c:89:16: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_bradix.c:89:8: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:91:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:91:21: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
libcomps-0.1.23/libcomps/src/comps_bradix.c:92:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libcomps-0.1.23/libcomps/src/comps_bradix.c:89:16: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_bradix.c:89:8: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:91:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:92:5: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def10]
libcomps-0.1.23/libcomps/src/comps_bradix.c:182:39: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘*to_clone.first’
libcomps-0.1.23/libcomps/src/comps_bradix.c:152:8: branch_false: following ‘false’ branch (when ‘brt’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:154:16: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:167:37: branch_false: following ‘false’ branch (when ‘it’ is NULL)...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:180:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:182:39: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:187:35: branch_false: following ‘false’ branch (when ‘it’ is NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:201:29: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:202:9: release_memory: freed here
libcomps-0.1.23/libcomps/src/comps_bradix.c:180:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:182:39: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:182:39: danger: use after ‘free’ of ‘*to_clone.first’; freed at [(9)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
libcomps-0.1.23/libcomps/src/comps_bradix.c:183:9: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_brtree_create(*brt.data_constructor, *brt.data_cloner, *brt.data_destructor, *brt.key_clone, *brt.key_destroy, *brt.key_cmp, *brt.key_len, *brt.subkey, *brt.key_concat)’
libcomps-0.1.23/libcomps/src/comps_bradix.c:144:16: enter_function: entry to ‘comps_brtree_clone’
libcomps-0.1.23/libcomps/src/comps_bradix.c:152:8: branch_false: following ‘false’ branch (when ‘brt’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:154:16: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:156:11: call_function: calling ‘comps_brtree_create’ from ‘comps_brtree_clone’
libcomps-0.1.23/libcomps/src/comps_bradix.c:156:11: return_function: returning to ‘comps_brtree_clone’ from ‘comps_brtree_create’
libcomps-0.1.23/libcomps/src/comps_bradix.c:167:37: branch_false: following ‘false’ branch (when ‘it’ is NULL)...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:180:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:182:39: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:183:9: danger: ‘comps_brtree_create(*brt.data_constructor, *brt.data_cloner, *brt.data_destructor, *brt.key_clone, *brt.key_destroy, *brt.key_cmp, *brt.key_len, *brt.subkey, *brt.key_concat)’ leaks here; was allocated at [(6)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
libcomps-0.1.23/libcomps/src/comps_bradix.c:185:24: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_brtree_create(*brt.data_constructor, *brt.data_cloner, *brt.data_destructor, *brt.key_clone, *brt.key_destroy, *brt.key_cmp, *brt.key_len, *brt.subkey, *brt.key_concat)’
libcomps-0.1.23/libcomps/src/comps_bradix.c:144:16: enter_function: entry to ‘comps_brtree_clone’
libcomps-0.1.23/libcomps/src/comps_bradix.c:152:8: branch_false: following ‘false’ branch (when ‘brt’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:154:16: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:156:11: call_function: calling ‘comps_brtree_create’ from ‘comps_brtree_clone’
libcomps-0.1.23/libcomps/src/comps_bradix.c:156:11: return_function: returning to ‘comps_brtree_clone’ from ‘comps_brtree_create’
libcomps-0.1.23/libcomps/src/comps_bradix.c:167:37: branch_false: following ‘false’ branch (when ‘it’ is NULL)...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:180:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:182:39: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:185:24: danger: ‘comps_brtree_create(*brt.data_constructor, *brt.data_cloner, *brt.data_destructor, *brt.key_clone, *brt.key_destroy, *brt.key_cmp, *brt.key_len, *brt.subkey, *brt.key_concat)’ leaks here; was allocated at [(6)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
libcomps-0.1.23/libcomps/src/comps_bradix.c:186:9: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_brtree_create(*brt.data_constructor, *brt.data_cloner, *brt.data_destructor, *brt.key_clone, *brt.key_destroy, *brt.key_cmp, *brt.key_len, *brt.subkey, *brt.key_concat)’
libcomps-0.1.23/libcomps/src/comps_bradix.c:144:16: enter_function: entry to ‘comps_brtree_clone’
libcomps-0.1.23/libcomps/src/comps_bradix.c:152:8: branch_false: following ‘false’ branch (when ‘brt’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:154:16: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:156:11: call_function: calling ‘comps_brtree_create’ from ‘comps_brtree_clone’
libcomps-0.1.23/libcomps/src/comps_bradix.c:156:11: return_function: returning to ‘comps_brtree_clone’ from ‘comps_brtree_create’
libcomps-0.1.23/libcomps/src/comps_bradix.c:167:37: branch_false: following ‘false’ branch (when ‘it’ is NULL)...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:180:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:182:39: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:186:9: danger: ‘comps_brtree_create(*brt.data_constructor, *brt.data_cloner, *brt.data_destructor, *brt.key_clone, *brt.key_destroy, *brt.key_cmp, *brt.key_len, *brt.subkey, *brt.key_concat)’ leaks here; was allocated at [(6)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
libcomps-0.1.23/libcomps/src/comps_bradix.c:204:5: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_brtree_create(*brt.data_constructor, *brt.data_cloner, *brt.data_destructor, *brt.key_clone, *brt.key_destroy, *brt.key_cmp, *brt.key_len, *brt.subkey, *brt.key_concat)’
libcomps-0.1.23/libcomps/src/comps_bradix.c:144:16: enter_function: entry to ‘comps_brtree_clone’
libcomps-0.1.23/libcomps/src/comps_bradix.c:152:8: branch_false: following ‘false’ branch (when ‘brt’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:154:16: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:156:11: call_function: calling ‘comps_brtree_create’ from ‘comps_brtree_clone’
libcomps-0.1.23/libcomps/src/comps_bradix.c:156:11: return_function: returning to ‘comps_brtree_clone’ from ‘comps_brtree_create’
libcomps-0.1.23/libcomps/src/comps_bradix.c:167:37: branch_false: following ‘false’ branch (when ‘it’ is NULL)...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:180:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:204:5: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:204:5: danger: ‘comps_brtree_create(*brt.data_constructor, *brt.data_cloner, *brt.data_destructor, *brt.key_clone, *brt.key_destroy, *brt.key_cmp, *brt.key_len, *brt.subkey, *brt.key_concat)’ leaks here; was allocated at [(6)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
libcomps-0.1.23/libcomps/src/comps_bradix.c:268:13: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_brtree_data_create(brt, *brt.subkey(key, offset, *brt.key_len(key)), ndata)’
libcomps-0.1.23/libcomps/src/comps_bradix.c:232:6: enter_function: entry to ‘comps_brtree_set’
libcomps-0.1.23/libcomps/src/comps_bradix.c:246:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:248:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:255:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:258:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:265:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:266:22: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:267:20: call_function: calling ‘comps_brtree_data_create’ from ‘comps_brtree_set’
libcomps-0.1.23/libcomps/src/comps_bradix.c:267:20: return_function: returning to ‘comps_brtree_set’ from ‘comps_brtree_data_create’
libcomps-0.1.23/libcomps/src/comps_bradix.c:268:13: danger: ‘comps_brtree_data_create(brt, *brt.subkey(key, offset, *brt.key_len(key)), ndata)’ leaks here; was allocated at [(12)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
libcomps-0.1.23/libcomps/src/comps_bradix.c:269:13: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_brtree_data_create(brt, *brt.subkey(key, offset, *brt.key_len(key)), ndata)’
libcomps-0.1.23/libcomps/src/comps_bradix.c:232:6: enter_function: entry to ‘comps_brtree_set’
libcomps-0.1.23/libcomps/src/comps_bradix.c:246:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:248:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:255:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:258:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:265:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:266:22: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:267:20: call_function: calling ‘comps_brtree_data_create’ from ‘comps_brtree_set’
libcomps-0.1.23/libcomps/src/comps_bradix.c:267:20: return_function: returning to ‘comps_brtree_set’ from ‘comps_brtree_data_create’
libcomps-0.1.23/libcomps/src/comps_bradix.c:269:13: danger: ‘comps_brtree_data_create(brt, *brt.subkey(key, offset, *brt.key_len(key)), ndata)’ leaks here; was allocated at [(12)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
libcomps-0.1.23/libcomps/src/comps_bradix.c:283:37: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_brtree_data_create(brt, key, ndata)’
libcomps-0.1.23/libcomps/src/comps_bradix.c:232:6: enter_function: entry to ‘comps_brtree_set’
libcomps-0.1.23/libcomps/src/comps_bradix.c:246:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:248:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:255:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:258:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:265:12: branch_false: following ‘false’ branch (when ‘found != 0’)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:272:44: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:274:16: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:278:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:278:23: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:279:17: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:281:24: call_function: calling ‘comps_brtree_data_create’ from ‘comps_brtree_set’
libcomps-0.1.23/libcomps/src/comps_bradix.c:281:24: return_function: returning to ‘comps_brtree_set’ from ‘comps_brtree_data_create’
libcomps-0.1.23/libcomps/src/comps_bradix.c:283:37: danger: ‘comps_brtree_data_create(brt, key, ndata)’ leaks here; was allocated at [(16)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
libcomps-0.1.23/libcomps/src/comps_bradix.c:301:26: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_brtree_data_create_n(brt, *brtdata.key, *brt.key_cmp(*(COMPS_BRTreeData *)it.23_14->data.key, key, 1, offset + 1, *brt.key_len(key), &ended), 0)’
libcomps-0.1.23/libcomps/src/comps_bradix.c:232:6: enter_function: entry to ‘comps_brtree_set’
libcomps-0.1.23/libcomps/src/comps_bradix.c:246:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:248:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:255:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:258:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:265:12: branch_false: following ‘false’ branch (when ‘found != 0’)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:272:44: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:274:16: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:278:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:278:23: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:293:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:298:24: call_function: calling ‘comps_brtree_data_create_n’ from ‘comps_brtree_set’
libcomps-0.1.23/libcomps/src/comps_bradix.c:298:24: return_function: returning to ‘comps_brtree_set’ from ‘comps_brtree_data_create_n’
libcomps-0.1.23/libcomps/src/comps_bradix.c:301:26: danger: ‘comps_brtree_data_create_n(brt, *brtdata.key, *brt.key_cmp(*(COMPS_BRTreeData *)it.23_14->data.key, key, 1, offset + 1, *brt.key_len(key), &ended), 0)’ leaks here; was allocated at [(16)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
libcomps-0.1.23/libcomps/src/comps_bradix.c:477:9: warning[-Wanalyzer-malloc-leak]: leak of ‘relation’
libcomps-0.1.23/libcomps/src/comps_bradix.c:403:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:406:5: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:411:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:413:14: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:413:36: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:414:17: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:420:12: branch_false: following ‘false’ branch (when ‘found != 0’)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:424:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:426:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:465:17: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:465:17: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:465:30: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:470:25: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_bradix.c:470:12: branch_false: following ‘false’ branch (when ‘relation’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:474:40: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:477:9: danger: ‘relation’ leaks here; was allocated at [(13)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/12)
Error: CPPCHECK_WARNING (CWE-476): [#def20]
libcomps-0.1.23/libcomps/src/comps_bradix.c:517: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-476): [#def21]
libcomps-0.1.23/libcomps/src/comps_bradix.c:517:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pair’
libcomps-0.1.23/libcomps/src/comps_bradix.c:516:12: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_bradix.c:517:5: danger: ‘pair’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def22]
libcomps-0.1.23/libcomps/src/comps_bradix.c:518: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: CPPCHECK_WARNING (CWE-476): [#def23]
libcomps-0.1.23/libcomps/src/comps_bradix.c:519: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
libcomps-0.1.23/libcomps/src/comps_bradix.c:521:15: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_bradix.c:516:12: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_bradix.c:521:15: danger: ‘pair’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
libcomps-0.1.23/libcomps/src/comps_bradix.c:522:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_bradix.c:516:12: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_bradix.c:522:5: danger: ‘pair’ leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
libcomps-0.1.23/libcomps/src/comps_bradix.c:523:11: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_bradix.c:516:12: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_bradix.c:523:11: danger: ‘pair’ leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
libcomps-0.1.23/libcomps/src/comps_bradix.c:525:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_bradix.c:516:12: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_bradix.c:524:8: branch_true: following ‘true’ branch (when ‘pairorkey == 1’)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:525:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:525:9: danger: ‘pair’ leaks here; was allocated at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
libcomps-0.1.23/libcomps/src/comps_bradix.c:527:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_bradix.c:516:12: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_bradix.c:524:8: branch_false: following ‘false’ branch (when ‘pairorkey != 1’)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:527:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:527:9: danger: ‘pair’ leaks here; was allocated at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
libcomps-0.1.23/libcomps/src/comps_bradix.c:529:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_bradix.c:516:12: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_bradix.c:529:5: danger: ‘pair’ leaks here; was allocated at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def30]
libcomps-0.1.23/libcomps/src/comps_bradix.c:534:9: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘**tmplist.first.data’
libcomps-0.1.23/libcomps/src/comps_bradix.c:531:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:533:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:581:9: release_memory: freed here
libcomps-0.1.23/libcomps/src/comps_bradix.c:531:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:533:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:534:9: danger: use after ‘free’ of ‘*tmplist.73_35->first.data’; freed at [(4)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/3)
Error: CPPCHECK_WARNING (CWE-476): [#def31]
libcomps-0.1.23/libcomps/src/comps_bradix.c:540: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-476): [#def32]
libcomps-0.1.23/libcomps/src/comps_bradix.c:540:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pair’
libcomps-0.1.23/libcomps/src/comps_bradix.c:531:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:533:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:538:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:539:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:539:20: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_bradix.c:540:13: danger: ‘pair’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def33]
libcomps-0.1.23/libcomps/src/comps_bradix.c:541: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
libcomps-0.1.23/libcomps/src/comps_bradix.c:544:29: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_bradix.c:531:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:533:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:538:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:539:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:539:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_bradix.c:543:16: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:544:29: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:544:29: danger: ‘pair’ leaks here; was allocated at [(5)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
libcomps-0.1.23/libcomps/src/comps_bradix.c:547:29: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_bradix.c:531:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:533:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:538:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:539:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:539:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_bradix.c:543:16: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:547:29: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:547:29: danger: ‘pair’ leaks here; was allocated at [(5)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
libcomps-0.1.23/libcomps/src/comps_bradix.c:553:21: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_bradix.c:531:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:533:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:538:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:539:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:539:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_bradix.c:552:20: branch_true: following ‘true’ branch (when ‘pairorkey == 1’)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:553:21: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:553:21: danger: ‘pair’ leaks here; was allocated at [(5)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def37]
libcomps-0.1.23/libcomps/src/comps_bradix.c:556: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rtpair
Error: GCC_ANALYZER_WARNING (CWE-476): [#def38]
libcomps-0.1.23/libcomps/src/comps_bradix.c:556:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rtpair’
libcomps-0.1.23/libcomps/src/comps_bradix.c:531:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:533:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:538:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:539:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:555:30: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_bradix.c:556:21: danger: ‘rtpair’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def39]
libcomps-0.1.23/libcomps/src/comps_bradix.c:557: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rtpair
Error: CPPCHECK_WARNING (CWE-476): [#def40]
libcomps-0.1.23/libcomps/src/comps_bradix.c:558: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rtpair
Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
libcomps-0.1.23/libcomps/src/comps_bradix.c:559:21: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_bradix.c:531:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:533:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:538:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:539:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:539:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_bradix.c:559:21: danger: ‘pair’ leaks here; was allocated at [(5)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
libcomps-0.1.23/libcomps/src/comps_bradix.c:559:21: warning[-Wanalyzer-malloc-leak]: leak of ‘rtpair’
libcomps-0.1.23/libcomps/src/comps_bradix.c:531:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:533:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:538:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:539:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:555:30: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_bradix.c:559:21: danger: ‘rtpair’ leaks here; was allocated at [(5)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
libcomps-0.1.23/libcomps/src/comps_bradix.c:563:21: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_bradix.c:531:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:533:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:538:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:539:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:539:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_bradix.c:552:20: branch_true: following ‘true’ branch (when ‘pairorkey == 1’)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:553:21: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:563:21: danger: ‘pair’ leaks here; was allocated at [(5)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
libcomps-0.1.23/libcomps/src/comps_bradix.c:570:21: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_bradix.c:531:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:533:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:538:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:539:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:539:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_bradix.c:570:21: danger: ‘pair’ leaks here; was allocated at [(5)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
libcomps-0.1.23/libcomps/src/comps_bradix.c:572:21: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_bradix.c:531:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:533:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:538:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_bradix.c:539:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:539:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_bradix.c:569:20: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_bradix.c:572:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_bradix.c:572:21: danger: ‘pair’ leaks here; was allocated at [(5)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def46]
libcomps-0.1.23/libcomps/src/comps_doc.c:903:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘str’ where non-null expected
libcomps-0.1.23/libcomps/src/comps_doc.c:894:10: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_doc.c:896:18: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_doc.c:897:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_doc.c:898:17: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_doc.c:898:16: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_doc.c:900:26: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_doc.c:902:19: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_doc.c:903:13: danger: argument 1 (‘str’) from [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
libcomps-0.1.23/libcomps/src/comps_doc.c:904:13: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
libcomps-0.1.23/libcomps/src/comps_doc.c:894:10: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_doc.c:896:18: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_doc.c:897:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_doc.c:898:17: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_doc.c:898:16: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_doc.c:900:26: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_doc.c:902:19: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_doc.c:904:13: danger: ‘str’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def48]
libcomps-0.1.23/libcomps/src/comps_docgroupid.c:97:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘ret’ where non-null expected
libcomps-0.1.23/libcomps/src/comps_docgroupid.c:96:17: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_docgroupid.c:97:5: danger: argument 1 (‘ret’) from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def49]
libcomps-0.1.23/libcomps/src/comps_docpackage.c:220: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
libcomps-0.1.23/libcomps/src/comps_elem.c:914:19: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_elem.c:899:8: branch_false: following ‘false’ branch (when ‘elem’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_elem.c:902:5: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:903:8: branch_true: following ‘true’ branch (when ‘type == 0’)...
libcomps-0.1.23/libcomps/src/comps_elem.c:904:50: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:904:27: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_elem.c:904:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_elem.c:908:32: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:914:19: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def51]
libcomps-0.1.23/libcomps/src/comps_elem.c:914:19: warning[-Wanalyzer-malloc-leak]: leak of ‘elem’
libcomps-0.1.23/libcomps/src/comps_elem.c:899:17: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_elem.c:899:8: branch_false: following ‘false’ branch (when ‘elem’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_elem.c:902:5: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:903:8: branch_false: following ‘false’ branch (when ‘type != 0’)...
libcomps-0.1.23/libcomps/src/comps_elem.c:910:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:914:19: danger: ‘elem’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
libcomps-0.1.23/libcomps/src/comps_elem.c:919:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_elem.c:899:8: branch_false: following ‘false’ branch (when ‘elem’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_elem.c:902:5: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:903:8: branch_true: following ‘true’ branch (when ‘type == 0’)...
libcomps-0.1.23/libcomps/src/comps_elem.c:904:50: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:904:27: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_elem.c:904:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_elem.c:908:32: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:915:8: branch_true: following ‘true’ branch (when ‘attrs’ is non-NULL)...
branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:916:16: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_elem.c:917:27: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:918:16: branch_true: following ‘true’ branch (when ‘val’ is NULL)...
libcomps-0.1.23/libcomps/src/comps_elem.c:919:17: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:919:17: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def53]
libcomps-0.1.23/libcomps/src/comps_elem.c:919:17: warning[-Wanalyzer-malloc-leak]: leak of ‘elem’
libcomps-0.1.23/libcomps/src/comps_elem.c:899:17: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_elem.c:899:8: branch_false: following ‘false’ branch (when ‘elem’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_elem.c:902:5: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:903:8: branch_false: following ‘false’ branch (when ‘type != 0’)...
libcomps-0.1.23/libcomps/src/comps_elem.c:910:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:915:8: branch_true: following ‘true’ branch (when ‘attrs’ is non-NULL)...
branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:916:16: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_elem.c:917:27: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:918:16: branch_true: following ‘true’ branch (when ‘val’ is NULL)...
libcomps-0.1.23/libcomps/src/comps_elem.c:919:17: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:919:17: danger: ‘elem’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
libcomps-0.1.23/libcomps/src/comps_elem.c:925:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_elem.c:899:8: branch_false: following ‘false’ branch (when ‘elem’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_elem.c:902:5: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:903:8: branch_true: following ‘true’ branch (when ‘type == 0’)...
libcomps-0.1.23/libcomps/src/comps_elem.c:904:50: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:904:27: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_elem.c:904:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_elem.c:908:32: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:915:8: branch_true: following ‘true’ branch (when ‘attrs’ is non-NULL)...
branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:916:16: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_elem.c:917:27: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:918:16: branch_false: following ‘false’ branch (when ‘val’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_elem.c:924:53: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:925:13: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def55]
libcomps-0.1.23/libcomps/src/comps_elem.c:925:13: warning[-Wanalyzer-malloc-leak]: leak of ‘elem’
libcomps-0.1.23/libcomps/src/comps_elem.c:899:17: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_elem.c:899:8: branch_false: following ‘false’ branch (when ‘elem’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_elem.c:902:5: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:903:8: branch_false: following ‘false’ branch (when ‘type != 0’)...
libcomps-0.1.23/libcomps/src/comps_elem.c:910:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:915:8: branch_true: following ‘true’ branch (when ‘attrs’ is non-NULL)...
branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:916:16: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_elem.c:917:27: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:918:16: branch_false: following ‘false’ branch (when ‘val’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_elem.c:924:53: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:925:13: danger: ‘elem’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
libcomps-0.1.23/libcomps/src/comps_elem.c:925:13: warning[-Wanalyzer-malloc-leak]: leak of ‘val’
libcomps-0.1.23/libcomps/src/comps_elem.c:899:8: branch_false: following ‘false’ branch (when ‘elem’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_elem.c:902:5: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:903:8: branch_false: following ‘false’ branch (when ‘type != 0’)...
libcomps-0.1.23/libcomps/src/comps_elem.c:910:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:915:8: branch_true: following ‘true’ branch (when ‘attrs’ is non-NULL)...
branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:916:16: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_elem.c:917:27: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:917:19: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_elem.c:918:16: branch_false: following ‘false’ branch (when ‘val’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_elem.c:924:53: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_elem.c:925:13: danger: ‘val’ leaks here; was allocated at [(9)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def57]
libcomps-0.1.23/libcomps/src/comps_hslist.c:55:20: warning[-Wanalyzer-malloc-leak]: leak of ‘it’
libcomps-0.1.23/libcomps/src/comps_hslist.c:52:15: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_hslist.c:52:8: branch_false: following ‘false’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_hslist.c:54:8: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_hslist.c:54:8: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_hslist.c:55:20: danger: ‘it’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
libcomps-0.1.23/libcomps/src/comps_hslist.c:79:17: warning[-Wanalyzer-malloc-leak]: leak of ‘it’
libcomps-0.1.23/libcomps/src/comps_hslist.c:74:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_hslist.c:76:15: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_hslist.c:76:15: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_hslist.c:76:8: branch_false: following ‘false’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_hslist.c:78:8: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_hslist.c:78:8: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_hslist.c:79:17: danger: ‘it’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def59]
libcomps-0.1.23/libcomps/src/comps_hslist.c:101:23: warning[-Wanalyzer-malloc-leak]: leak of ‘newit’
libcomps-0.1.23/libcomps/src/comps_hslist.c:96:8: branch_false: following ‘false’ branch (when ‘hslist’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_hslist.c:98:18: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_hslist.c:98:18: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_hslist.c:98:8: branch_false: following ‘false’ branch (when ‘newit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_hslist.c:100:8: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_hslist.c:100:8: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_hslist.c:101:23: danger: ‘newit’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def60]
libcomps-0.1.23/libcomps/src/comps_hslist.c:119:13: warning[-Wanalyzer-malloc-leak]: leak of ‘newit’
libcomps-0.1.23/libcomps/src/comps_hslist.c:96:8: branch_false: following ‘false’ branch (when ‘hslist’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_hslist.c:98:18: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_hslist.c:98:18: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_hslist.c:98:8: branch_false: following ‘false’ branch (when ‘newit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_hslist.c:100:8: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_hslist.c:109:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_hslist.c:114:15: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_hslist.c:114:15: branch_false: following ‘false’ branch (when ‘n != pos’)...
libcomps-0.1.23/libcomps/src/comps_hslist.c:118:13: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_hslist.c:118:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_hslist.c:119:13: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_hslist.c:119:13: danger: ‘newit’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def61]
libcomps-0.1.23/libcomps/src/comps_hslist.c:134:17: warning[-Wanalyzer-malloc-leak]: leak of ‘it’
libcomps-0.1.23/libcomps/src/comps_hslist.c:129:8: branch_false: following ‘false’ branch (when ‘hslist’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_hslist.c:131:15: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_hslist.c:131:15: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_hslist.c:131:8: branch_false: following ‘false’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_hslist.c:133:8: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_hslist.c:133:8: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_hslist.c:134:17: danger: ‘it’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
libcomps-0.1.23/libcomps/src/comps_hslist.c:249:9: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_hslist_create()’
libcomps-0.1.23/libcomps/src/comps_hslist.c:240:15: enter_function: entry to ‘comps_hslist_clone’
libcomps-0.1.23/libcomps/src/comps_hslist.c:244:11: call_function: calling ‘comps_hslist_create’ from ‘comps_hslist_clone’
libcomps-0.1.23/libcomps/src/comps_hslist.c:244:11: return_function: returning to ‘comps_hslist_clone’ from ‘comps_hslist_create’
libcomps-0.1.23/libcomps/src/comps_hslist.c:245:5: call_function: calling ‘comps_hslist_init’ from ‘comps_hslist_clone’
libcomps-0.1.23/libcomps/src/comps_hslist.c:245:5: return_function: returning to ‘comps_hslist_clone’ from ‘comps_hslist_init’
libcomps-0.1.23/libcomps/src/comps_hslist.c:248:30: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_hslist.c:249:34: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_hslist.c:249:9: danger: ‘comps_hslist_create()’ leaks here; was allocated at [(4)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
libcomps-0.1.23/libcomps/src/comps_log.c:94:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘comps_log_entry_create()’
libcomps-0.1.23/libcomps/src/comps_log.c:157:6: enter_function: entry to ‘comps_log_warning_x’
libcomps-0.1.23/libcomps/src/comps_log.c:160:5: call_function: calling ‘__comps_log_entry_x’ from ‘comps_log_warning_x’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
libcomps-0.1.23/libcomps/src/comps_log.c:110:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*<unknown>.args + (long unsigned int)i * 8’
libcomps-0.1.23/libcomps/src/comps_log.c:151:6: enter_function: entry to ‘comps_log_warning’
libcomps-0.1.23/libcomps/src/comps_log.c:154:5: call_function: calling ‘__comps_log_entry’ from ‘comps_log_warning’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def65]
libcomps-0.1.23/libcomps/src/comps_log.c:110:26: warning[-Wanalyzer-malloc-leak]: leak of ‘*<unknown>.args + (long unsigned int)i * 8’
libcomps-0.1.23/libcomps/src/comps_log.c:151:6: enter_function: entry to ‘comps_log_warning’
libcomps-0.1.23/libcomps/src/comps_log.c:154:5: call_function: calling ‘__comps_log_entry’ from ‘comps_log_warning’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def66]
libcomps-0.1.23/libcomps/src/comps_log.c:110:26: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_log.c:151:6: enter_function: entry to ‘comps_log_warning’
libcomps-0.1.23/libcomps/src/comps_log.c:154:5: call_function: calling ‘__comps_log_entry’ from ‘comps_log_warning’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def67]
libcomps-0.1.23/libcomps/src/comps_log.c:110:26: warning[-Wanalyzer-malloc-leak]: leak of ‘__comps_log_entry_prep(code, type, n)’
libcomps-0.1.23/libcomps/src/comps_log.c:151:6: enter_function: entry to ‘comps_log_warning’
libcomps-0.1.23/libcomps/src/comps_log.c:154:5: call_function: calling ‘__comps_log_entry’ from ‘comps_log_warning’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def68]
libcomps-0.1.23/libcomps/src/comps_log.c:110:26: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libcomps-0.1.23/libcomps/src/comps_log.c:151:6: enter_function: entry to ‘comps_log_warning’
libcomps-0.1.23/libcomps/src/comps_log.c:153:5: acquire_resource: ‘va_start’ called here
libcomps-0.1.23/libcomps/src/comps_log.c:154:5: call_function: calling ‘__comps_log_entry’ from ‘comps_log_warning’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def69]
libcomps-0.1.23/libcomps/src/comps_log.c:118:1: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_log.c:151:6: enter_function: entry to ‘comps_log_warning’
libcomps-0.1.23/libcomps/src/comps_log.c:154:5: call_function: calling ‘__comps_log_entry’ from ‘comps_log_warning’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def70]
libcomps-0.1.23/libcomps/src/comps_log.c:118:1: warning[-Wanalyzer-malloc-leak]: leak of ‘__comps_log_entry_prep(code, type, n)’
libcomps-0.1.23/libcomps/src/comps_log.c:151:6: enter_function: entry to ‘comps_log_warning’
libcomps-0.1.23/libcomps/src/comps_log.c:154:5: call_function: calling ‘__comps_log_entry’ from ‘comps_log_warning’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
libcomps-0.1.23/libcomps/src/comps_log.c:128:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*<unknown>.args + (long unsigned int)i * 8’
libcomps-0.1.23/libcomps/src/comps_log.c:157:6: enter_function: entry to ‘comps_log_warning_x’
libcomps-0.1.23/libcomps/src/comps_log.c:160:5: call_function: calling ‘__comps_log_entry_x’ from ‘comps_log_warning_x’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def72]
libcomps-0.1.23/libcomps/src/comps_log.c:135:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libcomps-0.1.23/libcomps/src/comps_log.c:157:6: enter_function: entry to ‘comps_log_warning_x’
libcomps-0.1.23/libcomps/src/comps_log.c:159:5: acquire_resource: ‘va_start’ called here
libcomps-0.1.23/libcomps/src/comps_log.c:160:5: call_function: calling ‘__comps_log_entry_x’ from ‘comps_log_warning_x’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def73]
libcomps-0.1.23/libcomps/src/comps_log.c:136:1: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_log.c:157:6: enter_function: entry to ‘comps_log_warning_x’
libcomps-0.1.23/libcomps/src/comps_log.c:160:5: call_function: calling ‘__comps_log_entry_x’ from ‘comps_log_warning_x’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def74]
libcomps-0.1.23/libcomps/src/comps_log.c:136:1: warning[-Wanalyzer-malloc-leak]: leak of ‘__comps_log_entry_prep(code, type, n)’
libcomps-0.1.23/libcomps/src/comps_log.c:157:6: enter_function: entry to ‘comps_log_warning_x’
libcomps-0.1.23/libcomps/src/comps_log.c:160:5: call_function: calling ‘__comps_log_entry_x’ from ‘comps_log_warning_x’
Error: CPPCHECK_WARNING (CWE-476): [#def75]
libcomps-0.1.23/libcomps/src/comps_log.c:171: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: args
Error: GCC_ANALYZER_WARNING (CWE-476): [#def76]
libcomps-0.1.23/libcomps/src/comps_log.c:171:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘args’
libcomps-0.1.23/libcomps/src/comps_log.c:167:12: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_log.c:170:21: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_log.c:171:53: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_log.c:171:9: danger: ‘args + (long unsigned int)i * 8’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
libcomps-0.1.23/libcomps/src/comps_log.c:171:19: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_log.c:157:6: enter_function: entry to ‘comps_log_warning_x’
libcomps-0.1.23/libcomps/src/comps_log.c:160:5: call_function: calling ‘__comps_log_entry_x’ from ‘comps_log_warning_x’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
libcomps-0.1.23/libcomps/src/comps_log.c:171:19: warning[-Wanalyzer-malloc-leak]: leak of ‘__comps_log_entry_prep(code, type, n)’
libcomps-0.1.23/libcomps/src/comps_log.c:157:6: enter_function: entry to ‘comps_log_warning_x’
libcomps-0.1.23/libcomps/src/comps_log.c:160:5: call_function: calling ‘__comps_log_entry_x’ from ‘comps_log_warning_x’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
libcomps-0.1.23/libcomps/src/comps_log.c:171:19: warning[-Wanalyzer-malloc-leak]: leak of ‘args’
libcomps-0.1.23/libcomps/src/comps_log.c:167:12: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_log.c:170:21: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_log.c:171:53: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_log.c:171:19: danger: ‘args’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def80]
libcomps-0.1.23/libcomps/src/comps_log.c:171:19: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libcomps-0.1.23/libcomps/src/comps_log.c:157:6: enter_function: entry to ‘comps_log_warning_x’
libcomps-0.1.23/libcomps/src/comps_log.c:159:5: acquire_resource: ‘va_start’ called here
libcomps-0.1.23/libcomps/src/comps_log.c:160:5: call_function: calling ‘__comps_log_entry_x’ from ‘comps_log_warning_x’
Error: CPPCHECK_WARNING (CWE-476): [#def81]
libcomps-0.1.23/libcomps/src/comps_log.c:172: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: args
Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
libcomps-0.1.23/libcomps/src/comps_log.c:185:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_log.c:157:6: enter_function: entry to ‘comps_log_warning_x’
libcomps-0.1.23/libcomps/src/comps_log.c:160:5: call_function: calling ‘__comps_log_entry_x’ from ‘comps_log_warning_x’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
libcomps-0.1.23/libcomps/src/comps_log.c:185:5: warning[-Wanalyzer-malloc-leak]: leak of ‘__comps_log_entry_out(log_entry, & total_len)’
libcomps-0.1.23/libcomps/src/comps_log.c:177:7: enter_function: entry to ‘comps_log_entry_str’
libcomps-0.1.23/libcomps/src/comps_log.c:182:12: call_function: calling ‘__comps_log_entry_out’ from ‘comps_log_entry_str’
libcomps-0.1.23/libcomps/src/comps_log.c:182:12: return_function: returning to ‘comps_log_entry_str’ from ‘__comps_log_entry_out’
libcomps-0.1.23/libcomps/src/comps_log.c:185:5: danger: ‘__comps_log_entry_out(log_entry, & total_len)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
libcomps-0.1.23/libcomps/src/comps_log.c:185:5: warning[-Wanalyzer-malloc-leak]: leak of ‘__comps_log_entry_prep(code, type, n)’
libcomps-0.1.23/libcomps/src/comps_log.c:157:6: enter_function: entry to ‘comps_log_warning_x’
libcomps-0.1.23/libcomps/src/comps_log.c:160:5: call_function: calling ‘__comps_log_entry_x’ from ‘comps_log_warning_x’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
libcomps-0.1.23/libcomps/src/comps_log.c:185:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libcomps-0.1.23/libcomps/src/comps_log.c:177:7: enter_function: entry to ‘comps_log_entry_str’
libcomps-0.1.23/libcomps/src/comps_log.c:182:12: call_function: calling ‘__comps_log_entry_out’ from ‘comps_log_entry_str’
libcomps-0.1.23/libcomps/src/comps_log.c:182:12: return_function: returning to ‘comps_log_entry_str’ from ‘__comps_log_entry_out’
libcomps-0.1.23/libcomps/src/comps_log.c:183:11: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_log.c:185:5: danger: ‘ret’ leaks here; was allocated at [(9)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def86]
libcomps-0.1.23/libcomps/src/comps_log.c:185:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libcomps-0.1.23/libcomps/src/comps_log.c:157:6: enter_function: entry to ‘comps_log_warning_x’
libcomps-0.1.23/libcomps/src/comps_log.c:159:5: acquire_resource: ‘va_start’ called here
libcomps-0.1.23/libcomps/src/comps_log.c:160:5: call_function: calling ‘__comps_log_entry_x’ from ‘comps_log_warning_x’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def87]
libcomps-0.1.23/libcomps/src/comps_log.c:200:5: warning[-Wanalyzer-malloc-leak]: leak of ‘__comps_log_entry_out(log_entry, & total_len)’
libcomps-0.1.23/libcomps/src/comps_log.c:195:6: enter_function: entry to ‘comps_log_entry_print’
libcomps-0.1.23/libcomps/src/comps_log.c:199:12: call_function: calling ‘__comps_log_entry_out’ from ‘comps_log_entry_print’
libcomps-0.1.23/libcomps/src/comps_log.c:199:12: return_function: returning to ‘comps_log_entry_print’ from ‘__comps_log_entry_out’
libcomps-0.1.23/libcomps/src/comps_log.c:200:5: danger: ‘__comps_log_entry_out(log_entry, & total_len)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
libcomps-0.1.23/libcomps/src/comps_mradix.c:46:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_mradix.c:325:6: enter_function: entry to ‘__comps_mrtree_set’
libcomps-0.1.23/libcomps/src/comps_mradix.c:337:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_mradix.c:339:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:345:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:348:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:354:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: call_function: calling ‘comps_mrtree_data_create’ from ‘__comps_mrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
libcomps-0.1.23/libcomps/src/comps_mradix.c:46:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rtd’
libcomps-0.1.23/libcomps/src/comps_mradix.c:325:6: enter_function: entry to ‘__comps_mrtree_set’
libcomps-0.1.23/libcomps/src/comps_mradix.c:337:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_mradix.c:339:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:345:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:348:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:354:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: call_function: calling ‘comps_mrtree_data_create’ from ‘__comps_mrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
libcomps-0.1.23/libcomps/src/comps_mradix.c:47:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_mradix.c:325:6: enter_function: entry to ‘__comps_mrtree_set’
libcomps-0.1.23/libcomps/src/comps_mradix.c:337:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_mradix.c:339:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:345:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:348:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:354:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: call_function: calling ‘comps_mrtree_data_create’ from ‘__comps_mrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
libcomps-0.1.23/libcomps/src/comps_mradix.c:47:5: warning[-Wanalyzer-malloc-leak]: leak of ‘rtd’
libcomps-0.1.23/libcomps/src/comps_mradix.c:325:6: enter_function: entry to ‘__comps_mrtree_set’
libcomps-0.1.23/libcomps/src/comps_mradix.c:337:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_mradix.c:339:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:345:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:348:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:354:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: call_function: calling ‘comps_mrtree_data_create’ from ‘__comps_mrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
libcomps-0.1.23/libcomps/src/comps_mradix.c:50:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_mradix.c:325:6: enter_function: entry to ‘__comps_mrtree_set’
libcomps-0.1.23/libcomps/src/comps_mradix.c:337:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_mradix.c:339:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:345:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:348:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:354:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: call_function: calling ‘comps_mrtree_data_create’ from ‘__comps_mrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
libcomps-0.1.23/libcomps/src/comps_mradix.c:50:9: warning[-Wanalyzer-malloc-leak]: leak of ‘rtd’
libcomps-0.1.23/libcomps/src/comps_mradix.c:325:6: enter_function: entry to ‘__comps_mrtree_set’
libcomps-0.1.23/libcomps/src/comps_mradix.c:337:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_mradix.c:339:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:345:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:348:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:354:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: call_function: calling ‘comps_mrtree_data_create’ from ‘__comps_mrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def94]
libcomps-0.1.23/libcomps/src/comps_mradix.c:51:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_mradix.c:325:6: enter_function: entry to ‘__comps_mrtree_set’
libcomps-0.1.23/libcomps/src/comps_mradix.c:337:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_mradix.c:339:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:345:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:348:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:354:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: call_function: calling ‘comps_mrtree_data_create’ from ‘__comps_mrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def95]
libcomps-0.1.23/libcomps/src/comps_mradix.c:51:21: warning[-Wanalyzer-malloc-leak]: leak of ‘rtd’
libcomps-0.1.23/libcomps/src/comps_mradix.c:325:6: enter_function: entry to ‘__comps_mrtree_set’
libcomps-0.1.23/libcomps/src/comps_mradix.c:337:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_mradix.c:339:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:345:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:348:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:354:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: call_function: calling ‘comps_mrtree_data_create’ from ‘__comps_mrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
libcomps-0.1.23/libcomps/src/comps_mradix.c:52:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_mradix.c:325:6: enter_function: entry to ‘__comps_mrtree_set’
libcomps-0.1.23/libcomps/src/comps_mradix.c:337:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_mradix.c:339:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:345:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:348:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:354:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: call_function: calling ‘comps_mrtree_data_create’ from ‘__comps_mrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def97]
libcomps-0.1.23/libcomps/src/comps_mradix.c:52:5: warning[-Wanalyzer-malloc-leak]: leak of ‘rtd’
libcomps-0.1.23/libcomps/src/comps_mradix.c:325:6: enter_function: entry to ‘__comps_mrtree_set’
libcomps-0.1.23/libcomps/src/comps_mradix.c:337:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_mradix.c:339:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:345:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:348:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:354:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:355:19: call_function: calling ‘comps_mrtree_data_create’ from ‘__comps_mrtree_set’
Error: CPPCHECK_WARNING (CWE-476): [#def98]
libcomps-0.1.23/libcomps/src/comps_mradix.c:183: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: CPPCHECK_WARNING (CWE-476): [#def99]
libcomps-0.1.23/libcomps/src/comps_mradix.c:184: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: CPPCHECK_WARNING (CWE-476): [#def100]
libcomps-0.1.23/libcomps/src/comps_mradix.c:199: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: CPPCHECK_WARNING (CWE-476): [#def101]
libcomps-0.1.23/libcomps/src/comps_mradix.c:257: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: CPPCHECK_WARNING (CWE-476): [#def102]
libcomps-0.1.23/libcomps/src/comps_mradix.c:258: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: CPPCHECK_WARNING (CWE-476): [#def103]
libcomps-0.1.23/libcomps/src/comps_mradix.c:259: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: CPPCHECK_WARNING (CWE-476): [#def104]
libcomps-0.1.23/libcomps/src/comps_mradix.c:276: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: CPPCHECK_WARNING (CWE-476): [#def105]
libcomps-0.1.23/libcomps/src/comps_mradix.c:277: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
libcomps-0.1.23/libcomps/src/comps_mradix.c:375:37: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_mradix.c:418:6: enter_function: entry to ‘comps_mrtree_set’
libcomps-0.1.23/libcomps/src/comps_mradix.c:420:5: call_function: calling ‘__comps_mrtree_set’ from ‘comps_mrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
libcomps-0.1.23/libcomps/src/comps_mradix.c:375:37: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_mrtree_data_create(rt, key + offset, ndata)’
libcomps-0.1.23/libcomps/src/comps_mradix.c:418:6: enter_function: entry to ‘comps_mrtree_set’
libcomps-0.1.23/libcomps/src/comps_mradix.c:420:5: call_function: calling ‘__comps_mrtree_set’ from ‘comps_mrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
libcomps-0.1.23/libcomps/src/comps_mradix.c:397:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_mradix.c:418:6: enter_function: entry to ‘comps_mrtree_set’
libcomps-0.1.23/libcomps/src/comps_mradix.c:420:5: call_function: calling ‘__comps_mrtree_set’ from ‘comps_mrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
libcomps-0.1.23/libcomps/src/comps_mradix.c:397:21: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_mrtree_data_create(rt, *rtdata.key + (sizetype)x, tmpdata)’
libcomps-0.1.23/libcomps/src/comps_mradix.c:418:6: enter_function: entry to ‘comps_mrtree_set’
libcomps-0.1.23/libcomps/src/comps_mradix.c:420:5: call_function: calling ‘__comps_mrtree_set’ from ‘comps_mrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def110]
libcomps-0.1.23/libcomps/src/comps_mradix.c:398:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libcomps-0.1.23/libcomps/src/comps_mradix.c:418:6: enter_function: entry to ‘comps_mrtree_set’
libcomps-0.1.23/libcomps/src/comps_mradix.c:420:5: call_function: calling ‘__comps_mrtree_set’ from ‘comps_mrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
libcomps-0.1.23/libcomps/src/comps_mradix.c:405:62: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_mradix.c:418:6: enter_function: entry to ‘comps_mrtree_set’
libcomps-0.1.23/libcomps/src/comps_mradix.c:420:5: call_function: calling ‘__comps_mrtree_set’ from ‘comps_mrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def112]
libcomps-0.1.23/libcomps/src/comps_mradix.c:405:62: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_mrtree_data_create(rt, key + ((sizetype)x + offset), ndata)’
libcomps-0.1.23/libcomps/src/comps_mradix.c:418:6: enter_function: entry to ‘comps_mrtree_set’
libcomps-0.1.23/libcomps/src/comps_mradix.c:420:5: call_function: calling ‘__comps_mrtree_set’ from ‘comps_mrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def113]
libcomps-0.1.23/libcomps/src/comps_mradix.c:407:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libcomps-0.1.23/libcomps/src/comps_mradix.c:418:6: enter_function: entry to ‘comps_mrtree_set’
libcomps-0.1.23/libcomps/src/comps_mradix.c:420:5: call_function: calling ‘__comps_mrtree_set’ from ‘comps_mrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
libcomps-0.1.23/libcomps/src/comps_mradix.c:596:9: warning[-Wanalyzer-malloc-leak]: leak of ‘relation’
libcomps-0.1.23/libcomps/src/comps_mradix.c:525:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:527:14: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:527:36: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:528:37: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:533:12: branch_false: following ‘false’ branch (when ‘found != 0’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:537:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:546:12: branch_false: following ‘false’ branch (when ‘ended != 3’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:584:17: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:584:17: branch_true: following ‘true’ branch (when ‘ended == 1’)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:584:30: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:589:25: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_mradix.c:589:12: branch_false: following ‘false’ branch (when ‘relation’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_mradix.c:593:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_mradix.c:596:9: danger: ‘relation’ leaks here; was allocated at [(11)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/10)
Error: CPPCHECK_WARNING (CWE-476): [#def115]
libcomps-0.1.23/libcomps/src/comps_obj.c:10: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: GCC_ANALYZER_WARNING (CWE-476): [#def116]
libcomps-0.1.23/libcomps/src/comps_obj.c:10:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘obj’
libcomps-0.1.23/libcomps/src/comps_obj.c:9:11: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_obj.c:10:5: danger: ‘obj’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def117]
libcomps-0.1.23/libcomps/src/comps_obj.c:11: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
libcomps-0.1.23/libcomps/src/comps_obj.c:11:17: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
libcomps-0.1.23/libcomps/src/comps_obj.c:9:11: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_obj.c:11:17: danger: ‘obj’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def119]
libcomps-0.1.23/libcomps/src/comps_obj.c:36: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: GCC_ANALYZER_WARNING (CWE-401): [#def120]
libcomps-0.1.23/libcomps/src/comps_obj.c:36:17: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
libcomps-0.1.23/libcomps/src/comps_obj.c:33:8: branch_false: following ‘false’ branch (when ‘comps_obj’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_obj.c:35:18: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_obj.c:35:11: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_obj.c:36:17: danger: ‘obj’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def121]
libcomps-0.1.23/libcomps/src/comps_obj.c:38: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: obj
Error: CPPCHECK_WARNING (CWE-476): [#def122]
libcomps-0.1.23/libcomps/src/comps_obj.c:69: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def123]
libcomps-0.1.23/libcomps/src/comps_obj.c:69:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ret’
libcomps-0.1.23/libcomps/src/comps_obj.c:68:15: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_obj.c:69:9: danger: ‘ret’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def124]
libcomps-0.1.23/libcomps/src/comps_obj.c:105:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘ret’ where non-null expected
libcomps-0.1.23/libcomps/src/comps_obj.c:104:11: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_obj.c:105:5: danger: argument 1 (‘ret’) from [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def125]
libcomps-0.1.23/libcomps/src/comps_obj.c:117:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(strlen(*(COMPS_Str *)*args_10(D).val) + 1)’ where non-null expected
libcomps-0.1.23/libcomps/src/comps_obj.c:114:8: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_obj.c:115:34: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_obj.c:117:9: danger: argument 1 (‘malloc(strlen(*(COMPS_Str *)*args_10(D).val) + 1)’) from [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def126]
libcomps-0.1.23/libcomps/src/comps_obj.c:126:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(strlen(*(COMPS_Str *)str_src.val) + 1)’ where non-null expected
libcomps-0.1.23/libcomps/src/comps_obj.c:122:8: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_obj.c:125:31: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_obj.c:124:23: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_obj.c:126:9: danger: argument 1 (‘malloc(strlen(*(COMPS_Str *)str_src.val) + 1)’) from [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def127]
libcomps-0.1.23/libcomps/src/comps_obj.c:139: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-688): [#def128]
libcomps-0.1.23/libcomps/src/comps_obj.c:139:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘ret’ where non-null expected
libcomps-0.1.23/libcomps/src/comps_obj.c:137:8: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_obj.c:138:36: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_obj.c:138:15: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_obj.c:139:9: danger: argument 1 (‘ret’) from [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def129]
libcomps-0.1.23/libcomps/src/comps_obj.c:142: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def130]
libcomps-0.1.23/libcomps/src/comps_obj.c:142:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ret’
libcomps-0.1.23/libcomps/src/comps_obj.c:141:15: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_obj.c:142:9: danger: ‘ret’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def131]
libcomps-0.1.23/libcomps/src/comps_obj.c:167:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(strlen(s) + 1)’ where non-null expected
libcomps-0.1.23/libcomps/src/comps_obj.c:163:12: enter_function: entry to ‘comps_str’
libcomps-0.1.23/libcomps/src/comps_obj.c:164:22: call_function: calling ‘comps_object_create’ from ‘comps_str’
libcomps-0.1.23/libcomps/src/comps_obj.c:164:22: return_function: returning to ‘comps_str’ from ‘comps_object_create’
libcomps-0.1.23/libcomps/src/comps_obj.c:165:8: branch_true: following ‘true’ branch (when ‘s’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_obj.c:166:44: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_obj.c:166:20: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_obj.c:167:9: danger: argument 1 (‘malloc(strlen(s) + 1)’) from [(9)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/8) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def132]
libcomps-0.1.23/libcomps/src/comps_obj.c:180:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*str.val’ where non-null expected
libcomps-0.1.23/libcomps/src/comps_obj.c:179:16: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_obj.c:180:5: danger: argument 1 (‘malloc(strlen(s) + 1)’) from [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def133]
libcomps-0.1.23/libcomps/src/comps_objlist.c:13:24: warning[-Wanalyzer-malloc-leak]: leak of ‘objit’
libcomps-0.1.23/libcomps/src/comps_objlist.c:241:5: enter_function: entry to ‘comps_objlist_insert_at’
libcomps-0.1.23/libcomps/src/comps_objlist.c:244:8: branch_false: following ‘false’ branch (when ‘objlist’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objlist.c:245:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:245:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objlist.c:246:30: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:246:30: call_function: calling ‘comps_objlist_it_create’ from ‘comps_objlist_insert_at’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def134]
libcomps-0.1.23/libcomps/src/comps_objlist.c:144:9: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_objlist_it_create(obj)’
libcomps-0.1.23/libcomps/src/comps_objlist.c:409:6: enter_function: entry to ‘comps_objlist_concat_in’
libcomps-0.1.23/libcomps/src/comps_objlist.c:411:29: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objlist.c:412:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:412:9: call_function: calling ‘comps_objlist_append’ from ‘comps_objlist_concat_in’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def135]
libcomps-0.1.23/libcomps/src/comps_objlist.c:211:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘newit’
libcomps-0.1.23/libcomps/src/comps_objlist.c:241:5: enter_function: entry to ‘comps_objlist_insert_at’
libcomps-0.1.23/libcomps/src/comps_objlist.c:244:8: branch_false: following ‘false’ branch (when ‘objlist’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objlist.c:245:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:245:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objlist.c:246:30: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:246:30: call_function: calling ‘comps_objlist_it_create’ from ‘comps_objlist_insert_at’
libcomps-0.1.23/libcomps/src/comps_objlist.c:246:30: return_function: returning to ‘comps_objlist_insert_at’ from ‘comps_objlist_it_create’
libcomps-0.1.23/libcomps/src/comps_objlist.c:247:12: call_function: calling ‘__comps_objlist_insert_at’ from ‘comps_objlist_insert_at’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def136]
libcomps-0.1.23/libcomps/src/comps_objlist.c:217:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘newit’
libcomps-0.1.23/libcomps/src/comps_objlist.c:241:5: enter_function: entry to ‘comps_objlist_insert_at’
libcomps-0.1.23/libcomps/src/comps_objlist.c:244:8: branch_false: following ‘false’ branch (when ‘objlist’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objlist.c:245:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:245:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objlist.c:246:30: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:246:30: call_function: calling ‘comps_objlist_it_create’ from ‘comps_objlist_insert_at’
libcomps-0.1.23/libcomps/src/comps_objlist.c:246:30: return_function: returning to ‘comps_objlist_insert_at’ from ‘comps_objlist_it_create’
libcomps-0.1.23/libcomps/src/comps_objlist.c:247:12: call_function: calling ‘__comps_objlist_insert_at’ from ‘comps_objlist_insert_at’
Error: CPPCHECK_WARNING (CWE-476): [#def137]
libcomps-0.1.23/libcomps/src/comps_objlist.c:227: warning[nullPointer]: Possible null pointer dereference: oldit
Error: GCC_ANALYZER_WARNING (CWE-476): [#def138]
libcomps-0.1.23/libcomps/src/comps_objlist.c:227:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘oldit’
libcomps-0.1.23/libcomps/src/comps_objlist.c:241:5: enter_function: entry to ‘comps_objlist_insert_at’
libcomps-0.1.23/libcomps/src/comps_objlist.c:244:8: branch_false: following ‘false’ branch (when ‘objlist’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objlist.c:245:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:245:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objlist.c:246:30: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:246:30: call_function: calling ‘comps_objlist_it_create’ from ‘comps_objlist_insert_at’
libcomps-0.1.23/libcomps/src/comps_objlist.c:246:30: return_function: returning to ‘comps_objlist_insert_at’ from ‘comps_objlist_it_create’
libcomps-0.1.23/libcomps/src/comps_objlist.c:247:12: call_function: calling ‘__comps_objlist_insert_at’ from ‘comps_objlist_insert_at’
Error: CPPCHECK_WARNING (CWE-476): [#def139]
libcomps-0.1.23/libcomps/src/comps_objlist.c:228: warning[nullPointer]: Possible null pointer dereference: oldit
Error: CPPCHECK_WARNING (CWE-476): [#def140]
libcomps-0.1.23/libcomps/src/comps_objlist.c:469: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def141]
libcomps-0.1.23/libcomps/src/comps_objlist.c:469:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ret’
libcomps-0.1.23/libcomps/src/comps_objlist.c:468:11: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_objlist.c:469:5: danger: ‘ret’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def142]
libcomps-0.1.23/libcomps/src/comps_objlist.c:470: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-457): [#def143]
libcomps-0.1.23/libcomps/src/comps_objlist.c:474:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*items[i]’
libcomps-0.1.23/libcomps/src/comps_objlist.c:455:8: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:456:16: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objlist.c:457:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:456:16: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objlist.c:461:16: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:472:8: branch_true: following ‘true’ branch...
branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:473:21: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objlist.c:474:25: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:473:21: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objlist.c:474:25: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:473:21: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objlist.c:474:25: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:474:25: danger: use of uninitialized value ‘*items[i]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def144]
libcomps-0.1.23/libcomps/src/comps_objlist.c:480:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*items[i]’
libcomps-0.1.23/libcomps/src/comps_objlist.c:455:8: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:456:16: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objlist.c:457:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:456:16: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objlist.c:461:16: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:472:8: branch_true: following ‘true’ branch...
branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:473:21: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objlist.c:474:25: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:473:21: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objlist.c:474:25: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:473:21: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objlist.c:480:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objlist.c:480:21: danger: use of uninitialized value ‘*items[i]’ here
Error: CPPCHECK_WARNING (CWE-476): [#def145]
libcomps-0.1.23/libcomps/src/comps_objlist.c:484: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def146]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:49:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:362:6: enter_function: entry to ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:373:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:377:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:36: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:386:12: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:386:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: call_function: calling ‘comps_objmrtree_data_create’ from ‘__comps_objmrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def147]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:49:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rtd’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:362:6: enter_function: entry to ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:373:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:377:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:36: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:386:12: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:386:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: call_function: calling ‘comps_objmrtree_data_create’ from ‘__comps_objmrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def148]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:51:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:362:6: enter_function: entry to ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:373:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:377:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:386:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: call_function: calling ‘comps_objmrtree_data_create’ from ‘__comps_objmrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def149]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:51:9: warning[-Wanalyzer-malloc-leak]: leak of ‘rtd’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:362:6: enter_function: entry to ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:373:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:377:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:386:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: call_function: calling ‘comps_objmrtree_data_create’ from ‘__comps_objmrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def150]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:52:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:362:6: enter_function: entry to ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:373:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:377:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:386:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: call_function: calling ‘comps_objmrtree_data_create’ from ‘__comps_objmrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:52:21: warning[-Wanalyzer-malloc-leak]: leak of ‘rtd’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:362:6: enter_function: entry to ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:373:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:377:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:386:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: call_function: calling ‘comps_objmrtree_data_create’ from ‘__comps_objmrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def152]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:53:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:362:6: enter_function: entry to ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:373:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:377:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:386:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: call_function: calling ‘comps_objmrtree_data_create’ from ‘__comps_objmrtree_set’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def153]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:53:5: warning[-Wanalyzer-malloc-leak]: leak of ‘rtd’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:362:6: enter_function: entry to ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:373:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:377:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:386:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: call_function: calling ‘comps_objmrtree_data_create’ from ‘__comps_objmrtree_set’
Error: CPPCHECK_WARNING (CWE-476): [#def154]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:291: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: CPPCHECK_WARNING (CWE-476): [#def155]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:292: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: CPPCHECK_WARNING (CWE-476): [#def156]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:307: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-401): [#def157]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:389:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:362:6: enter_function: entry to ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:373:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:377:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:386:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: call_function: calling ‘comps_objmrtree_data_create’ from ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: return_function: returning to ‘__comps_objmrtree_set’ from ‘comps_objmrtree_data_create’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:389:13: danger: ‘<unknown>’ leaks here; was allocated at [(14)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def158]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:389:13: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_objmrtree_data_create(key + offset, ndata)’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:362:6: enter_function: entry to ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:373:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:377:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:386:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: call_function: calling ‘comps_objmrtree_data_create’ from ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:387:19: return_function: returning to ‘__comps_objmrtree_set’ from ‘comps_objmrtree_data_create’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:389:13: danger: ‘comps_objmrtree_data_create(key + offset, ndata)’ leaks here; was allocated at [(12)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def159]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:409:40: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:362:6: enter_function: entry to ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:373:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:377:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:36: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:381:40: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:386:12: branch_false: following ‘false’ branch (when ‘found != 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:392:44: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:400:16: branch_false: following ‘false’ branch (when ‘ended != 3’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:404:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:404:23: branch_true: following ‘true’ branch (when ‘ended == 2’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:405:17: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:407:23: call_function: calling ‘comps_objmrtree_data_create’ from ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:407:23: return_function: returning to ‘__comps_objmrtree_set’ from ‘comps_objmrtree_data_create’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:409:40: danger: ‘<unknown>’ leaks here; was allocated at [(20)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def160]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:409:40: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_objmrtree_data_create(key + offset, ndata)’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:362:6: enter_function: entry to ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:373:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:377:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:36: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:381:40: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:386:12: branch_false: following ‘false’ branch (when ‘found != 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:392:44: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:400:16: branch_false: following ‘false’ branch (when ‘ended != 3’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:404:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:404:23: branch_true: following ‘true’ branch (when ‘ended == 2’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:405:17: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:407:23: call_function: calling ‘comps_objmrtree_data_create’ from ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:407:23: return_function: returning to ‘__comps_objmrtree_set’ from ‘comps_objmrtree_data_create’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:409:40: danger: ‘comps_objmrtree_data_create(key + offset, ndata)’ leaks here; was allocated at [(18)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def161]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:435:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:362:6: enter_function: entry to ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:373:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:377:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:36: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:381:40: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:386:12: branch_false: following ‘false’ branch (when ‘found != 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:392:44: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:400:16: branch_false: following ‘false’ branch (when ‘ended != 3’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:404:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:404:23: branch_false: following ‘false’ branch (when ‘ended != 2’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:419:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:432:20: branch_true: following ‘true’ branch (when ‘cmpret > 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:433:61: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:433:27: call_function: calling ‘comps_objmrtree_data_create’ from ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:433:27: return_function: returning to ‘__comps_objmrtree_set’ from ‘comps_objmrtree_data_create’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:435:21: danger: ‘<unknown>’ leaks here; was allocated at [(22)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def162]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:435:21: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_objmrtree_data_create(*rtdata.key + (sizetype)x, tmpdata)’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:362:6: enter_function: entry to ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:373:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:377:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:36: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:381:40: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:386:12: branch_false: following ‘false’ branch (when ‘found != 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:392:44: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:400:16: branch_false: following ‘false’ branch (when ‘ended != 3’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:404:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:404:23: branch_false: following ‘false’ branch (when ‘ended != 2’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:419:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:432:20: branch_true: following ‘true’ branch (when ‘cmpret > 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:433:61: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:433:27: call_function: calling ‘comps_objmrtree_data_create’ from ‘__comps_objmrtree_set’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:433:27: return_function: returning to ‘__comps_objmrtree_set’ from ‘comps_objmrtree_data_create’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:435:21: danger: ‘comps_objmrtree_data_create(*rtdata.key + (sizetype)x, tmpdata)’ leaks here; was allocated at [(20)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def163]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:436:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:373:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:377:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:380:36: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:381:40: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:386:12: branch_false: following ‘false’ branch (when ‘found != 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:392:44: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:400:16: branch_false: following ‘false’ branch (when ‘ended != 3’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:404:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:404:23: branch_false: following ‘false’ branch (when ‘ended != 2’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:419:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:432:20: branch_true: following ‘true’ branch (when ‘cmpret > 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:433:61: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:436:21: danger: dereference of NULL ‘comps_objmrtree_data_create(*rtdata.key + (sizetype)x, tmpdata)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def164]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:447:61: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:462:6: enter_function: entry to ‘comps_objmrtree_set_n’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:464:5: call_function: calling ‘__comps_objmrtree_set’ from ‘comps_objmrtree_set_n’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def165]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:447:61: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_objmrtree_data_create(key + ((sizetype)x + offset), ndata)’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:462:6: enter_function: entry to ‘comps_objmrtree_set_n’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:464:5: call_function: calling ‘__comps_objmrtree_set’ from ‘comps_objmrtree_set_n’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def166]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:450:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:462:6: enter_function: entry to ‘comps_objmrtree_set_n’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:464:5: call_function: calling ‘__comps_objmrtree_set’ from ‘comps_objmrtree_set_n’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def167]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:597:9: warning[-Wanalyzer-malloc-leak]: leak of ‘relation’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:526:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:528:14: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:528:36: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:529:40: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:534:12: branch_false: following ‘false’ branch (when ‘found != 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:538:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:547:12: branch_false: following ‘false’ branch (when ‘ended != 3’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:585:17: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:585:17: branch_true: following ‘true’ branch (when ‘ended == 1’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:585:30: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:590:25: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:590:12: branch_false: following ‘false’ branch (when ‘relation’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:594:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:597:9: danger: ‘relation’ leaks here; was allocated at [(11)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/10)
Error: CPPCHECK_WARNING (CWE-476): [#def168]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:632: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-476): [#def169]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:632:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pair’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:630:38: branch_true: following ‘true’ branch (when ‘hsit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:631:16: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:631:16: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_objmradix.c:632:9: danger: ‘pair’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def170]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:632:21: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:630:38: branch_true: following ‘true’ branch (when ‘hsit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:631:16: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:631:16: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:632:21: danger: ‘pair’ leaks here; was allocated at [(3)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def171]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:633: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: CPPCHECK_WARNING (CWE-476): [#def172]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:634: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-401): [#def173]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:635:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:630:38: branch_true: following ‘true’ branch (when ‘hsit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:631:16: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:631:16: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:635:9: danger: ‘pair’ leaks here; was allocated at [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def174]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:639:9: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘*to_process.first’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:637:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:639:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:642:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:654:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:655:14: branch_false: following ‘false’ branch (when ‘hsit’ is NULL)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:663:14: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:665:9: release_memory: freed here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:637:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:639:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:639:9: danger: use after ‘free’ of ‘*to_process.first’; freed at [(7)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def175]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:642:13: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘current_pair’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:637:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:639:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:642:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:654:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:655:14: branch_false: following ‘false’ branch (when ‘hsit’ is NULL)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:663:14: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:664:9: release_memory: freed here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:637:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:639:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:642:13: danger: use after ‘free’ of ‘current_pair’; freed at [(8)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/7)
Error: CPPCHECK_WARNING (CWE-476): [#def176]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:649: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rtpair
Error: GCC_ANALYZER_WARNING (CWE-476): [#def177]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:649:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rtpair’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:637:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:639:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:642:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:643:16: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:643:16: branch_false: following ‘false’ branch (when ‘keyvalpair != 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:645:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:645:23: branch_false: following ‘false’ branch (when ‘keyvalpair != 1’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:648:26: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:648:26: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_objmradix.c:649:17: danger: ‘rtpair’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def178]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:649:31: warning[-Wanalyzer-malloc-leak]: leak of ‘rtpair’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:637:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:639:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:642:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:643:16: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:643:16: branch_false: following ‘false’ branch (when ‘keyvalpair != 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:645:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:645:23: branch_false: following ‘false’ branch (when ‘keyvalpair != 1’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:648:26: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:648:26: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:649:31: danger: ‘rtpair’ leaks here; was allocated at [(9)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/8)
Error: CPPCHECK_WARNING (CWE-476): [#def179]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:650: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rtpair
Error: GCC_ANALYZER_WARNING (CWE-401): [#def180]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:651:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rtpair’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:637:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:639:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:642:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:643:16: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:643:16: branch_false: following ‘false’ branch (when ‘keyvalpair != 0’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:645:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:645:23: branch_false: following ‘false’ branch (when ‘keyvalpair != 1’)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:648:26: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:648:26: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:651:17: danger: ‘rtpair’ leaks here; was allocated at [(9)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/8)
Error: CPPCHECK_WARNING (CWE-476): [#def181]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:657: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-476): [#def182]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:657:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pair’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:637:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:639:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:642:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:654:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:655:14: branch_true: following ‘true’ branch (when ‘hsit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:656:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:656:20: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_objmradix.c:657:13: danger: ‘pair’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def183]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:657:25: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:637:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:639:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:642:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:654:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:655:14: branch_true: following ‘true’ branch (when ‘hsit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:656:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:656:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:657:25: danger: ‘pair’ leaks here; was allocated at [(7)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-476): [#def184]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:659: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: CPPCHECK_WARNING (CWE-476): [#def185]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:660: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-401): [#def186]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:661:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:637:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:639:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:642:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:654:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:655:14: branch_true: following ‘true’ branch (when ‘hsit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objmradix.c:656:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:656:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objmradix.c:661:13: danger: ‘pair’ leaks here; was allocated at [(7)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-415): [#def187]
libcomps-0.1.23/libcomps/src/comps_objmradix.c:663:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘((struct Pair)*(void *)((void *)current_pair)).key’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:672:15: enter_function: entry to ‘comps_objmrtree_keys’
libcomps-0.1.23/libcomps/src/comps_objmradix.c:673:12: call_function: calling ‘__comps_objmrtree_all’ from ‘comps_objmrtree_keys’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def188]
libcomps-0.1.23/libcomps/src/comps_objradix.c:51:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objradix.c:744:17: enter_function: entry to ‘comps_objrtree_union’
libcomps-0.1.23/libcomps/src/comps_objradix.c:746:11: call_function: calling ‘comps_objrtree_clone’ from ‘comps_objrtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def189]
libcomps-0.1.23/libcomps/src/comps_objradix.c:51:21: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def190]
libcomps-0.1.23/libcomps/src/comps_objradix.c:51:21: warning[-Wanalyzer-malloc-leak]: leak of ‘rtd’
libcomps-0.1.23/libcomps/src/comps_objradix.c:744:17: enter_function: entry to ‘comps_objrtree_union’
libcomps-0.1.23/libcomps/src/comps_objradix.c:746:11: call_function: calling ‘comps_objrtree_clone’ from ‘comps_objrtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def191]
libcomps-0.1.23/libcomps/src/comps_objradix.c:52:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objradix.c:744:17: enter_function: entry to ‘comps_objrtree_union’
libcomps-0.1.23/libcomps/src/comps_objradix.c:746:11: call_function: calling ‘comps_objrtree_clone’ from ‘comps_objrtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
libcomps-0.1.23/libcomps/src/comps_objradix.c:52:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def193]
libcomps-0.1.23/libcomps/src/comps_objradix.c:52:5: warning[-Wanalyzer-malloc-leak]: leak of ‘rtd’
libcomps-0.1.23/libcomps/src/comps_objradix.c:744:17: enter_function: entry to ‘comps_objrtree_union’
libcomps-0.1.23/libcomps/src/comps_objradix.c:746:11: call_function: calling ‘comps_objrtree_clone’ from ‘comps_objrtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def194]
libcomps-0.1.23/libcomps/src/comps_objradix.c:110:24: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objradix.c:744:17: enter_function: entry to ‘comps_objrtree_union’
libcomps-0.1.23/libcomps/src/comps_objradix.c:746:11: call_function: calling ‘comps_objrtree_clone’ from ‘comps_objrtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def195]
libcomps-0.1.23/libcomps/src/comps_objradix.c:110:24: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_objrtree_data_create(*(COMPS_ObjRTreeData *)it_24->data.key, 0)’
libcomps-0.1.23/libcomps/src/comps_objradix.c:744:17: enter_function: entry to ‘comps_objrtree_union’
libcomps-0.1.23/libcomps/src/comps_objradix.c:746:11: call_function: calling ‘comps_objrtree_clone’ from ‘comps_objrtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
libcomps-0.1.23/libcomps/src/comps_objradix.c:113:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objradix.c:744:17: enter_function: entry to ‘comps_objrtree_union’
libcomps-0.1.23/libcomps/src/comps_objradix.c:746:11: call_function: calling ‘comps_objrtree_clone’ from ‘comps_objrtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def197]
libcomps-0.1.23/libcomps/src/comps_objradix.c:113:9: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_objrtree_data_create(*(COMPS_ObjRTreeData *)it_24->data.key, 0)’
libcomps-0.1.23/libcomps/src/comps_objradix.c:744:17: enter_function: entry to ‘comps_objrtree_union’
libcomps-0.1.23/libcomps/src/comps_objradix.c:746:11: call_function: calling ‘comps_objrtree_clone’ from ‘comps_objrtree_union’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def198]
libcomps-0.1.23/libcomps/src/comps_objradix.c:114:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libcomps-0.1.23/libcomps/src/comps_objradix.c:744:17: enter_function: entry to ‘comps_objrtree_union’
libcomps-0.1.23/libcomps/src/comps_objradix.c:746:11: call_function: calling ‘comps_objrtree_clone’ from ‘comps_objrtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def199]
libcomps-0.1.23/libcomps/src/comps_objradix.c:131:28: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objradix.c:744:17: enter_function: entry to ‘comps_objrtree_union’
libcomps-0.1.23/libcomps/src/comps_objradix.c:746:11: call_function: calling ‘comps_objrtree_clone’ from ‘comps_objrtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
libcomps-0.1.23/libcomps/src/comps_objradix.c:131:28: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_objrtree_data_create(*(COMPS_ObjRTreeData *)it_25->data.key, 0)’
libcomps-0.1.23/libcomps/src/comps_objradix.c:744:17: enter_function: entry to ‘comps_objrtree_union’
libcomps-0.1.23/libcomps/src/comps_objradix.c:746:11: call_function: calling ‘comps_objrtree_clone’ from ‘comps_objrtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def201]
libcomps-0.1.23/libcomps/src/comps_objradix.c:134:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objradix.c:744:17: enter_function: entry to ‘comps_objrtree_union’
libcomps-0.1.23/libcomps/src/comps_objradix.c:746:11: call_function: calling ‘comps_objrtree_clone’ from ‘comps_objrtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def202]
libcomps-0.1.23/libcomps/src/comps_objradix.c:134:13: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_objrtree_data_create(*(COMPS_ObjRTreeData *)it_25->data.key, 0)’
libcomps-0.1.23/libcomps/src/comps_objradix.c:744:17: enter_function: entry to ‘comps_objrtree_union’
libcomps-0.1.23/libcomps/src/comps_objradix.c:746:11: call_function: calling ‘comps_objrtree_clone’ from ‘comps_objrtree_union’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def203]
libcomps-0.1.23/libcomps/src/comps_objradix.c:135:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libcomps-0.1.23/libcomps/src/comps_objradix.c:744:17: enter_function: entry to ‘comps_objrtree_union’
libcomps-0.1.23/libcomps/src/comps_objradix.c:746:11: call_function: calling ‘comps_objrtree_clone’ from ‘comps_objrtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def204]
libcomps-0.1.23/libcomps/src/comps_objradix.c:372:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objradix.c:457:6: enter_function: entry to ‘comps_objrtree_set_nx’
libcomps-0.1.23/libcomps/src/comps_objradix.c:459:5: call_function: calling ‘__comps_objrtree_set’ from ‘comps_objrtree_set_nx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def205]
libcomps-0.1.23/libcomps/src/comps_objradix.c:372:17: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_objrtree_data_create_n(key + offset, len - offset, ndata)’
libcomps-0.1.23/libcomps/src/comps_objradix.c:457:6: enter_function: entry to ‘comps_objrtree_set_nx’
libcomps-0.1.23/libcomps/src/comps_objradix.c:459:5: call_function: calling ‘__comps_objrtree_set’ from ‘comps_objrtree_set_nx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def206]
libcomps-0.1.23/libcomps/src/comps_objradix.c:372:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def207]
libcomps-0.1.23/libcomps/src/comps_objradix.c:374:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objradix.c:457:6: enter_function: entry to ‘comps_objrtree_set_nx’
libcomps-0.1.23/libcomps/src/comps_objradix.c:459:5: call_function: calling ‘__comps_objrtree_set’ from ‘comps_objrtree_set_nx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def208]
libcomps-0.1.23/libcomps/src/comps_objradix.c:374:17: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_objrtree_data_create_n(key + offset, len - offset, ndata)’
libcomps-0.1.23/libcomps/src/comps_objradix.c:457:6: enter_function: entry to ‘comps_objrtree_set_nx’
libcomps-0.1.23/libcomps/src/comps_objradix.c:459:5: call_function: calling ‘__comps_objrtree_set’ from ‘comps_objrtree_set_nx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def209]
libcomps-0.1.23/libcomps/src/comps_objradix.c:374:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def210]
libcomps-0.1.23/libcomps/src/comps_objradix.c:388:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:712:29: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
libcomps-0.1.23/libcomps/src/comps_objradix.c:388:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def212]
libcomps-0.1.23/libcomps/src/comps_objradix.c:397:39: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def213]
libcomps-0.1.23/libcomps/src/comps_objradix.c:397:39: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_objrtree_data_create_n(key + offset, len - offset, ndata)’
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def214]
libcomps-0.1.23/libcomps/src/comps_objradix.c:423:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def215]
libcomps-0.1.23/libcomps/src/comps_objradix.c:423:21: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_objrtree_data_create(*rtdata.key + (sizetype)x, tmpdata)’
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def216]
libcomps-0.1.23/libcomps/src/comps_objradix.c:424:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def217]
libcomps-0.1.23/libcomps/src/comps_objradix.c:428:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def218]
libcomps-0.1.23/libcomps/src/comps_objradix.c:428:21: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_objrtree_data_create(key + ((sizetype)x + offset), ndata)’
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def219]
libcomps-0.1.23/libcomps/src/comps_objradix.c:433:60: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def220]
libcomps-0.1.23/libcomps/src/comps_objradix.c:433:60: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_objrtree_data_create(key + ((sizetype)x + offset), ndata)’
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def221]
libcomps-0.1.23/libcomps/src/comps_objradix.c:435:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def222]
libcomps-0.1.23/libcomps/src/comps_objradix.c:451:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:712:29: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def223]
libcomps-0.1.23/libcomps/src/comps_objradix.c:451:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def224]
libcomps-0.1.23/libcomps/src/comps_objradix.c:451:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘key’ where non-null expected
libcomps-0.1.23/libcomps/src/comps_objradix.c:683:6: enter_function: entry to ‘comps_objrtree_unite’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:712:29: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_objradix.c:728:21: call_function: calling ‘comps_objrtree_set’ from ‘comps_objrtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def225]
libcomps-0.1.23/libcomps/src/comps_objradix.c:607:9: warning[-Wanalyzer-malloc-leak]: leak of ‘relation’
libcomps-0.1.23/libcomps/src/comps_objradix.c:535:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:537:14: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:537:36: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:538:39: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:543:12: branch_false: following ‘false’ branch (when ‘found != 0’)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:547:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:556:12: branch_false: following ‘false’ branch (when ‘ended != 3’)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:595:17: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:595:17: branch_true: following ‘true’ branch (when ‘ended == 1’)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:595:30: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:600:25: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:600:12: branch_false: following ‘false’ branch (when ‘relation’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:604:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:607:9: danger: ‘relation’ leaks here; was allocated at [(11)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/10)
Error: CPPCHECK_WARNING (CWE-476): [#def226]
libcomps-0.1.23/libcomps/src/comps_objradix.c:643: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-476): [#def227]
libcomps-0.1.23/libcomps/src/comps_objradix.c:643:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:641:38: branch_true: following ‘true’ branch (when ‘hsit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:642:16: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:642:16: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_objradix.c:643:9: danger: ‘pair’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def228]
libcomps-0.1.23/libcomps/src/comps_objradix.c:643:21: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:641:38: branch_true: following ‘true’ branch (when ‘hsit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:642:16: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:642:16: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:643:21: danger: ‘pair’ leaks here; was allocated at [(3)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def229]
libcomps-0.1.23/libcomps/src/comps_objradix.c:644: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: CPPCHECK_WARNING (CWE-476): [#def230]
libcomps-0.1.23/libcomps/src/comps_objradix.c:645: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-401): [#def231]
libcomps-0.1.23/libcomps/src/comps_objradix.c:646:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:641:38: branch_true: following ‘true’ branch (when ‘hsit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:642:16: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:642:16: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:646:9: danger: ‘pair’ leaks here; was allocated at [(3)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def232]
libcomps-0.1.23/libcomps/src/comps_objradix.c:650:9: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘*to_process.first’
libcomps-0.1.23/libcomps/src/comps_objradix.c:648:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:650:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:653:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:665:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:666:14: branch_false: following ‘false’ branch (when ‘hsit’ is NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:674:14: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:676:9: release_memory: freed here
libcomps-0.1.23/libcomps/src/comps_objradix.c:648:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:650:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:650:9: danger: use after ‘free’ of ‘*to_process.first’; freed at [(7)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def233]
libcomps-0.1.23/libcomps/src/comps_objradix.c:653:13: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘current_pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:648:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:650:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:653:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:665:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:666:14: branch_false: following ‘false’ branch (when ‘hsit’ is NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:674:14: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:675:9: release_memory: freed here
libcomps-0.1.23/libcomps/src/comps_objradix.c:648:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:650:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:653:13: danger: use after ‘free’ of ‘current_pair’; freed at [(8)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/7)
Error: CPPCHECK_WARNING (CWE-476): [#def234]
libcomps-0.1.23/libcomps/src/comps_objradix.c:660: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rtpair
Error: GCC_ANALYZER_WARNING (CWE-476): [#def235]
libcomps-0.1.23/libcomps/src/comps_objradix.c:660:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rtpair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:648:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:650:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:653:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:654:16: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:654:16: branch_false: following ‘false’ branch (when ‘keyvalpair != 0’)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:656:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:656:23: branch_false: following ‘false’ branch (when ‘keyvalpair != 1’)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:659:26: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:659:26: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_objradix.c:660:17: danger: ‘rtpair’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def236]
libcomps-0.1.23/libcomps/src/comps_objradix.c:660:31: warning[-Wanalyzer-malloc-leak]: leak of ‘rtpair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:648:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:650:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:653:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:654:16: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:654:16: branch_false: following ‘false’ branch (when ‘keyvalpair != 0’)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:656:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:656:23: branch_false: following ‘false’ branch (when ‘keyvalpair != 1’)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:659:26: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:659:26: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:660:31: danger: ‘rtpair’ leaks here; was allocated at [(9)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/8)
Error: CPPCHECK_WARNING (CWE-476): [#def237]
libcomps-0.1.23/libcomps/src/comps_objradix.c:661: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rtpair
Error: GCC_ANALYZER_WARNING (CWE-401): [#def238]
libcomps-0.1.23/libcomps/src/comps_objradix.c:662:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rtpair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:648:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:650:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:653:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:654:16: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:654:16: branch_false: following ‘false’ branch (when ‘keyvalpair != 0’)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:656:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:656:23: branch_false: following ‘false’ branch (when ‘keyvalpair != 1’)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:659:26: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:659:26: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:662:17: danger: ‘rtpair’ leaks here; was allocated at [(9)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/8)
Error: CPPCHECK_WARNING (CWE-476): [#def239]
libcomps-0.1.23/libcomps/src/comps_objradix.c:668: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-476): [#def240]
libcomps-0.1.23/libcomps/src/comps_objradix.c:668:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:648:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:650:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:653:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:665:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:666:14: branch_true: following ‘true’ branch (when ‘hsit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:667:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:667:20: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_objradix.c:668:13: danger: ‘pair’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def241]
libcomps-0.1.23/libcomps/src/comps_objradix.c:668:25: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:648:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:650:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:653:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:665:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:666:14: branch_true: following ‘true’ branch (when ‘hsit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:667:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:667:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:668:25: danger: ‘pair’ leaks here; was allocated at [(7)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-476): [#def242]
libcomps-0.1.23/libcomps/src/comps_objradix.c:670: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: CPPCHECK_WARNING (CWE-476): [#def243]
libcomps-0.1.23/libcomps/src/comps_objradix.c:671: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-401): [#def244]
libcomps-0.1.23/libcomps/src/comps_objradix.c:672:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:648:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:650:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:653:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:665:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:666:14: branch_true: following ‘true’ branch (when ‘hsit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:667:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:667:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:672:13: danger: ‘pair’ leaks here; was allocated at [(7)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-415): [#def245]
libcomps-0.1.23/libcomps/src/comps_objradix.c:674:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘((struct Pair)*(void *)((void *)current_pair)).key’
libcomps-0.1.23/libcomps/src/comps_objradix.c:752:15: enter_function: entry to ‘comps_objrtree_keys’
libcomps-0.1.23/libcomps/src/comps_objradix.c:753:12: call_function: calling ‘__comps_objrtree_all’ from ‘comps_objrtree_keys’
Error: CPPCHECK_WARNING (CWE-476): [#def246]
libcomps-0.1.23/libcomps/src/comps_objradix.c:692: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-476): [#def247]
libcomps-0.1.23/libcomps/src/comps_objradix.c:692:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:691:12: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_objradix.c:692:5: danger: ‘pair’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def248]
libcomps-0.1.23/libcomps/src/comps_objradix.c:693: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-401): [#def249]
libcomps-0.1.23/libcomps/src/comps_objradix.c:695:15: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:691:12: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:695:15: danger: ‘pair’ leaks here; was allocated at [(1)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def250]
libcomps-0.1.23/libcomps/src/comps_objradix.c:696:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:691:12: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:696:5: danger: ‘pair’ leaks here; was allocated at [(1)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def251]
libcomps-0.1.23/libcomps/src/comps_objradix.c:697:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:691:12: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:697:5: danger: ‘pair’ leaks here; was allocated at [(1)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def252]
libcomps-0.1.23/libcomps/src/comps_objradix.c:702:9: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘**tmplist.first.data’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:739:9: release_memory: freed here
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:702:9: danger: use after ‘free’ of ‘*tmplist.95_41->first.data’; freed at [(4)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/3)
Error: CPPCHECK_WARNING (CWE-476): [#def253]
libcomps-0.1.23/libcomps/src/comps_objradix.c:709: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-476): [#def254]
libcomps-0.1.23/libcomps/src/comps_objradix.c:709:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_objradix.c:709:13: danger: ‘pair’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
libcomps-0.1.23/libcomps/src/comps_objradix.c:732:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:712:29: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:727:16: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:731:39: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:732:17: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/57/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def256]
libcomps-0.1.23/libcomps/src/comps_objradix.c:732:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:708:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_objradix.c:727:16: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:731:39: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:732:17: danger: ‘pair’ leaks here; was allocated at [(5)](sarif:/runs/0/results/56/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-415): [#def257]
libcomps-0.1.23/libcomps/src/comps_objradix.c:738:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘((struct Pair)*(void *)**tmplist.first.data).key’
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:738:9: release_memory: first ‘free’ here
libcomps-0.1.23/libcomps/src/comps_objradix.c:699:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_objradix.c:701:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:707:40: branch_false: following ‘false’ branch (when ‘it’ is NULL)...
libcomps-0.1.23/libcomps/src/comps_objradix.c:738:14: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_objradix.c:738:9: danger: second ‘free’ here; first ‘free’ was at [(3)](sarif:/runs/0/results/58/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-563): [#def258]
libcomps-0.1.23/libcomps/src/comps_parse.c: scope_hint: In function ‘comps_parse_start_doctype’
libcomps-0.1.23/libcomps/src/comps_parse.c:133:36: warning[-Wunused-parameter]: unused parameter ‘standalone’
Error: COMPILER_WARNING (CWE-704): [#def259]
libcomps-0.1.23/libcomps/src/comps_parse.c: scope_hint: In function ‘comps_parse_validate_dtd’
libcomps-0.1.23/libcomps/src/comps_parse.c:168:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def260]
libcomps-0.1.23/libcomps/src/comps_parse.c:168:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-476): [#def261]
libcomps-0.1.23/libcomps/src/comps_parse.c:293:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘alltext’
libcomps-0.1.23/libcomps/src/comps_parse.c:287:8: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_parse.c:288:39: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_parse.c:288:19: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_parse.c:289:12: release_memory: assuming ‘alltext’ is NULL
libcomps-0.1.23/libcomps/src/comps_parse.c:289:12: branch_true: following ‘true’ branch (when ‘alltext’ is NULL)...
libcomps-0.1.23/libcomps/src/comps_parse.c:290:13: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_parse.c:293:9: danger: dereference of NULL ‘alltext’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def262]
libcomps-0.1.23/libcomps/src/comps_parse.c:295:20: warning[-Wanalyzer-malloc-leak]: leak of ‘alltext’
libcomps-0.1.23/libcomps/src/comps_parse.c:287:8: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_parse.c:288:39: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_parse.c:288:19: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_parse.c:289:12: branch_false: following ‘false’ branch (when ‘alltext’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_parse.c:293:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_parse.c:295:20: danger: ‘alltext’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def263]
libcomps-0.1.23/libcomps/src/comps_parse.c:297:19: warning[-Wanalyzer-null-argument]: use of NULL ‘alltext’ where non-null expected
libcomps-0.1.23/libcomps/src/comps_parse.c:287:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_parse.c:295:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_parse.c:297:19: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_parse.c:297:19: danger: argument 1 (‘alltext’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def264]
libcomps-0.1.23/libcomps/src/comps_parse.c:434:5: warning[-Wanalyzer-malloc-leak]: leak of ‘c’
libcomps-0.1.23/libcomps/src/comps_parse.c:421:14: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_parse.c:421:8: branch_false: following ‘false’ branch (when ‘c’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_parse.c:429:5: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_parse.c:434:5: danger: ‘c’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def265]
libcomps-0.1.23/libcomps/src/comps_parse.c:449:31: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘it’
libcomps-0.1.23/libcomps/src/comps_parse.c:447:20: branch_true: following ‘true’ branch (when ‘attr_count > x’)...
libcomps-0.1.23/libcomps/src/comps_parse.c:448:41: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_parse.c:448:50: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_parse.c:449:41: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_parse.c:449:16: branch_true: following ‘true’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/src/comps_parse.c:450:21: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_parse.c:459:17: release_memory: freed here
libcomps-0.1.23/libcomps/src/comps_parse.c:447:20: branch_true: following ‘true’ branch (when ‘attr_count > x’)...
libcomps-0.1.23/libcomps/src/comps_parse.c:448:41: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_parse.c:448:50: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_parse.c:449:41: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_parse.c:449:31: danger: use after ‘free’ of ‘it’; freed at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def266]
libcomps-0.1.23/libcomps/src/comps_parse.c:466:39: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘it’
libcomps-0.1.23/libcomps/src/comps_parse.c:447:20: branch_true: following ‘true’ branch (when ‘attr_count > x’)...
libcomps-0.1.23/libcomps/src/comps_parse.c:448:41: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_parse.c:448:50: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_parse.c:449:41: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_parse.c:449:16: branch_true: following ‘true’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/src/comps_parse.c:450:21: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_parse.c:459:17: release_memory: freed here
libcomps-0.1.23/libcomps/src/comps_parse.c:447:20: branch_false: following ‘false’ branch (when ‘attr_count <= x’)...
libcomps-0.1.23/libcomps/src/comps_parse.c:464:37: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_parse.c:464:46: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_parse.c:468:39: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_parse.c:466:39: danger: use after ‘free’ of ‘it’; freed at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def267]
libcomps-0.1.23/libcomps/src/comps_radix.c:54:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def268]
libcomps-0.1.23/libcomps/src/comps_radix.c:54:21: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_rtree_create(*rt.data_constructor, *rt.data_cloner, *rt.data_destructor)’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def269]
libcomps-0.1.23/libcomps/src/comps_radix.c:54:21: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def270]
libcomps-0.1.23/libcomps/src/comps_radix.c:54:21: warning[-Wanalyzer-malloc-leak]: leak of ‘rtd’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def271]
libcomps-0.1.23/libcomps/src/comps_radix.c:55:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def272]
libcomps-0.1.23/libcomps/src/comps_radix.c:55:5: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_rtree_create(*rt.data_constructor, *rt.data_cloner, *rt.data_destructor)’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def273]
libcomps-0.1.23/libcomps/src/comps_radix.c:55:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def274]
libcomps-0.1.23/libcomps/src/comps_radix.c:55:5: warning[-Wanalyzer-malloc-leak]: leak of ‘rtd’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def275]
libcomps-0.1.23/libcomps/src/comps_radix.c:79:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def276]
libcomps-0.1.23/libcomps/src/comps_radix.c:80:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def277]
libcomps-0.1.23/libcomps/src/comps_radix.c:125:24: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def278]
libcomps-0.1.23/libcomps/src/comps_radix.c:125:24: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_rtree_create(*rt.data_constructor, *rt.data_cloner, *rt.data_destructor)’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def279]
libcomps-0.1.23/libcomps/src/comps_radix.c:125:24: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_rtree_data_create(comps_rtree_create(*rt.data_constructor, *rt.data_cloner, *rt.data_destructor), *(COMPS_RTreeData *)it_28->data.key, 0)’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def280]
libcomps-0.1.23/libcomps/src/comps_radix.c:128:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def281]
libcomps-0.1.23/libcomps/src/comps_radix.c:128:9: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_rtree_data_create(comps_rtree_create(*rt.data_constructor, *rt.data_cloner, *rt.data_destructor), *(COMPS_RTreeData *)it_28->data.key, 0)’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def282]
libcomps-0.1.23/libcomps/src/comps_radix.c:129:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def283]
libcomps-0.1.23/libcomps/src/comps_radix.c:131:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def284]
libcomps-0.1.23/libcomps/src/comps_radix.c:139:38: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘*to_clone.first’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def285]
libcomps-0.1.23/libcomps/src/comps_radix.c:140:9: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_rtree_create(*rt.data_constructor, *rt.data_cloner, *rt.data_destructor)’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def286]
libcomps-0.1.23/libcomps/src/comps_radix.c:142:24: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_rtree_create(*rt.data_constructor, *rt.data_cloner, *rt.data_destructor)’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def287]
libcomps-0.1.23/libcomps/src/comps_radix.c:143:9: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_rtree_create(*rt.data_constructor, *rt.data_cloner, *rt.data_destructor)’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def288]
libcomps-0.1.23/libcomps/src/comps_radix.c:148:28: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def289]
libcomps-0.1.23/libcomps/src/comps_radix.c:148:28: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_rtree_create(*rt.data_constructor, *rt.data_cloner, *rt.data_destructor)’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def290]
libcomps-0.1.23/libcomps/src/comps_radix.c:148:28: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_rtree_data_create(comps_rtree_create(*rt.data_constructor, *rt.data_cloner, *rt.data_destructor), *(COMPS_RTreeData *)it_29->data.key, 0)’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def291]
libcomps-0.1.23/libcomps/src/comps_radix.c:151:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def292]
libcomps-0.1.23/libcomps/src/comps_radix.c:151:13: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_rtree_data_create(comps_rtree_create(*rt.data_constructor, *rt.data_cloner, *rt.data_destructor), *(COMPS_RTreeData *)it_29->data.key, 0)’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def293]
libcomps-0.1.23/libcomps/src/comps_radix.c:152:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def294]
libcomps-0.1.23/libcomps/src/comps_radix.c:161:5: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_rtree_create(*rt.data_constructor, *rt.data_cloner, *rt.data_destructor)’
libcomps-0.1.23/libcomps/src/comps_radix.c:587:14: enter_function: entry to ‘comps_rtree_union’
libcomps-0.1.23/libcomps/src/comps_radix.c:589:11: call_function: calling ‘comps_rtree_clone’ from ‘comps_rtree_union’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def295]
libcomps-0.1.23/libcomps/src/comps_radix.c:204:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:554:29: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def296]
libcomps-0.1.23/libcomps/src/comps_radix.c:204:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def297]
libcomps-0.1.23/libcomps/src/comps_radix.c:225:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:554:29: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def298]
libcomps-0.1.23/libcomps/src/comps_radix.c:225:17: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_rtree_data_create(rt, key + offset, ndata)’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def299]
libcomps-0.1.23/libcomps/src/comps_radix.c:225:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def300]
libcomps-0.1.23/libcomps/src/comps_radix.c:227:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:554:29: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def301]
libcomps-0.1.23/libcomps/src/comps_radix.c:227:17: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_rtree_data_create(rt, key + offset, ndata)’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def302]
libcomps-0.1.23/libcomps/src/comps_radix.c:227:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def303]
libcomps-0.1.23/libcomps/src/comps_radix.c:240:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:554:29: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def304]
libcomps-0.1.23/libcomps/src/comps_radix.c:240:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def305]
libcomps-0.1.23/libcomps/src/comps_radix.c:249:36: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def306]
libcomps-0.1.23/libcomps/src/comps_radix.c:249:36: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_rtree_data_create_n(rt, key + offset, len - offset, ndata)’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def307]
libcomps-0.1.23/libcomps/src/comps_radix.c:274:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def308]
libcomps-0.1.23/libcomps/src/comps_radix.c:274:21: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_rtree_data_create(rt, *rtdata.key + (sizetype)x, tmpdata)’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def309]
libcomps-0.1.23/libcomps/src/comps_radix.c:275:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def310]
libcomps-0.1.23/libcomps/src/comps_radix.c:278:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def311]
libcomps-0.1.23/libcomps/src/comps_radix.c:278:21: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_rtree_data_create(rt, key + ((sizetype)x + offset), ndata)’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def312]
libcomps-0.1.23/libcomps/src/comps_radix.c:282:61: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def313]
libcomps-0.1.23/libcomps/src/comps_radix.c:282:61: warning[-Wanalyzer-malloc-leak]: leak of ‘comps_rtree_data_create(rt, key + ((sizetype)x + offset), ndata)’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def314]
libcomps-0.1.23/libcomps/src/comps_radix.c:284:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def315]
libcomps-0.1.23/libcomps/src/comps_radix.c:297:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘key’ where non-null expected
libcomps-0.1.23/libcomps/src/comps_radix.c:526:6: enter_function: entry to ‘comps_rtree_unite’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:554:29: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: call_function: calling ‘comps_rtree_set’ from ‘comps_rtree_unite’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def316]
libcomps-0.1.23/libcomps/src/comps_radix.c:437:9: warning[-Wanalyzer-malloc-leak]: leak of ‘relation’
libcomps-0.1.23/libcomps/src/comps_radix.c:365:12: branch_true: following ‘true’ branch (when ‘offset != len’)...
libcomps-0.1.23/libcomps/src/comps_radix.c:367:14: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:367:36: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:368:36: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:373:12: branch_false: following ‘false’ branch (when ‘found != 0’)...
libcomps-0.1.23/libcomps/src/comps_radix.c:377:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:386:12: branch_false: following ‘false’ branch (when ‘ended != 3’)...
libcomps-0.1.23/libcomps/src/comps_radix.c:425:17: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:425:17: branch_true: following ‘true’ branch (when ‘ended == 1’)...
libcomps-0.1.23/libcomps/src/comps_radix.c:425:30: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:430:25: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:430:12: branch_false: following ‘false’ branch (when ‘relation’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:434:9: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:437:9: danger: ‘relation’ leaks here; was allocated at [(11)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/10)
Error: CPPCHECK_WARNING (CWE-476): [#def317]
libcomps-0.1.23/libcomps/src/comps_radix.c:486: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-476): [#def318]
libcomps-0.1.23/libcomps/src/comps_radix.c:486:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:484:38: branch_true: following ‘true’ branch (when ‘hsit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:485:16: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:485:16: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_radix.c:486:9: danger: ‘pair’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def319]
libcomps-0.1.23/libcomps/src/comps_radix.c:486:21: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:484:38: branch_true: following ‘true’ branch (when ‘hsit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:485:16: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:485:16: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:486:21: danger: ‘pair’ leaks here; was allocated at [(3)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def320]
libcomps-0.1.23/libcomps/src/comps_radix.c:487: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: CPPCHECK_WARNING (CWE-476): [#def321]
libcomps-0.1.23/libcomps/src/comps_radix.c:488: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-401): [#def322]
libcomps-0.1.23/libcomps/src/comps_radix.c:489:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:484:38: branch_true: following ‘true’ branch (when ‘hsit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:485:16: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:485:16: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:489:9: danger: ‘pair’ leaks here; was allocated at [(3)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def323]
libcomps-0.1.23/libcomps/src/comps_radix.c:493:9: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘*to_process.first’
libcomps-0.1.23/libcomps/src/comps_radix.c:491:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:493:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:496:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:508:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:509:14: branch_false: following ‘false’ branch (when ‘hsit’ is NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:517:14: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:519:9: release_memory: freed here
libcomps-0.1.23/libcomps/src/comps_radix.c:491:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:493:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:493:9: danger: use after ‘free’ of ‘*to_process.first’; freed at [(7)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def324]
libcomps-0.1.23/libcomps/src/comps_radix.c:496:13: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘current_pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:491:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:493:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:496:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:508:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:509:14: branch_false: following ‘false’ branch (when ‘hsit’ is NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:517:14: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:518:9: release_memory: freed here
libcomps-0.1.23/libcomps/src/comps_radix.c:491:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:493:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:496:13: danger: use after ‘free’ of ‘current_pair’; freed at [(8)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/7)
Error: CPPCHECK_WARNING (CWE-476): [#def325]
libcomps-0.1.23/libcomps/src/comps_radix.c:503: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rtpair
Error: GCC_ANALYZER_WARNING (CWE-476): [#def326]
libcomps-0.1.23/libcomps/src/comps_radix.c:503:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rtpair’
libcomps-0.1.23/libcomps/src/comps_radix.c:491:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:493:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:496:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:497:16: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:497:16: branch_false: following ‘false’ branch (when ‘keyvalpair != 0’)...
libcomps-0.1.23/libcomps/src/comps_radix.c:499:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:499:23: branch_false: following ‘false’ branch (when ‘keyvalpair != 1’)...
libcomps-0.1.23/libcomps/src/comps_radix.c:502:26: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:502:26: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_radix.c:503:17: danger: ‘rtpair’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def327]
libcomps-0.1.23/libcomps/src/comps_radix.c:503:31: warning[-Wanalyzer-malloc-leak]: leak of ‘rtpair’
libcomps-0.1.23/libcomps/src/comps_radix.c:491:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:493:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:496:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:497:16: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:497:16: branch_false: following ‘false’ branch (when ‘keyvalpair != 0’)...
libcomps-0.1.23/libcomps/src/comps_radix.c:499:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:499:23: branch_false: following ‘false’ branch (when ‘keyvalpair != 1’)...
libcomps-0.1.23/libcomps/src/comps_radix.c:502:26: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:502:26: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:503:31: danger: ‘rtpair’ leaks here; was allocated at [(9)](sarif:/runs/0/results/56/codeFlows/0/threadFlows/0/locations/8)
Error: CPPCHECK_WARNING (CWE-476): [#def328]
libcomps-0.1.23/libcomps/src/comps_radix.c:504: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rtpair
Error: GCC_ANALYZER_WARNING (CWE-401): [#def329]
libcomps-0.1.23/libcomps/src/comps_radix.c:505:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rtpair’
libcomps-0.1.23/libcomps/src/comps_radix.c:491:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:493:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:496:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:497:16: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:497:16: branch_false: following ‘false’ branch (when ‘keyvalpair != 0’)...
libcomps-0.1.23/libcomps/src/comps_radix.c:499:23: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:499:23: branch_false: following ‘false’ branch (when ‘keyvalpair != 1’)...
libcomps-0.1.23/libcomps/src/comps_radix.c:502:26: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:502:26: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:505:17: danger: ‘rtpair’ leaks here; was allocated at [(9)](sarif:/runs/0/results/57/codeFlows/0/threadFlows/0/locations/8)
Error: CPPCHECK_WARNING (CWE-476): [#def330]
libcomps-0.1.23/libcomps/src/comps_radix.c:511: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-476): [#def331]
libcomps-0.1.23/libcomps/src/comps_radix.c:511:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:491:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:493:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:496:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:508:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:509:14: branch_true: following ‘true’ branch (when ‘hsit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:510:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:510:20: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_radix.c:511:13: danger: ‘pair’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/58/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def332]
libcomps-0.1.23/libcomps/src/comps_radix.c:511:25: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:491:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:493:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:496:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:508:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:509:14: branch_true: following ‘true’ branch (when ‘hsit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:510:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:510:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:511:25: danger: ‘pair’ leaks here; was allocated at [(7)](sarif:/runs/0/results/59/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-476): [#def333]
libcomps-0.1.23/libcomps/src/comps_radix.c:513: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: CPPCHECK_WARNING (CWE-476): [#def334]
libcomps-0.1.23/libcomps/src/comps_radix.c:514: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-401): [#def335]
libcomps-0.1.23/libcomps/src/comps_radix.c:515:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:491:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:493:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:496:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:508:21: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:509:14: branch_true: following ‘true’ branch (when ‘hsit’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:510:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:510:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:515:13: danger: ‘pair’ leaks here; was allocated at [(7)](sarif:/runs/0/results/60/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-415): [#def336]
libcomps-0.1.23/libcomps/src/comps_radix.c:517:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘((struct Pair)*(void *)((void *)current_pair)).key’
libcomps-0.1.23/libcomps/src/comps_radix.c:595:15: enter_function: entry to ‘comps_rtree_keys’
libcomps-0.1.23/libcomps/src/comps_radix.c:596:12: call_function: calling ‘__comps_rtree_all’ from ‘comps_rtree_keys’
Error: CPPCHECK_WARNING (CWE-476): [#def337]
libcomps-0.1.23/libcomps/src/comps_radix.c:535: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-476): [#def338]
libcomps-0.1.23/libcomps/src/comps_radix.c:535:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:534:12: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_radix.c:535:5: danger: ‘pair’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/62/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def339]
libcomps-0.1.23/libcomps/src/comps_radix.c:536: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-401): [#def340]
libcomps-0.1.23/libcomps/src/comps_radix.c:538:15: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:534:12: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:538:15: danger: ‘pair’ leaks here; was allocated at [(1)](sarif:/runs/0/results/63/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def341]
libcomps-0.1.23/libcomps/src/comps_radix.c:539:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:534:12: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:539:5: danger: ‘pair’ leaks here; was allocated at [(1)](sarif:/runs/0/results/64/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def342]
libcomps-0.1.23/libcomps/src/comps_radix.c:540:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:534:12: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:540:5: danger: ‘pair’ leaks here; was allocated at [(1)](sarif:/runs/0/results/65/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def343]
libcomps-0.1.23/libcomps/src/comps_radix.c:545:9: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘**tmplist.first.data’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:582:9: release_memory: freed here
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:545:9: danger: use after ‘free’ of ‘*tmplist.73_42->first.data’; freed at [(4)](sarif:/runs/0/results/66/codeFlows/0/threadFlows/0/locations/3)
Error: CPPCHECK_WARNING (CWE-476): [#def344]
libcomps-0.1.23/libcomps/src/comps_radix.c:551: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pair
Error: GCC_ANALYZER_WARNING (CWE-476): [#def345]
libcomps-0.1.23/libcomps/src/comps_radix.c:551:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_radix.c:551:13: danger: ‘pair’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/67/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def346]
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:554:29: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/69/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def347]
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:570:21: danger: ‘pair’ leaks here; was allocated at [(5)](sarif:/runs/0/results/68/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def348]
libcomps-0.1.23/libcomps/src/comps_radix.c:575:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:554:29: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:569:16: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:574:36: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:575:17: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/70/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def349]
libcomps-0.1.23/libcomps/src/comps_radix.c:575:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pair’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:550:20: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/comps_radix.c:569:16: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:574:36: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:575:17: danger: ‘pair’ leaks here; was allocated at [(5)](sarif:/runs/0/results/71/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-415): [#def350]
libcomps-0.1.23/libcomps/src/comps_radix.c:581:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘((struct Pair)*(void *)**tmplist.first.data).key’
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:581:9: release_memory: first ‘free’ here
libcomps-0.1.23/libcomps/src/comps_radix.c:542:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_radix.c:544:9: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:549:40: branch_false: following ‘false’ branch (when ‘it’ is NULL)...
libcomps-0.1.23/libcomps/src/comps_radix.c:581:14: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_radix.c:581:9: danger: second ‘free’ here; first ‘free’ was at [(3)](sarif:/runs/0/results/72/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def351]
libcomps-0.1.23/libcomps/src/comps_set.c:41:17: warning[-Wanalyzer-malloc-leak]: leak of ‘not_processed1’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def352]
libcomps-0.1.23/libcomps/src/comps_set.c:41:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def353]
libcomps-0.1.23/libcomps/src/comps_set.c:50:5: warning[-Wanalyzer-malloc-leak]: leak of ‘not_processed1’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:191:5: call_function: calling ‘comps_set_destroy’ from ‘comps_set_cmp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def354]
libcomps-0.1.23/libcomps/src/comps_set.c:50:5: warning[-Wanalyzer-malloc-leak]: leak of ‘not_processed2’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:191:5: call_function: calling ‘comps_set_destroy’ from ‘comps_set_cmp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def355]
libcomps-0.1.23/libcomps/src/comps_set.c:70:5: warning[-Wanalyzer-malloc-leak]: leak of ‘not_processed1’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def356]
libcomps-0.1.23/libcomps/src/comps_set.c:70:5: warning[-Wanalyzer-malloc-leak]: leak of ‘not_processed2’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def357]
libcomps-0.1.23/libcomps/src/comps_set.c:86:13: warning[-Wanalyzer-malloc-leak]: leak of ‘not_processed1’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:163:13: call_function: inlined call to ‘comps_set_is_empty’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:164:13: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:164:13: call_function: inlined call to ‘comps_set_is_empty’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:165:19: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:165:19: call_function: calling ‘comps_set_at’ from ‘comps_set_cmp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def358]
libcomps-0.1.23/libcomps/src/comps_set.c:86:13: warning[-Wanalyzer-malloc-leak]: leak of ‘not_processed2’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:163:13: call_function: inlined call to ‘comps_set_is_empty’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:164:13: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:164:13: call_function: inlined call to ‘comps_set_is_empty’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:165:19: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:165:19: call_function: calling ‘comps_set_at’ from ‘comps_set_cmp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def359]
libcomps-0.1.23/libcomps/src/comps_set.c:121:17: warning[-Wanalyzer-malloc-leak]: leak of ‘not_processed1’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:163:13: call_function: inlined call to ‘comps_set_is_empty’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:164:13: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:164:13: call_function: inlined call to ‘comps_set_is_empty’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:165:19: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:165:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_set.c:166:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:166:20: call_function: calling ‘comps_set_remove’ from ‘comps_set_cmp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def360]
libcomps-0.1.23/libcomps/src/comps_set.c:121:17: warning[-Wanalyzer-malloc-leak]: leak of ‘not_processed2’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:163:13: call_function: inlined call to ‘comps_set_is_empty’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:164:13: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:164:13: call_function: inlined call to ‘comps_set_is_empty’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:165:19: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:165:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_set.c:166:20: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:166:20: call_function: calling ‘comps_set_remove’ from ‘comps_set_cmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def361]
libcomps-0.1.23/libcomps/src/comps_set.c:132:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘not_processed1’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:5: release_memory: ‘not_processed1’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:146:5: release_memory: ‘not_processed1’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: release_memory: ‘not_processed1’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: release_memory: ‘not_processed1’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:153:41: branch_false: following ‘false’ branch (when ‘it’ is NULL)...
libcomps-0.1.23/libcomps/src/comps_set.c:156:10: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:156:41: branch_false: following ‘false’ branch (when ‘it’ is NULL)...
libcomps-0.1.23/libcomps/src/comps_set.c:159:10: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:163:13: release_memory: ‘not_processed1’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:163:13: call_function: inlined call to ‘comps_set_is_empty’ from ‘comps_set_cmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def362]
libcomps-0.1.23/libcomps/src/comps_set.c:132:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘not_processed2’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:146:5: release_memory: ‘not_processed2’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: release_memory: ‘not_processed2’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:156:41: branch_false: following ‘false’ branch (when ‘it’ is NULL)...
libcomps-0.1.23/libcomps/src/comps_set.c:159:10: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:163:13: call_function: inlined call to ‘comps_set_is_empty’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:164:13: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:164:13: release_memory: ‘not_processed2’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:164:13: call_function: inlined call to ‘comps_set_is_empty’ from ‘comps_set_cmp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def363]
libcomps-0.1.23/libcomps/src/comps_set.c:154:9: warning[-Wanalyzer-malloc-leak]: leak of ‘not_processed1’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:153:41: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_set.c:154:43: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:154:9: danger: ‘not_processed1’ leaks here; was allocated at [(4)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def364]
libcomps-0.1.23/libcomps/src/comps_set.c:154:9: warning[-Wanalyzer-malloc-leak]: leak of ‘not_processed2’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:153:41: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_set.c:154:43: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:154:9: danger: ‘not_processed2’ leaks here; was allocated at [(11)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def365]
libcomps-0.1.23/libcomps/src/comps_set.c:154:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘not_processed1’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:5: release_memory: ‘not_processed1’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:146:5: release_memory: ‘not_processed1’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: release_memory: ‘not_processed1’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: release_memory: ‘not_processed1’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:153:41: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_set.c:154:43: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:154:43: release_memory: ‘not_processed1’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:154:9: danger: dereference of NULL ‘not_processed1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def366]
libcomps-0.1.23/libcomps/src/comps_set.c:157:9: warning[-Wanalyzer-malloc-leak]: leak of ‘not_processed1’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:156:41: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_set.c:157:43: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:157:9: danger: ‘not_processed1’ leaks here; was allocated at [(4)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def367]
libcomps-0.1.23/libcomps/src/comps_set.c:157:9: warning[-Wanalyzer-malloc-leak]: leak of ‘not_processed2’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:146:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:153:41: branch_false: following ‘false’ branch (when ‘it’ is NULL)...
libcomps-0.1.23/libcomps/src/comps_set.c:156:10: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:156:41: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_set.c:157:43: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:157:9: danger: ‘not_processed2’ leaks here; was allocated at [(12)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def368]
libcomps-0.1.23/libcomps/src/comps_set.c:157:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘not_processed1’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:5: release_memory: ‘not_processed1’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:146:5: release_memory: ‘not_processed1’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: release_memory: ‘not_processed1’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: release_memory: ‘not_processed1’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:153:41: branch_false: following ‘false’ branch (when ‘it’ is NULL)...
libcomps-0.1.23/libcomps/src/comps_set.c:156:10: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:156:41: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_set.c:157:43: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:157:43: release_memory: ‘not_processed1’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:157:9: danger: dereference of NULL ‘not_processed2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def369]
libcomps-0.1.23/libcomps/src/comps_set.c:157:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘not_processed2’
libcomps-0.1.23/libcomps/src/comps_set.c:137:6: enter_function: entry to ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: call_function: calling ‘comps_set_create’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:145:22: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_create’
libcomps-0.1.23/libcomps/src/comps_set.c:146:5: release_memory: ‘not_processed2’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:147:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: release_memory: ‘not_processed2’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: call_function: calling ‘comps_set_init’ from ‘comps_set_cmp’
libcomps-0.1.23/libcomps/src/comps_set.c:150:5: return_function: returning to ‘comps_set_cmp’ from ‘comps_set_init’
libcomps-0.1.23/libcomps/src/comps_set.c:156:41: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_set.c:157:43: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_set.c:157:43: release_memory: ‘not_processed2’ is NULL
libcomps-0.1.23/libcomps/src/comps_set.c:157:9: danger: dereference of NULL ‘not_processed2’
Error: CPPCHECK_WARNING (CWE-476): [#def370]
libcomps-0.1.23/libcomps/src/comps_utils.c:57: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def371]
libcomps-0.1.23/libcomps/src/comps_utils.c:57:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ret’
libcomps-0.1.23/libcomps/src/comps_utils.c:56:11: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_utils.c:57:5: danger: ‘ret’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def372]
libcomps-0.1.23/libcomps/src/comps_utils.c:58: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def373]
libcomps-0.1.23/libcomps/src/comps_utils.c:93: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: arches_str
Error: GCC_ANALYZER_WARNING (CWE-476): [#def374]
libcomps-0.1.23/libcomps/src/comps_utils.c:93:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘arches_str’
libcomps-0.1.23/libcomps/src/comps_utils.c:92:22: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_utils.c:93:9: danger: ‘arches_str’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def375]
libcomps-0.1.23/libcomps/src/comps_utils.c:103: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: arches_str
Error: GCC_ANALYZER_WARNING (CWE-476): [#def376]
libcomps-0.1.23/libcomps/src/comps_utils.c:103:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘arches_str’
libcomps-0.1.23/libcomps/src/comps_utils.c:91:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_utils.c:102:18: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_utils.c:103:5: danger: ‘arches_str’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def377]
libcomps-0.1.23/libcomps/src/comps_utils.c:107: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: arches_str
Error: CPPCHECK_WARNING (CWE-476): [#def378]
libcomps-0.1.23/libcomps/src/comps_utils.c:109: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: arches_str
Error: CPPCHECK_WARNING (CWE-476): [#def379]
libcomps-0.1.23/libcomps/src/comps_utils.c:111: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: arches_str
Error: GCC_ANALYZER_WARNING (CWE-401): [#def380]
libcomps-0.1.23/libcomps/src/comps_utils.c:119:19: warning[-Wanalyzer-malloc-leak]: leak of ‘__comps_xml_arch_str(archlist)’
libcomps-0.1.23/libcomps/src/comps_utils.c:116:5: enter_function: entry to ‘__comps_xml_arch’
libcomps-0.1.23/libcomps/src/comps_utils.c:117:8: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/src/comps_utils.c:118:22: call_function: calling ‘__comps_xml_arch_str’ from ‘__comps_xml_arch’
libcomps-0.1.23/libcomps/src/comps_utils.c:118:22: return_function: returning to ‘__comps_xml_arch’ from ‘__comps_xml_arch_str’
libcomps-0.1.23/libcomps/src/comps_utils.c:119:19: danger: ‘__comps_xml_arch_str(archlist)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/7)
Error: CPPCHECK_WARNING (CWE-476): [#def381]
libcomps-0.1.23/libcomps/src/comps_utils.c:130: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def382]
libcomps-0.1.23/libcomps/src/comps_utils.c:136: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def383]
libcomps-0.1.23/libcomps/src/comps_utils.c:137: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-688): [#def384]
libcomps-0.1.23/libcomps/src/comps_utils.c:137:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘ret’ where non-null expected
libcomps-0.1.23/libcomps/src/comps_utils.c:135:11: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_utils.c:137:5: danger: argument 1 (‘ret’) from [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def385]
libcomps-0.1.23/libcomps/src/comps_validate.c:195:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘msg’ where non-null expected
libcomps-0.1.23/libcomps/src/comps_validate.c:180:10: branch_true: following ‘true’ branch (when ‘it’ is non-NULL)...
libcomps-0.1.23/libcomps/src/comps_validate.c:182:45: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_validate.c:182:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/comps_validate.c:185:16: branch_false: ...to here
libcomps-0.1.23/libcomps/src/comps_validate.c:185:16: branch_true: following ‘true’ branch (when ‘valres’ is NULL)...
libcomps-0.1.23/libcomps/src/comps_validate.c:186:47: branch_true: ...to here
libcomps-0.1.23/libcomps/src/comps_validate.c:193:19: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/comps_validate.c:195:13: danger: argument 1 (‘msg’) from [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def386]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:60: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: *options
Error: GCC_ANALYZER_WARNING (CWE-476): [#def387]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:60:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(15)’
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:44:16: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:60:5: danger: ‘malloc(15)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def388]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:92: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: *options
Error: GCC_ANALYZER_WARNING (CWE-476): [#def389]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:92:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(8)’
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:87:16: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:92:5: danger: ‘malloc(8)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def390]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:245:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fname, "r")’
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:223:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:230:14: branch_false: ...to here
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:231:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:235:10: branch_false: ...to here
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:235:10: acquire_resource: opened here
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:236:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:244:18: branch_false: ...to here
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:245:5: danger: ‘fopen(fname, "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def391]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:245:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fname, "r")’
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:223:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:230:14: branch_false: ...to here
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:231:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:235:10: branch_false: ...to here
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:235:10: acquire_memory: allocated here
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:236:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:244:18: branch_false: ...to here
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:245:5: danger: ‘fopen(fname, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING (CWE-843): [#def392]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:775:22: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def393]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:777:26: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def394]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:779:28: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def395]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:781:18: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS *)’ {aka ‘struct _object * (*)(PyCOMPS *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def396]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:783:21: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS *)’ {aka ‘struct _object * (*)(PyCOMPS *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def397]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:785:15: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def398]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:787:17: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def399]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:789:17: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def400]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:791:19: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def401]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:793:19: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def402]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:795:21: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def403]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:797:15: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def404]
libcomps-0.1.23/libcomps/src/python/src/pycomps.c:978:33: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def405]
libcomps-0.1.23/libcomps/src/python/src/pycomps_categories.c:202:18: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS_Category *)’ {aka ‘struct _object * (*)(PyCOMPS_Category *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def406]
libcomps-0.1.23/libcomps/src/python/src/pycomps_dict.c:394:16: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def407]
libcomps-0.1.23/libcomps/src/python/src/pycomps_dict.c:396:17: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def408]
libcomps-0.1.23/libcomps/src/python/src/pycomps_dict.c:398:15: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def409]
libcomps-0.1.23/libcomps/src/python/src/pycomps_dict.c:400:16: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def410]
libcomps-0.1.23/libcomps/src/python/src/pycomps_dict.c:402:15: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def411]
libcomps-0.1.23/libcomps/src/python/src/pycomps_envs.c:168:18: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS_Env *)’ {aka ‘struct _object * (*)(PyCOMPS_Env *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def412]
libcomps-0.1.23/libcomps/src/python/src/pycomps_gids.c:200:18: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS_GID *)’ {aka ‘struct _object * (*)(PyCOMPS_GID *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def413]
libcomps-0.1.23/libcomps/src/python/src/pycomps_groups.c:213:18: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS_Group *)’ {aka ‘struct _object * (*)(PyCOMPS_Group *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def414]
libcomps-0.1.23/libcomps/src/python/src/pycomps_groups.c:215:24: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def415]
libcomps-0.1.23/libcomps/src/python/src/pycomps_groups.c:845:18: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS_Package *)’ {aka ‘struct _object * (*)(PyCOMPS_Package *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def416]
libcomps-0.1.23/libcomps/src/python/src/pycomps_mdict.c:414:16: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def417]
libcomps-0.1.23/libcomps/src/python/src/pycomps_mdict.c:416:17: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def418]
libcomps-0.1.23/libcomps/src/python/src/pycomps_mdict.c:418:15: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def419]
libcomps-0.1.23/libcomps/src/python/src/pycomps_mdict.c:420:16: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING (CWE-843): [#def420]
libcomps-0.1.23/libcomps/src/python/src/pycomps_mdict.c:422:15: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: COMPILER_WARNING: [#def421]
libcomps-0.1.23/libcomps/src/python/src/pycomps_sequence.c:99:13: warning[warning]: ‘_Py_TYPE’ is static but used in inline function ‘list_setitem_convert’ which is not static
Error: COMPILER_WARNING (CWE-843): [#def422]
libcomps-0.1.23/libcomps/src/python/src/pycomps_sequence.c:646:16: warning[-Wcast-function-type]: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’}
Error: GCC_ANALYZER_WARNING (CWE-401): [#def423]
libcomps-0.1.23/libcomps/src/python/src/pycomps_utils.c:33:27: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
libcomps-0.1.23/libcomps/src/python/src/pycomps_utils.c:30:15: enter_function: entry to ‘__pycomps_unicode_in’
libcomps-0.1.23/libcomps/src/python/src/pycomps_utils.c:32:5: call_function: calling ‘__pycomps_PyUnicode_AsString’ from ‘__pycomps_unicode_in’
libcomps-0.1.23/libcomps/src/python/src/pycomps_utils.c:32:5: return_function: returning to ‘__pycomps_unicode_in’ from ‘__pycomps_PyUnicode_AsString’
libcomps-0.1.23/libcomps/src/python/src/pycomps_utils.c:33:27: danger: ‘tmp’ leaks here; was allocated at [(10)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/9)
Error: CPPCHECK_WARNING (CWE-476): [#def424]
libcomps-0.1.23/libcomps/src/python/src/pycomps_utils.c:171: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def425]
libcomps-0.1.23/libcomps/tests/check_brtree.c:36: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def426]
libcomps-0.1.23/libcomps/tests/check_brtree.c:36:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ret’
libcomps-0.1.23/libcomps/tests/check_brtree.c:35:11: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/tests/check_brtree.c:36:5: danger: ‘ret’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def427]
libcomps-0.1.23/libcomps/tests/check_brtree.c:37: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def428]
libcomps-0.1.23/libcomps/tests/check_brtree.c:76: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def429]
libcomps-0.1.23/libcomps/tests/check_brtree.c:77: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def430]
libcomps-0.1.23/libcomps/tests/check_brtree.c:77:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ret’
libcomps-0.1.23/libcomps/tests/check_brtree.c:75:11: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/tests/check_brtree.c:77:5: danger: ‘ret’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def431]
libcomps-0.1.23/libcomps/tests/check_brtree.c:78: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def432]
libcomps-0.1.23/libcomps/tests/check_brtree.c:89: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def433]
libcomps-0.1.23/libcomps/tests/check_brtree.c:89:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ret’
libcomps-0.1.23/libcomps/tests/check_brtree.c:88:11: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/tests/check_brtree.c:89:5: danger: ‘ret’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def434]
libcomps-0.1.23/libcomps/tests/check_brtree.c:91: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def435]
libcomps-0.1.23/libcomps/tests/check_brtree.c:91:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(8)’
libcomps-0.1.23/libcomps/tests/check_brtree.c:89:16: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/tests/check_brtree.c:90:17: branch_true: following ‘true’ branch (when ‘i != 8’)...
libcomps-0.1.23/libcomps/tests/check_brtree.c:91:35: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_brtree.c:91:9: danger: ‘malloc(8) + (sizetype)i’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def436]
libcomps-0.1.23/libcomps/tests/check_brtree.c:99: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def437]
libcomps-0.1.23/libcomps/tests/check_brtree.c:135: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def438]
libcomps-0.1.23/libcomps/tests/check_brtree.c:135:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ret’
libcomps-0.1.23/libcomps/tests/check_brtree.c:133:11: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/tests/check_brtree.c:135:5: danger: ‘ret’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def439]
libcomps-0.1.23/libcomps/tests/check_brtree.c:138: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def440]
libcomps-0.1.23/libcomps/tests/check_brtree.c:140: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def441]
libcomps-0.1.23/libcomps/tests/check_brtree.c:156: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def442]
libcomps-0.1.23/libcomps/tests/check_brtree.c:156:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ret’
libcomps-0.1.23/libcomps/tests/check_brtree.c:155:11: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/tests/check_brtree.c:156:5: danger: ‘ret’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def443]
libcomps-0.1.23/libcomps/tests/check_brtree.c:163: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def444]
libcomps-0.1.23/libcomps/tests/check_brtree.c:163:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)(*(struct _key *)key1.keylen + *(struct _key *)key2.keylen))’
libcomps-0.1.23/libcomps/tests/check_brtree.c:156:16: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/tests/check_brtree.c:162:17: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_brtree.c:163:23: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_brtree.c:163:9: danger: ‘malloc((long unsigned int)(*(struct _key *)key1.keylen + *(struct _key *)key2.keylen)) + (sizetype)i’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def445]
libcomps-0.1.23/libcomps/tests/check_brtree.c:164: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def446]
libcomps-0.1.23/libcomps/tests/check_brtree.c:168: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def447]
libcomps-0.1.23/libcomps/tests/check_brtree.c:168:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)(*(struct _key *)key1.keylen + *(struct _key *)key2.keylen))’
libcomps-0.1.23/libcomps/tests/check_brtree.c:156:16: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/tests/check_brtree.c:162:17: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_brtree.c:167:17: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_brtree.c:168:27: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_brtree.c:168:9: danger: ‘malloc((long unsigned int)(*(struct _key *)key1.keylen + *(struct _key *)key2.keylen)) + (sizetype)(i + i)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def448]
libcomps-0.1.23/libcomps/tests/check_brtree.c:170: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def449]
libcomps-0.1.23/libcomps/tests/check_brtree.c:191: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def450]
libcomps-0.1.23/libcomps/tests/check_brtree.c:191:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ret’
libcomps-0.1.23/libcomps/tests/check_brtree.c:190:18: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/tests/check_brtree.c:191:5: danger: ‘ret’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def451]
libcomps-0.1.23/libcomps/tests/check_brtree.c:197: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def452]
libcomps-0.1.23/libcomps/tests/check_brtree.c:266:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:266:5: danger: ‘<unknown>’ leaks here; was allocated at [(4)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def453]
libcomps-0.1.23/libcomps/tests/check_brtree.c:266:5: warning[-Wanalyzer-malloc-leak]: leak of ‘make_key(&a)’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:266:5: danger: ‘make_key(&a)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def454]
libcomps-0.1.23/libcomps/tests/check_brtree.c:266:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:266:5: call_function: inlined call to ‘int_cloner’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:266:5: danger: ‘ret’ leaks here; was allocated at [(10)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def455]
libcomps-0.1.23/libcomps/tests/check_brtree.c:269:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:269:5: danger: ‘<unknown>’ leaks here; was allocated at [(11)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def456]
libcomps-0.1.23/libcomps/tests/check_brtree.c:269:5: warning[-Wanalyzer-malloc-leak]: leak of ‘make_key(&b)’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:267:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:267:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:269:5: danger: ‘make_key(&b)’ leaks here; was allocated at [(17)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def457]
libcomps-0.1.23/libcomps/tests/check_brtree.c:269:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:269:5: call_function: inlined call to ‘int_cloner’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:269:5: danger: ‘ret’ leaks here; was allocated at [(17)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def458]
libcomps-0.1.23/libcomps/tests/check_brtree.c:272:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:272:5: danger: ‘<unknown>’ leaks here; was allocated at [(18)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def459]
libcomps-0.1.23/libcomps/tests/check_brtree.c:272:5: warning[-Wanalyzer-malloc-leak]: leak of ‘make_key(&c)’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:267:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:267:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:270:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:270:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:272:5: danger: ‘make_key(&c)’ leaks here; was allocated at [(30)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/29)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def460]
libcomps-0.1.23/libcomps/tests/check_brtree.c:272:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:272:5: call_function: inlined call to ‘int_cloner’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:272:5: danger: ‘ret’ leaks here; was allocated at [(24)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def461]
libcomps-0.1.23/libcomps/tests/check_brtree.c:275:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:275:5: danger: ‘<unknown>’ leaks here; was allocated at [(25)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def462]
libcomps-0.1.23/libcomps/tests/check_brtree.c:275:5: warning[-Wanalyzer-malloc-leak]: leak of ‘make_key(&d)’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:267:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:267:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:270:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:270:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:273:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:273:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:275:5: danger: ‘make_key(&d)’ leaks here; was allocated at [(43)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/42)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def463]
libcomps-0.1.23/libcomps/tests/check_brtree.c:275:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:275:5: call_function: inlined call to ‘int_cloner’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:275:5: danger: ‘ret’ leaks here; was allocated at [(31)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def464]
libcomps-0.1.23/libcomps/tests/check_brtree.c:278:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:278:5: danger: ‘<unknown>’ leaks here; was allocated at [(32)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/31)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def465]
libcomps-0.1.23/libcomps/tests/check_brtree.c:278:5: warning[-Wanalyzer-malloc-leak]: leak of ‘make_key(&e)’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:267:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:267:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:270:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:270:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:273:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:273:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:276:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:276:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:278:5: danger: ‘make_key(&e)’ leaks here; was allocated at [(56)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/55)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def466]
libcomps-0.1.23/libcomps/tests/check_brtree.c:278:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:278:5: call_function: inlined call to ‘int_cloner’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:278:5: danger: ‘ret’ leaks here; was allocated at [(38)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/37)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def467]
libcomps-0.1.23/libcomps/tests/check_brtree.c:288:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:287:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:287:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:288:5: danger: ‘<unknown>’ leaks here; was allocated at [(39)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/38)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def468]
libcomps-0.1.23/libcomps/tests/check_brtree.c:288:5: warning[-Wanalyzer-malloc-leak]: leak of ‘make_key(&a)’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:267:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:267:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:270:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:270:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:273:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:273:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:276:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:276:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:279:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:279:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:287:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:287:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:288:5: danger: ‘make_key(&a)’ leaks here; was allocated at [(69)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/68)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def469]
libcomps-0.1.23/libcomps/tests/check_brtree.c:288:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:287:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:287:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:288:5: call_function: inlined call to ‘int_cloner’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:288:5: danger: ‘ret’ leaks here; was allocated at [(45)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/44)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def470]
libcomps-0.1.23/libcomps/tests/check_brtree.c:291:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:287:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:287:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:290:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:290:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:291:5: danger: ‘<unknown>’ leaks here; was allocated at [(46)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/45)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def471]
libcomps-0.1.23/libcomps/tests/check_brtree.c:291:5: warning[-Wanalyzer-malloc-leak]: leak of ‘make_key(&b)’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:267:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:267:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:270:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:270:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:273:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:273:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:276:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:276:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:279:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:279:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:287:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:287:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:289:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:289:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:290:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:290:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:291:5: danger: ‘make_key(&b)’ leaks here; was allocated at [(82)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/81)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def472]
libcomps-0.1.23/libcomps/tests/check_brtree.c:291:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:287:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:287:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:290:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:290:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:291:5: call_function: inlined call to ‘int_cloner’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:291:5: danger: ‘ret’ leaks here; was allocated at [(52)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/51)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def473]
libcomps-0.1.23/libcomps/tests/check_brtree.c:297:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:287:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:287:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:290:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:290:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:296:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:296:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:297:12: danger: ‘<unknown>’ leaks here; was allocated at [(53)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/52)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def474]
libcomps-0.1.23/libcomps/tests/check_brtree.c:297:12: warning[-Wanalyzer-malloc-leak]: leak of ‘make_key(&c)’
libcomps-0.1.23/libcomps/tests/check_brtree.c:240:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:265:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:267:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:267:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:268:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:270:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:270:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:271:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:273:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:273:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:274:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:276:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:276:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:277:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:279:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:279:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:287:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:287:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:289:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:289:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:290:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:290:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:292:5: call_function: calling ‘key_destroy’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:292:5: return_function: returning to ‘main’ from ‘key_destroy’
libcomps-0.1.23/libcomps/tests/check_brtree.c:296:11: call_function: calling ‘make_key’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_brtree.c:296:11: return_function: returning to ‘main’ from ‘make_key’
libcomps-0.1.23/libcomps/tests/check_brtree.c:297:12: danger: ‘make_key(&c)’ leaks here; was allocated at [(95)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/94)
Error: COMPILER_WARNING (CWE-685): [#def475]
libcomps-0.1.23/libcomps/tests/check_comps.c:20: included_from: Included from here.
libcomps-0.1.23/libcomps/tests/check_comps.c: scope_hint: In function ‘test_comps_doc_basic_fn’
libcomps-0.1.23/libcomps/tests/check_comps.c:90:32: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING (CWE-685): [#def476]
libcomps-0.1.23/libcomps/tests/check_comps.c:95:32: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING (CWE-685): [#def477]
libcomps-0.1.23/libcomps/tests/check_comps.c:101:32: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def478]
libcomps-0.1.23/libcomps/tests/check_comps.c:101:32: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def479]
libcomps-0.1.23/libcomps/tests/check_comps.c:105:32: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def480]
libcomps-0.1.23/libcomps/tests/check_comps.c:105:32: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def481]
libcomps-0.1.23/libcomps/tests/check_comps.c:279:37: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def482]
libcomps-0.1.23/libcomps/tests/check_comps.c: scope_hint: In function ‘test_comps_doc_setfeats_fn’
libcomps-0.1.23/libcomps/tests/check_comps.c:279:37: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def483]
libcomps-0.1.23/libcomps/tests/check_comps.c:283:36: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def484]
libcomps-0.1.23/libcomps/tests/check_comps.c:283:36: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def485]
libcomps-0.1.23/libcomps/tests/check_comps.c:289:37: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def486]
libcomps-0.1.23/libcomps/tests/check_comps.c:289:37: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def487]
libcomps-0.1.23/libcomps/tests/check_comps.c:293:36: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def488]
libcomps-0.1.23/libcomps/tests/check_comps.c:293:36: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def489]
libcomps-0.1.23/libcomps/tests/check_comps.c:303:37: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def490]
libcomps-0.1.23/libcomps/tests/check_comps.c:303:37: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def491]
libcomps-0.1.23/libcomps/tests/check_comps.c:308:37: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def492]
libcomps-0.1.23/libcomps/tests/check_comps.c:308:37: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def493]
libcomps-0.1.23/libcomps/tests/check_comps.c:315:37: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def494]
libcomps-0.1.23/libcomps/tests/check_comps.c:315:37: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def495]
libcomps-0.1.23/libcomps/tests/check_comps.c:319:37: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def496]
libcomps-0.1.23/libcomps/tests/check_comps.c:319:37: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def497]
libcomps-0.1.23/libcomps/tests/check_comps.c:328:38: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def498]
libcomps-0.1.23/libcomps/tests/check_comps.c:328:38: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def499]
libcomps-0.1.23/libcomps/tests/check_comps.c:330:39: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def500]
libcomps-0.1.23/libcomps/tests/check_comps.c:330:39: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def501]
libcomps-0.1.23/libcomps/tests/check_comps.c:334:38: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def502]
libcomps-0.1.23/libcomps/tests/check_comps.c:334:38: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def503]
libcomps-0.1.23/libcomps/tests/check_comps.c:336:39: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def504]
libcomps-0.1.23/libcomps/tests/check_comps.c:336:39: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def505]
libcomps-0.1.23/libcomps/tests/check_comps.c:343:38: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def506]
libcomps-0.1.23/libcomps/tests/check_comps.c:343:38: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def507]
libcomps-0.1.23/libcomps/tests/check_comps.c:345:39: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def508]
libcomps-0.1.23/libcomps/tests/check_comps.c:345:39: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def509]
libcomps-0.1.23/libcomps/tests/check_comps.c:349:38: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def510]
libcomps-0.1.23/libcomps/tests/check_comps.c:349:38: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def511]
libcomps-0.1.23/libcomps/tests/check_comps.c:351:39: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def512]
libcomps-0.1.23/libcomps/tests/check_comps.c:351:39: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def513]
libcomps-0.1.23/libcomps/tests/check_comps.c:358:29: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def514]
libcomps-0.1.23/libcomps/tests/check_comps.c:358:29: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def515]
libcomps-0.1.23/libcomps/tests/check_comps.c:362:29: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def516]
libcomps-0.1.23/libcomps/tests/check_comps.c:362:29: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def517]
libcomps-0.1.23/libcomps/tests/check_comps.c:366:29: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def518]
libcomps-0.1.23/libcomps/tests/check_comps.c:366:29: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def519]
libcomps-0.1.23/libcomps/tests/check_comps.c:372:29: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def520]
libcomps-0.1.23/libcomps/tests/check_comps.c:372:29: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def521]
libcomps-0.1.23/libcomps/tests/check_comps.c:376:29: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def522]
libcomps-0.1.23/libcomps/tests/check_comps.c:376:29: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def523]
libcomps-0.1.23/libcomps/tests/check_comps.c:380:29: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def524]
libcomps-0.1.23/libcomps/tests/check_comps.c:380:29: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: GCC_ANALYZER_WARNING (CWE-775): [#def525]
libcomps-0.1.23/libcomps/tests/check_comps.c:531:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("sample_comps.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_comps.c:526:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_comps.c:526:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_comps.c:527:10: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_comps.c:531:5: danger: ‘fopen("sample_comps.xml", "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def526]
libcomps-0.1.23/libcomps/tests/check_comps.c:531:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("sample_comps.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_comps.c:526:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_comps.c:526:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_comps.c:527:10: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_comps.c:531:5: danger: ‘fopen("sample_comps.xml", "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def527]
libcomps-0.1.23/libcomps/tests/check_comps.c:535:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("f21-rawhide-comps.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_comps.c:526:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_comps.c:526:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_comps.c:533:10: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_comps.c:535:5: danger: ‘fopen("f21-rawhide-comps.xml", "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def528]
libcomps-0.1.23/libcomps/tests/check_comps.c:535:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("f21-rawhide-comps.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_comps.c:526:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_comps.c:526:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_comps.c:533:10: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_comps.c:535:5: danger: ‘fopen("f21-rawhide-comps.xml", "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def529]
libcomps-0.1.23/libcomps/tests/check_objrtree.c:71:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
libcomps-0.1.23/libcomps/tests/check_objrtree.c:54:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_objrtree.c:56:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:56:9: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:57:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:61:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_objrtree.c:62:9: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:63:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_objrtree.c:67:16: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:71:15: danger: ‘fopen(filename, "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def530]
libcomps-0.1.23/libcomps/tests/check_objrtree.c:71:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
libcomps-0.1.23/libcomps/tests/check_objrtree.c:54:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_objrtree.c:56:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:56:9: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:57:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:61:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_objrtree.c:62:9: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:63:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_objrtree.c:67:16: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:71:15: danger: ‘fopen(filename, "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def531]
libcomps-0.1.23/libcomps/tests/check_objrtree.c:73:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
libcomps-0.1.23/libcomps/tests/check_objrtree.c:54:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_objrtree.c:56:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:56:9: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:57:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:61:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_objrtree.c:62:9: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:63:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_objrtree.c:67:16: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:73:9: danger: ‘fopen(filename, "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def532]
libcomps-0.1.23/libcomps/tests/check_objrtree.c:73:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
libcomps-0.1.23/libcomps/tests/check_objrtree.c:54:8: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_objrtree.c:56:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:56:9: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:57:8: branch_false: following ‘false’ branch...
branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:61:12: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_objrtree.c:62:9: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:63:12: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_objrtree.c:67:16: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_objrtree.c:73:9: danger: ‘fopen(filename, "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def533]
libcomps-0.1.23/libcomps/tests/check_parse.c:82:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("sample-comps.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:78:10: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_parse.c:82:9: danger: ‘fopen("sample-comps.xml", "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def534]
libcomps-0.1.23/libcomps/tests/check_parse.c:82:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("sample-comps.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:78:10: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_parse.c:82:9: danger: ‘fopen("sample-comps.xml", "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING: [#def535]
libcomps-0.1.23/libcomps/tests/check_parse.c:20: included_from: Included from here.
libcomps-0.1.23/libcomps/tests/check_parse.c: scope_hint: In function ‘test_comps_parse1_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:89:38: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING: [#def536]
libcomps-0.1.23/libcomps/tests/check_parse.c:93:38: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def537]
libcomps-0.1.23/libcomps/tests/check_parse.c:98:13: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def538]
libcomps-0.1.23/libcomps/tests/check_parse.c:98:13: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’}
libcomps-0.1.23/libcomps/tests/check_parse.c:98:54: note: format string is defined here
Error: COMPILER_WARNING (CWE-685): [#def539]
libcomps-0.1.23/libcomps/tests/check_parse.c:105:34: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING (CWE-685): [#def540]
libcomps-0.1.23/libcomps/tests/check_parse.c:109:24: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING (CWE-685): [#def541]
libcomps-0.1.23/libcomps/tests/check_parse.c:117:24: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING (CWE-685): [#def542]
libcomps-0.1.23/libcomps/tests/check_parse.c:125:24: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING (CWE-195): [#def543]
libcomps-0.1.23/libcomps/tests/check_parse.c:133:38: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def544]
libcomps-0.1.23/libcomps/tests/check_parse.c:133:55: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def545]
libcomps-0.1.23/libcomps/tests/check_parse.c:133:55: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def546]
libcomps-0.1.23/libcomps/tests/check_parse.c:139:38: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def547]
libcomps-0.1.23/libcomps/tests/check_parse.c:139:55: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def548]
libcomps-0.1.23/libcomps/tests/check_parse.c:139:55: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-685): [#def549]
libcomps-0.1.23/libcomps/tests/check_parse.c:150:24: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def550]
libcomps-0.1.23/libcomps/tests/check_parse.c:150:24: warning[-Wformat=]: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’
libcomps-0.1.23/libcomps/tests/check_parse.c:150:26: note: format string is defined here
Error: COMPILER_WARNING (CWE-685): [#def551]
libcomps-0.1.23/libcomps/tests/check_parse.c:158:24: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def552]
libcomps-0.1.23/libcomps/tests/check_parse.c:158:24: warning[-Wformat=]: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’
libcomps-0.1.23/libcomps/tests/check_parse.c:158:26: note: format string is defined here
Error: COMPILER_WARNING (CWE-195): [#def553]
libcomps-0.1.23/libcomps/tests/check_parse.c:163:63: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’
Error: COMPILER_WARNING (CWE-685): [#def554]
libcomps-0.1.23/libcomps/tests/check_parse.c:164:17: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def555]
libcomps-0.1.23/libcomps/tests/check_parse.c:164:17: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘size_t’ {aka ‘long unsigned int’}
libcomps-0.1.23/libcomps/tests/check_parse.c:164:62: note: format string is defined here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def556]
libcomps-0.1.23/libcomps/tests/check_parse.c:171:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("sample-bad-elem.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:89:5: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:89:5: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:93:5: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:93:5: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:97:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:97:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:102:19: branch_true: following ‘true’ branch (when ‘i != 3’)...
libcomps-0.1.23/libcomps/tests/check_parse.c:103:19: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:105:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:105:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:108:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:108:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:116:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:116:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:124:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:124:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:133:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:133:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:139:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:139:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:144:19: branch_true: following ‘true’ branch (when ‘i != 2’)...
libcomps-0.1.23/libcomps/tests/check_parse.c:145:19: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:149:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:149:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:157:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:157:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:163:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:163:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:170:10: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_parse.c:171:5: danger: ‘fopen("sample-bad-elem.xml", "r")’ leaks here; was opened at [(31)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def557]
libcomps-0.1.23/libcomps/tests/check_parse.c:171:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("sample-bad-elem.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:89:5: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:89:5: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:93:5: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:93:5: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:97:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:97:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:102:19: branch_true: following ‘true’ branch (when ‘i != 3’)...
libcomps-0.1.23/libcomps/tests/check_parse.c:103:19: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:105:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:105:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:108:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:108:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:116:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:116:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:124:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:124:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:133:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:133:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:139:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:139:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:144:19: branch_true: following ‘true’ branch (when ‘i != 2’)...
libcomps-0.1.23/libcomps/tests/check_parse.c:145:19: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:149:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:149:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:157:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:157:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:163:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:163:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:170:10: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_parse.c:171:5: danger: ‘fopen("sample-bad-elem.xml", "r")’ leaks here; was allocated at [(31)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def558]
libcomps-0.1.23/libcomps/tests/check_parse.c:173:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("sample-bad-elem.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:89:5: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:89:5: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:93:5: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:93:5: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:97:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:97:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:102:19: branch_true: following ‘true’ branch (when ‘i != 3’)...
libcomps-0.1.23/libcomps/tests/check_parse.c:103:19: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:105:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:105:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:108:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:108:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:116:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:116:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:124:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:124:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:133:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:133:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:139:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:139:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:144:19: branch_true: following ‘true’ branch (when ‘i != 2’)...
libcomps-0.1.23/libcomps/tests/check_parse.c:145:19: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:149:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:149:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:157:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:157:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:163:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:163:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:170:10: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_parse.c:173:14: danger: ‘fopen("sample-bad-elem.xml", "r")’ leaks here; was opened at [(31)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def559]
libcomps-0.1.23/libcomps/tests/check_parse.c:173:14: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("sample-bad-elem.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:89:5: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:89:5: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:93:5: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:93:5: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:97:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:97:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:102:19: branch_true: following ‘true’ branch (when ‘i != 3’)...
libcomps-0.1.23/libcomps/tests/check_parse.c:103:19: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:105:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:105:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:108:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:108:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:116:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:116:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:124:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:124:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:133:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:133:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:139:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:139:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:144:19: branch_true: following ‘true’ branch (when ‘i != 2’)...
libcomps-0.1.23/libcomps/tests/check_parse.c:145:19: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:149:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:149:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:157:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:157:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:163:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:163:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:170:10: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_parse.c:173:14: danger: ‘fopen("sample-bad-elem.xml", "r")’ leaks here; was allocated at [(31)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def560]
libcomps-0.1.23/libcomps/tests/check_parse.c:174:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("sample-bad-elem.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:89:5: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:89:5: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:93:5: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:93:5: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:97:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:97:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:102:19: branch_true: following ‘true’ branch (when ‘i != 3’)...
libcomps-0.1.23/libcomps/tests/check_parse.c:103:19: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:105:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:105:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:108:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:108:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:116:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:116:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:124:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:124:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:133:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:133:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:139:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:139:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:144:19: branch_true: following ‘true’ branch (when ‘i != 2’)...
libcomps-0.1.23/libcomps/tests/check_parse.c:145:19: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:149:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:149:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:157:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:157:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:163:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:163:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:170:10: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_parse.c:174:5: danger: ‘fopen("sample-bad-elem.xml", "r")’ leaks here; was opened at [(31)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def561]
libcomps-0.1.23/libcomps/tests/check_parse.c:174:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("sample-bad-elem.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:89:5: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:89:5: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:93:5: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:93:5: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:97:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:97:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:102:19: branch_true: following ‘true’ branch (when ‘i != 3’)...
libcomps-0.1.23/libcomps/tests/check_parse.c:103:19: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:105:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:105:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:108:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:108:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:116:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:116:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:124:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:124:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:133:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:133:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:139:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:139:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:144:19: branch_true: following ‘true’ branch (when ‘i != 2’)...
libcomps-0.1.23/libcomps/tests/check_parse.c:145:19: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:149:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:149:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:157:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:157:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:163:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:163:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:170:10: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_parse.c:174:5: danger: ‘fopen("sample-bad-elem.xml", "r")’ leaks here; was allocated at [(31)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def562]
libcomps-0.1.23/libcomps/tests/check_parse.c:176:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("sample-bad-elem.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:89:5: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:89:5: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:93:5: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:93:5: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:97:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:97:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:102:19: branch_true: following ‘true’ branch (when ‘i != 3’)...
libcomps-0.1.23/libcomps/tests/check_parse.c:103:19: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:105:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:105:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:108:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:108:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:116:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:116:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:124:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:124:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:133:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:133:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:139:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:139:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:144:19: branch_true: following ‘true’ branch (when ‘i != 2’)...
libcomps-0.1.23/libcomps/tests/check_parse.c:145:19: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:149:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:149:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:157:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:157:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:163:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:163:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:170:10: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_parse.c:174:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:174:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:176:11: danger: ‘fopen("sample-bad-elem.xml", "r")’ leaks here; was opened at [(31)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def563]
libcomps-0.1.23/libcomps/tests/check_parse.c:176:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("sample-bad-elem.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:75:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:89:5: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:89:5: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:93:5: branch_true: following ‘true’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:93:5: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:97:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:97:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:102:19: branch_true: following ‘true’ branch (when ‘i != 3’)...
libcomps-0.1.23/libcomps/tests/check_parse.c:103:19: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:105:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:105:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:108:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:108:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:116:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:116:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:124:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:124:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:133:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:133:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:139:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:139:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:144:19: branch_true: following ‘true’ branch (when ‘i != 2’)...
libcomps-0.1.23/libcomps/tests/check_parse.c:145:19: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:149:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:149:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:157:9: branch_false: following ‘false’ branch (when the strings are equal)...
libcomps-0.1.23/libcomps/tests/check_parse.c:157:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:163:9: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:163:9: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:170:10: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_parse.c:174:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:174:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:176:11: danger: ‘fopen("sample-bad-elem.xml", "r")’ leaks here; was allocated at [(31)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/30)
Error: COMPILER_WARNING (CWE-685): [#def564]
libcomps-0.1.23/libcomps/tests/check_parse.c:177:21: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING (CWE-685): [#def565]
libcomps-0.1.23/libcomps/tests/check_parse.c: scope_hint: In function ‘check_errors’
libcomps-0.1.23/libcomps/tests/check_parse.c:198:17: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING (CWE-685): [#def566]
libcomps-0.1.23/libcomps/tests/check_parse.c:202:44: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING (CWE-685): [#def567]
libcomps-0.1.23/libcomps/tests/check_parse.c:210:70: warning[-Wformat-extra-args]: too many arguments for format
Error: GCC_ANALYZER_WARNING (CWE-404): [#def568]
libcomps-0.1.23/libcomps/tests/check_parse.c:225:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libcomps-0.1.23/libcomps/tests/check_parse.c:224:5: acquire_resource: ‘va_start’ called here
libcomps-0.1.23/libcomps/tests/check_parse.c:225:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def569]
libcomps-0.1.23/libcomps/tests/check_parse.c:233:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*<unknown>.args + (long unsigned int)i * 8’
libcomps-0.1.23/libcomps/tests/check_parse.c:227:19: acquire_memory: this call could return NULL
libcomps-0.1.23/libcomps/tests/check_parse.c:231:19: branch_true: following ‘true’ branch (when ‘i < n’)...
libcomps-0.1.23/libcomps/tests/check_parse.c:232:9: branch_true: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:233:9: danger: ‘*<unknown>.args + (long unsigned int)i * 8’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def570]
libcomps-0.1.23/libcomps/tests/check_parse.c:287:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("sample_comps.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:239:1: enter_function: entry to ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:249:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:249:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:252:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:252:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:255:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:255:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:258:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:258:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:261:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:261:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:264:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:264:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:267:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:267:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:270:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:270:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:273:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:273:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:276:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:276:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:283:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:283:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:284:10: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_parse.c:287:5: danger: ‘fopen("sample_comps.xml", "r")’ leaks here; was opened at [(94)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/93)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def571]
libcomps-0.1.23/libcomps/tests/check_parse.c:287:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("sample_comps.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:239:1: enter_function: entry to ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:249:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:249:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:252:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:252:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:255:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:255:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:258:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:258:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:261:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:261:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:264:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:264:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:267:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:267:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:270:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:270:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:273:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:273:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:276:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:276:23: return_function: returning to ‘test_comps_parse2_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:283:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:283:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:284:10: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_parse.c:287:5: danger: ‘fopen("sample_comps.xml", "r")’ leaks here; was allocated at [(94)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/93)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def572]
libcomps-0.1.23/libcomps/tests/check_parse.c:327:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("sample_comps_bad1.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:299:1: enter_function: entry to ‘test_comps_parse3_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:312:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse3_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:312:23: return_function: returning to ‘test_comps_parse3_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:315:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse3_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:315:23: return_function: returning to ‘test_comps_parse3_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:318:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse3_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:318:23: return_function: returning to ‘test_comps_parse3_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:323:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:323:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:324:10: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_parse.c:327:5: danger: ‘fopen("sample_comps_bad1.xml", "r")’ leaks here; was opened at [(31)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def573]
libcomps-0.1.23/libcomps/tests/check_parse.c:327:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("sample_comps_bad1.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:299:1: enter_function: entry to ‘test_comps_parse3_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:312:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse3_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:312:23: return_function: returning to ‘test_comps_parse3_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:315:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse3_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:315:23: return_function: returning to ‘test_comps_parse3_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:318:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse3_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:318:23: return_function: returning to ‘test_comps_parse3_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:323:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:323:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:324:10: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_parse.c:327:5: danger: ‘fopen("sample_comps_bad1.xml", "r")’ leaks here; was allocated at [(31)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/30)
Error: COMPILER_WARNING: [#def574]
libcomps-0.1.23/libcomps/tests/check_parse.c: scope_hint: In function ‘test_comps_parse3_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:344:21: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘void *’
libcomps-0.1.23/libcomps/tests/check_parse.c:344:23: note: format string is defined here
Error: COMPILER_WARNING: [#def575]
libcomps-0.1.23/libcomps/tests/check_parse.c:347:21: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘void *’
libcomps-0.1.23/libcomps/tests/check_parse.c:347:23: note: format string is defined here
Error: COMPILER_WARNING: [#def576]
libcomps-0.1.23/libcomps/tests/check_parse.c:350:21: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘void *’
libcomps-0.1.23/libcomps/tests/check_parse.c:350:23: note: format string is defined here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def577]
libcomps-0.1.23/libcomps/tests/check_parse.c:420:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("sample_comps_bad2.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:356:1: enter_function: entry to ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:368:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:368:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:370:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:370:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:372:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:372:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:375:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:375:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:378:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:378:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:382:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:382:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:385:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:385:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:388:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:388:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:391:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:391:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:394:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:394:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:397:24: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:397:24: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:400:24: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:400:24: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:405:24: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:405:24: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:408:24: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:408:24: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:411:24: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:411:24: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:416:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:416:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:417:10: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_parse.c:420:5: danger: ‘fopen("sample_comps_bad2.xml", "r")’ leaks here; was opened at [(139)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/138)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def578]
libcomps-0.1.23/libcomps/tests/check_parse.c:420:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("sample_comps_bad2.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:356:1: enter_function: entry to ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:368:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:368:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:370:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:370:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:372:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:372:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:375:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:375:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:378:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:378:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:382:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:382:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:385:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:385:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:388:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:388:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:391:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:391:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:394:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:394:23: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:397:24: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:397:24: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:400:24: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:400:24: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:405:24: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:405:24: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:408:24: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:408:24: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:411:24: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse4_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:411:24: return_function: returning to ‘test_comps_parse4_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:416:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:416:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:417:10: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_parse.c:420:5: danger: ‘fopen("sample_comps_bad2.xml", "r")’ leaks here; was allocated at [(139)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/138)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def579]
libcomps-0.1.23/libcomps/tests/check_parse.c:454:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("sample_comps_bad3.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:430:1: enter_function: entry to ‘test_comps_parse5_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:441:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse5_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:441:23: return_function: returning to ‘test_comps_parse5_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:444:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse5_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:444:23: return_function: returning to ‘test_comps_parse5_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:449:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:449:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:450:10: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_parse.c:454:5: danger: ‘fopen("sample_comps_bad3.xml", "r")’ leaks here; was opened at [(22)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def580]
libcomps-0.1.23/libcomps/tests/check_parse.c:454:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("sample_comps_bad3.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:430:1: enter_function: entry to ‘test_comps_parse5_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:441:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse5_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:441:23: return_function: returning to ‘test_comps_parse5_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:444:23: call_function: calling ‘__log_entry_x’ from ‘test_comps_parse5_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:444:23: return_function: returning to ‘test_comps_parse5_fn’ from ‘__log_entry_x’
libcomps-0.1.23/libcomps/tests/check_parse.c:449:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:449:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:450:10: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_parse.c:454:5: danger: ‘fopen("sample_comps_bad3.xml", "r")’ leaks here; was allocated at [(22)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def581]
libcomps-0.1.23/libcomps/tests/check_parse.c:479:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("fedora_comps.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:475:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:475:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:476:10: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_parse.c:479:5: danger: ‘fopen("fedora_comps.xml", "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def582]
libcomps-0.1.23/libcomps/tests/check_parse.c:479:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("fedora_comps.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:475:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:475:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:476:10: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_parse.c:479:5: danger: ‘fopen("fedora_comps.xml", "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-685): [#def583]
libcomps-0.1.23/libcomps/tests/check_parse.c: scope_hint: In function ‘test_comps_fedora_parse_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:479:39: warning[-Wformat-extra-args]: too many arguments for format
Error: GCC_ANALYZER_WARNING (CWE-775): [#def584]
libcomps-0.1.23/libcomps/tests/check_parse.c:507:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("main_comps2.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:504:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:504:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:505:10: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_parse.c:507:5: danger: ‘fopen("main_comps2.xml", "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def585]
libcomps-0.1.23/libcomps/tests/check_parse.c:507:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("main_comps2.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:504:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:504:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:505:10: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_parse.c:507:5: danger: ‘fopen("main_comps2.xml", "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-685): [#def586]
libcomps-0.1.23/libcomps/tests/check_parse.c: scope_hint: In function ‘test_main2_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:507:39: warning[-Wformat-extra-args]: too many arguments for format
Error: GCC_ANALYZER_WARNING (CWE-775): [#def587]
libcomps-0.1.23/libcomps/tests/check_parse.c:557:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("main_arches.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:553:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:553:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:554:10: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_parse.c:557:5: danger: ‘fopen("main_arches.xml", "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def588]
libcomps-0.1.23/libcomps/tests/check_parse.c:557:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("main_arches.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_parse.c:553:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_parse.c:553:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_parse.c:554:10: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_parse.c:557:5: danger: ‘fopen("main_arches.xml", "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-685): [#def589]
libcomps-0.1.23/libcomps/tests/check_parse.c: scope_hint: In function ‘test_arch_fn’
libcomps-0.1.23/libcomps/tests/check_parse.c:557:39: warning[-Wformat-extra-args]: too many arguments for format
Error: CPPCHECK_WARNING (CWE-476): [#def590]
libcomps-0.1.23/libcomps/tests/check_rtree.c:40: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def591]
libcomps-0.1.23/libcomps/tests/check_rtree.c:40:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ret’
libcomps-0.1.23/libcomps/tests/check_rtree.c:127:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_rtree.c:148:5: call_function: inlined call to ‘int_cloner’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def592]
libcomps-0.1.23/libcomps/tests/check_rtree.c:46: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-775): [#def593]
libcomps-0.1.23/libcomps/tests/check_rtree.c:115:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
libcomps-0.1.23/libcomps/tests/check_rtree.c:127:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_rtree.c:269:12: call_function: calling ‘load_acrodict’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def594]
libcomps-0.1.23/libcomps/tests/check_rtree.c:115:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
libcomps-0.1.23/libcomps/tests/check_rtree.c:127:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_rtree.c:269:12: call_function: calling ‘load_acrodict’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def595]
libcomps-0.1.23/libcomps/tests/check_rtree.c:115:9: warning[-Wanalyzer-malloc-leak]: leak of ‘str_cloner(pch + 1)’
libcomps-0.1.23/libcomps/tests/check_rtree.c:127:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_rtree.c:269:12: call_function: calling ‘load_acrodict’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def596]
libcomps-0.1.23/libcomps/tests/check_rtree.c:148:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libcomps-0.1.23/libcomps/tests/check_rtree.c:127:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_rtree.c:148:5: call_function: inlined call to ‘int_cloner’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_rtree.c:148:5: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def597]
libcomps-0.1.23/libcomps/tests/check_rtree.c:152:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libcomps-0.1.23/libcomps/tests/check_rtree.c:127:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_rtree.c:152:5: call_function: inlined call to ‘int_cloner’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_rtree.c:152:5: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def598]
libcomps-0.1.23/libcomps/tests/check_rtree.c:157:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libcomps-0.1.23/libcomps/tests/check_rtree.c:127:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_rtree.c:157:5: call_function: inlined call to ‘int_cloner’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_rtree.c:157:5: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def599]
libcomps-0.1.23/libcomps/tests/check_rtree.c:164:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libcomps-0.1.23/libcomps/tests/check_rtree.c:127:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_rtree.c:164:5: call_function: inlined call to ‘int_cloner’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_rtree.c:164:5: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def600]
libcomps-0.1.23/libcomps/tests/check_rtree.c:212:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libcomps-0.1.23/libcomps/tests/check_rtree.c:127:5: enter_function: entry to ‘main’
libcomps-0.1.23/libcomps/tests/check_rtree.c:212:5: call_function: inlined call to ‘int_cloner’ from ‘main’
libcomps-0.1.23/libcomps/tests/check_rtree.c:212:5: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def601]
libcomps-0.1.23/libcomps/tests/check_utils.c:51:5: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_utils.c:51:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_utils.c:51:5: danger: argument 1 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def602]
libcomps-0.1.23/libcomps/tests/check_validate.c:134:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("f21-rawhide-comps.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_validate.c:133:10: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_validate.c:134:14: danger: ‘fopen("f21-rawhide-comps.xml", "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def603]
libcomps-0.1.23/libcomps/tests/check_validate.c:134:14: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("f21-rawhide-comps.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_validate.c:133:10: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_validate.c:134:14: danger: ‘fopen("f21-rawhide-comps.xml", "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def604]
libcomps-0.1.23/libcomps/tests/check_validate.c:135:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("f21-rawhide-comps.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_validate.c:133:10: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_validate.c:135:5: danger: ‘fopen("f21-rawhide-comps.xml", "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def605]
libcomps-0.1.23/libcomps/tests/check_validate.c:135:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("f21-rawhide-comps.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_validate.c:133:10: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_validate.c:135:5: danger: ‘fopen("f21-rawhide-comps.xml", "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def606]
libcomps-0.1.23/libcomps/tests/check_validate.c:137:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("f21-rawhide-comps.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_validate.c:133:10: acquire_resource: opened here
libcomps-0.1.23/libcomps/tests/check_validate.c:135:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_validate.c:135:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_validate.c:137:5: danger: ‘fopen("f21-rawhide-comps.xml", "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def607]
libcomps-0.1.23/libcomps/tests/check_validate.c:137:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("f21-rawhide-comps.xml", "r")’
libcomps-0.1.23/libcomps/tests/check_validate.c:133:10: acquire_memory: allocated here
libcomps-0.1.23/libcomps/tests/check_validate.c:135:5: branch_false: following ‘false’ branch...
libcomps-0.1.23/libcomps/tests/check_validate.c:135:5: branch_false: ...to here
libcomps-0.1.23/libcomps/tests/check_validate.c:137:5: danger: ‘fopen("f21-rawhide-comps.xml", "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Scan Properties
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-145.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-gcc-latest-x86_64 |
| project-name | libcomps-0.1.23-2.fc44 |
| store-results-to | /tmp/tmp_tfcczyb/libcomps-0.1.23-2.fc44.tar.xz |
| time-created | 2025-10-28 18:56:05 |
| time-finished | 2025-10-28 18:58:00 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp_tfcczyb/libcomps-0.1.23-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp_tfcczyb/libcomps-0.1.23-2.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |