crun-1.18.2-1.fc42
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c:46:12: warning[-Wanalyzer-malloc-leak]: leak of 'make_basic_test_double_array_objectarrays_element(*<unknown>, ctx, err)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c:50:16: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c:29:26: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c:48:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: CPPCHECK_WARNING (CWE-401): [#def3]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c:122: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c:328:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c:328:13: warning[-Wanalyzer-malloc-leak]: leak of 'make_basic_test_double_array(yajl_tree_parse(jsondata, & errbuf, 1024), ctx, err)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def6]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c: scope_hint: In function 'free_basic_test_double_array'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c:395:53: warning[-Wanalyzer-null-dereference]: dereference of NULL '*ptr.strarrays_item_lens + i * 8'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c: scope_hint: In function 'free_basic_test_double_array'
Error: CPPCHECK_WARNING (CWE-401): [#def7]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c:675: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array_item.c: scope_hint: In function 'basic_test_double_array_item_parse_data'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array_item.c:78:13: warning[-Wanalyzer-malloc-leak]: leak of 'make_basic_test_double_array_item(yajl_tree_parse(jsondata, & errbuf, 1024), ctx, err)'
Error: CPPCHECK_WARNING (CWE-401): [#def9]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array_item.c:214: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_array_int.c: scope_hint: In function 'basic_test_top_array_int_container_parse_data'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_array_int.c:20:15: warning[-Wanalyzer-malloc-leak]: leak of 'make_basic_test_top_array_int_container(yajl_tree_parse(jsondata, & errbuf, 1024), ctx, err)'
Error: CPPCHECK_WARNING (CWE-401): [#def11]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_array_int.c:31: error[memleak]: Memory leak: ptr
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_array_int.c:35:19: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_array_int.c:151:36: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_array_int.c: scope_hint: In function 'basic_test_top_array_int_container_parse_file_stream'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_array_int.c:151:1: note: in expansion of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_array_int.c: scope_hint: In function 'basic_test_top_array_int_container_parse_file_stream'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_array_int.c: scope_hint: In function 'basic_test_top_array_int_container_parse_file_stream'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_array_int.c:159:18: warning[-Wanalyzer-malloc-leak]: leak of 'basic_test_top_array_int_container_parse_data(fread_file(stream, & filesize), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_array_int.c:151:1: note: in expansion of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_array_int.c: scope_hint: In function 'basic_test_top_array_int_container_parse_file_stream'
Error: CPPCHECK_WARNING (CWE-401): [#def15]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_array_string.c:31: error[memleak]: Memory leak: ptr
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_array_string.c: scope_hint: In function 'basic_test_top_array_string_container_parse_file_stream'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_array_string.c:152:18: warning[-Wanalyzer-malloc-leak]: leak of 'basic_test_top_array_string_container_parse_data(fread_file(stream, & filesize), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_array_string.c:144:1: note: in expansion of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_array_string.c: scope_hint: In function 'basic_test_top_array_string_container_parse_file_stream'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_int.c: scope_hint: In function 'basic_test_top_double_array_int_container_parse_data'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_int.c:20:15: warning[-Wanalyzer-malloc-leak]: leak of 'make_basic_test_top_double_array_int_container(yajl_tree_parse(jsondata, & errbuf, 1024), ctx, err)'
Error: CPPCHECK_WARNING (CWE-401): [#def18]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_int.c:31: error[memleak]: Memory leak: ptr
Error: CPPCHECK_WARNING (CWE-401): [#def19]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_int.c:35: error[memleak]: Memory leak: ptr
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_int.c:37:19: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_int.c:174:36: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_int.c: scope_hint: In function 'basic_test_top_double_array_int_container_parse_file_stream'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_int.c:174:1: note: in expansion of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_int.c: scope_hint: In function 'basic_test_top_double_array_int_container_parse_file_stream'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_int.c: scope_hint: In function 'basic_test_top_double_array_int_container_parse_file_stream'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_int.c:182:18: warning[-Wanalyzer-malloc-leak]: leak of 'basic_test_top_double_array_int_container_parse_data(fread_file(stream, & filesize), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_int.c:174:1: note: in expansion of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_int.c: scope_hint: In function 'basic_test_top_double_array_int_container_parse_file_stream'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_obj.c:68:12: warning[-Wanalyzer-malloc-leak]: leak of 'make_basic_test_top_double_array_obj_element(*<unknown>, ctx, err)'
Error: CPPCHECK_WARNING (CWE-401): [#def24]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_obj.c:158: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def25]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_obj.c:182: error[memleak]: Memory leak: ptr
Error: CPPCHECK_WARNING (CWE-401): [#def26]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_obj.c:186: error[memleak]: Memory leak: ptr
Error: GCC_ANALYZER_WARNING (CWE-476): [#def27]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_obj.c: scope_hint: In function 'free_basic_test_top_double_array_obj_container.part.0'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_obj.c:220:44: warning[-Wanalyzer-null-dereference]: dereference of NULL '*ptr.subitem_lens + i * 8'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_obj.c: scope_hint: In function 'free_basic_test_top_double_array_obj_container.part.0'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_obj.c:222:15: warning[-Wanalyzer-null-dereference]: dereference of NULL '*<unknown> + j * 8'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_obj.c: scope_hint: In function 'free_basic_test_top_double_array_obj_container.part.0'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_refobj.c: scope_hint: In function 'basic_test_top_double_array_refobj_container_parse_file_stream'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:20:15: warning[-Wanalyzer-malloc-leak]: leak of 'basic_test_top_double_array_refobj_container_parse_data(fread_file(stream, & filesize), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:166:1: note: in expansion of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_refobj.c: scope_hint: In function 'basic_test_top_double_array_refobj_container_parse_file_stream'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_refobj.c: scope_hint: In function 'basic_test_top_double_array_refobj_container_parse_data'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:20:15: warning[-Wanalyzer-malloc-leak]: leak of 'make_basic_test_top_double_array_refobj_container(yajl_tree_parse(jsondata, & errbuf, 1024), ctx, err)'
Error: CPPCHECK_WARNING (CWE-401): [#def31]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:31: error[memleak]: Memory leak: ptr
Error: CPPCHECK_WARNING (CWE-401): [#def32]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:35: error[memleak]: Memory leak: ptr
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_refobj.c: scope_hint: In function 'basic_test_top_double_array_refobj_container_parse_data'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:37:19: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_refobj.c: scope_hint: In function 'free_basic_test_top_double_array_refobj_container.part.0'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:69:44: warning[-Wanalyzer-null-dereference]: dereference of NULL '*ptr.subitem_lens + i * 8'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_refobj.c: scope_hint: In function 'free_basic_test_top_double_array_refobj_container.part.0'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:166:36: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_refobj.c: scope_hint: In function 'basic_test_top_double_array_refobj_container_parse_file_stream'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:166:1: note: in expansion of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_refobj.c: scope_hint: In function 'basic_test_top_double_array_refobj_container_parse_file_stream'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
Error: CPPCHECK_WARNING (CWE-401): [#def36]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_string.c:31: error[memleak]: Memory leak: ptr
Error: CPPCHECK_WARNING (CWE-401): [#def37]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_string.c:35: error[memleak]: Memory leak: ptr
Error: GCC_ANALYZER_WARNING (CWE-476): [#def38]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_string.c: scope_hint: In function 'free_basic_test_top_double_array_string_container.part.0'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_string.c:74:42: warning[-Wanalyzer-null-dereference]: dereference of NULL '*ptr.subitem_lens + i * 8'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_string.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_string.c:8: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_string.c: scope_hint: In function 'free_basic_test_top_double_array_string_container.part.0'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def39]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_string.c:76:13: warning[-Wanalyzer-null-dereference]: dereference of NULL '*<unknown> + j * 8'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_string.c: scope_hint: In function 'free_basic_test_top_double_array_string_container.part.0'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_string.c: scope_hint: In function 'basic_test_top_double_array_string_container_parse_file_stream'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_string.c:179:18: warning[-Wanalyzer-malloc-leak]: leak of 'basic_test_top_double_array_string_container_parse_data(fread_file(stream, & filesize), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_string.c:171:1: note: in expansion of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_string.c: scope_hint: In function 'basic_test_top_double_array_string_container_parse_file_stream'
Error: CPPCHECK_WARNING (CWE-401): [#def41]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_manifest_items_image_manifest_items_schema.c:256: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def42]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_manifest_items_image_manifest_items_schema.c:263: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def43]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_manifest_items_image_manifest_items_schema.c:318: error[memleak]: Memory leak: ptr
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:182:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:167:33: note: in expansion of macro 'YAJL_IS_TRUE'
Error: CPPCHECK_WARNING (CWE-401): [#def45]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:491: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def46]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:497: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def47]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:501: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def48]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:504: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def49]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:818: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:904:38: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:855:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:903:32: note: in expansion of macro 'YAJL_IS_TRUE'
Error: CPPCHECK_WARNING (CWE-401): [#def51]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:1024: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def52]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:1030: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def53]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:1036: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def54]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:1042: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def55]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:1499: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def56]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:1505: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def57]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:1511: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def58]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:1517: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def59]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:1523: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def60]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:1529: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def61]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:1536: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:151:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:63:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: CPPCHECK_WARNING (CWE-401): [#def63]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:370: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def64]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:378: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def65]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:385: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def66]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_defs.c:86: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def67]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_defs.c:89: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def68]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_defs.c: scope_hint: In function 'free_image_spec_schema_defs_map_string_object'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_defs.c:126:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_defs.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_defs.c:8: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:177:29: note: in expansion of macro 'YAJL_IS_OBJECT'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_defs.c:77:9: note: in expansion of macro 'YAJL_GET_OBJECT'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:177:29: note: in expansion of macro 'YAJL_IS_OBJECT'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_defs.c:77:9: note: in expansion of macro 'YAJL_GET_OBJECT'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_defs.c: scope_hint: In function 'free_image_spec_schema_defs_map_string_object'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def69]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:111:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:41:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: CPPCHECK_WARNING (CWE-401): [#def70]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:305: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def71]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:311: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def72]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:317: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def73]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:324: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def74]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:603: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def75]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:611: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def76]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:618: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def77]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:954: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def78]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:960: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def79]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:966: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def80]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:973: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:43:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: CPPCHECK_WARNING (CWE-401): [#def82]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:152: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c: scope_hint: In function 'image_spec_schema_image_manifest_schema_parse_data'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:129:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:181:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:30:19: note: in expansion of macro 'YAJL_IS_NUMBER'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c: scope_hint: In function 'make_image_spec_schema_image_manifest_schema'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:181:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:30:19: note: in expansion of macro 'YAJL_IS_NUMBER'
Error: CPPCHECK_WARNING (CWE-401): [#def86]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:349: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def87]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:355: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def88]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:361: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def89]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:367: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def90]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:374: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def91]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:533: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def92]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:539: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def93]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:611: error[memleak]: Memory leak: keys
Error: CPPCHECK_WARNING (CWE-401): [#def94]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:713: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def95]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:718: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def96]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:782: error[memleak]: Memory leak: keys
Error: CPPCHECK_WARNING (CWE-401): [#def97]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:888: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def98]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:894: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def99]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:1050: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def100]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:1056: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def101]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:1345: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def102]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:1351: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def103]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:1408: error[memleak]: Memory leak: keys
Error: CPPCHECK_WARNING (CWE-401): [#def104]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:1414: error[memleak]: Memory leak: keys
Error: CPPCHECK_WARNING (CWE-401): [#def105]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:1414: error[memleak]: Memory leak: vals
Error: GCC_ANALYZER_WARNING (CWE-476): [#def106]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c: scope_hint: In function 'free_json_map_string_string.part.0'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:1479:11: warning[-Wanalyzer-null-dereference]: dereference of NULL '*map.keys + i * 8'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:6: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c: scope_hint: In function 'free_json_map_string_string.part.0'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def107]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:1481:11: warning[-Wanalyzer-null-dereference]: dereference of NULL '*map.values + i * 8'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c: scope_hint: In function 'free_json_map_string_string.part.0'
Error: CPPCHECK_WARNING (CWE-401): [#def108]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:1521: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def109]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:1528: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def110]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:1585: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def111]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.c:1589: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def112]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c: scope_hint: In function 'make_runtime_spec_schema_config_linux_resources'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:47:13: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_linux_resources_pids(get_val(tree, "pids", 3), ctx, err)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:322:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:322:13: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_linux_resources_block_io(get_val(tree, "blockIO", 3), ctx, err)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c: scope_hint: In function 'clone_runtime_spec_schema_config_linux_resources'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:633:22: warning[-Wanalyzer-malloc-leak]: leak of 'clone_runtime_spec_schema_config_linux_resources_block_io(*src.block_io)'
Error: CPPCHECK_WARNING (CWE-401): [#def116]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:642: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:689:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:1107:12: warning[-Wanalyzer-malloc-leak]: leak of 'clone_runtime_spec_schema_config_linux_resources_cpu(*src.cpu)'
Error: CPPCHECK_WARNING (CWE-401): [#def119]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:1111: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def120]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:1117: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:1132:23: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: CPPCHECK_WARNING (CWE-401): [#def122]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:1252: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:1891:24: warning[-Wanalyzer-malloc-leak]: leak of 'clone_runtime_spec_schema_config_linux_resources_network(*src.network)'
Error: CPPCHECK_WARNING (CWE-401): [#def124]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:1898: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:1899:30: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def126]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c: scope_hint: In function 'clone_runtime_spec_schema_config_linux'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2325:20: warning[-Wanalyzer-malloc-leak]: leak of 'clone_runtime_spec_schema_config_linux_resources(*src.resources)'
Error: CPPCHECK_WARNING (CWE-401): [#def127]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2327: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def128]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2333: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2384:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2811:12: warning[-Wanalyzer-malloc-leak]: leak of 'clone_runtime_spec_schema_config_linux_seccomp(*src.seccomp)'
Error: CPPCHECK_WARNING (CWE-401): [#def131]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2815: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def132]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2824: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def133]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2863:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def134]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3129:12: warning[-Wanalyzer-malloc-leak]: leak of 'clone_runtime_spec_schema_config_linux_intel_rdt(*src.intel_rdt)'
Error: CPPCHECK_WARNING (CWE-401): [#def135]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3133: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def136]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3139: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def137]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3145: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def138]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3150:29: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: CPPCHECK_WARNING (CWE-401): [#def139]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3168: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def140]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3171: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def141]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3184: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def142]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3191: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def143]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3197: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def144]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3293:12: warning[-Wanalyzer-malloc-leak]: leak of 'clone_runtime_spec_schema_config_linux_time_offsets(*src.time_offsets)'
Error: CPPCHECK_WARNING (CWE-401): [#def145]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3297: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def146]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3303: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def147]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3993: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def148]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:157:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def149]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:157:13: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_schema_hooks(get_val(tree, "hooks", 3), ctx, err)'
Error: CPPCHECK_WARNING (CWE-401): [#def150]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:486: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:612:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:579:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:591:29: note: in expansion of macro 'YAJL_IS_TRUE'
Error: CPPCHECK_WARNING (CWE-401): [#def152]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:735: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def153]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c: scope_hint: In function 'make_runtime_spec_schema_config_schema_process'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:799:13: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_schema_process_console_size(get_val(tree, "consoleSize", 3), ctx, err)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def154]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:1048:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2613:29: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def155]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:1048:13: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_schema_process_user(get_val(tree, "user", 3), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2613:29: note: in expansion of macro 'YAJL_IS_TRUE'
Error: CPPCHECK_WARNING (CWE-401): [#def156]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:1233: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def157]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:1391:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2613:29: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def158]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:1391:13: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_schema_process_capabilities(get_val(tree, "capabilities", 3), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2613:29: note: in expansion of macro 'YAJL_IS_TRUE'
Error: CPPCHECK_WARNING (CWE-401): [#def159]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:1686: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def160]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:1939: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def161]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2327: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def162]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2338: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def163]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2512: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def164]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:3123: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def165]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:3655: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def166]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:3661: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def167]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:3665: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def168]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:3670: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def169]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:3676: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def170]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:3683: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def171]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c: scope_hint: In function 'make_runtime_spec_schema_config_solaris'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:37:13: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_solaris_capped_cpu(get_val(tree, "cappedCPU", 3), ctx, err)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def172]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c: scope_hint: In function 'clone_runtime_spec_schema_config_solaris'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:142:12: warning[-Wanalyzer-malloc-leak]: leak of 'clone_runtime_spec_schema_config_solaris_capped_cpu(*src.capped_cpu)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def173]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:145:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: CPPCHECK_WARNING (CWE-401): [#def174]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:146: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def175]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:188:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:168:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def176]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:188:13: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_solaris_capped_memory(get_val(tree, "cappedMemory", 3), ctx, err)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def177]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c: scope_hint: In function 'clone_runtime_spec_schema_config_solaris'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:308:12: warning[-Wanalyzer-malloc-leak]: leak of 'clone_runtime_spec_schema_config_solaris_capped_memory(*src.capped_memory)'
Error: CPPCHECK_WARNING (CWE-401): [#def178]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:312: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def179]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:314:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def180]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:317:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: CPPCHECK_WARNING (CWE-401): [#def181]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:318: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def182]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:410:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:340:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def183]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:410:12: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_solaris_anet_element(val, ctx, err)'
Error: CPPCHECK_WARNING (CWE-401): [#def184]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:555: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def185]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:561: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def186]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:567: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def187]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:573: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def188]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:579: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def189]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:585: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def190]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:591: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def191]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:881: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def192]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:887: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def193]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:893: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def194]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:899: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def195]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:905: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def196]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:912: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def197]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:69:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def198]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c: scope_hint: In function 'clone_runtime_spec_schema_config_vm'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:214:12: warning[-Wanalyzer-malloc-leak]: leak of 'clone_runtime_spec_schema_config_vm_hypervisor(*src.hypervisor)'
Error: CPPCHECK_WARNING (CWE-401): [#def199]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:218: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:220:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: CPPCHECK_WARNING (CWE-401): [#def201]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:225: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def202]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:226:30: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def203]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:308:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:256:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def204]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c: scope_hint: In function 'clone_runtime_spec_schema_config_vm'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:468:12: warning[-Wanalyzer-malloc-leak]: leak of 'clone_runtime_spec_schema_config_vm_kernel(*src.kernel)'
Error: CPPCHECK_WARNING (CWE-401): [#def205]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:472: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def206]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:479: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def207]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:490:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def208]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:668:12: warning[-Wanalyzer-malloc-leak]: leak of 'clone_runtime_spec_schema_config_vm_image(*src.image)'
Error: CPPCHECK_WARNING (CWE-401): [#def209]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:672: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def210]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:674:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:677:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: CPPCHECK_WARNING (CWE-401): [#def212]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:678: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def213]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:697: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def214]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:700: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def215]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:703: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def216]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:708: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def217]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:722: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def218]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:729: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def219]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:735: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def220]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:850: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def221]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:856: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def222]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:862: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def223]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c: scope_hint: In function 'make_runtime_spec_schema_config_windows_resources'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:47:13: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_windows_resources_memory(get_val(tree, "memory", 3), ctx, err)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def224]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:234:13: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_windows_resources_cpu(get_val(tree, "cpu", 3), ctx, err)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def225]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:282:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def226]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c: scope_hint: In function 'make_runtime_spec_schema_config_windows_resources_cpu'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:282:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def227]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c: scope_hint: In function 'make_runtime_spec_schema_config_windows_resources'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:451:13: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_windows_resources_storage(get_val(tree, "storage", 3), ctx, err)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def228]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:499:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def229]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c: scope_hint: In function 'make_runtime_spec_schema_config_windows_resources_storage'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:499:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def230]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c: scope_hint: In function 'make_runtime_spec_schema_config_windows'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:602:32: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_windows_resources(get_val(tree, "resources", 3), ctx, err)'
Error: CPPCHECK_WARNING (CWE-401): [#def231]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:603: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def232]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:606: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def233]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:609: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def234]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:622: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def235]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:629: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def236]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:635: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def237]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c: scope_hint: In function 'clone_runtime_spec_schema_config_windows'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:746:12: warning[-Wanalyzer-malloc-leak]: leak of 'clone_runtime_spec_schema_config_windows_resources(*src.resources)'
Error: CPPCHECK_WARNING (CWE-401): [#def238]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:750: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def239]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:756: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def240]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:758:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def241]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:761:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: CPPCHECK_WARNING (CWE-401): [#def242]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:762: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def243]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:1089:12: warning[-Wanalyzer-malloc-leak]: leak of 'clone_runtime_spec_schema_config_windows_network(*src.network)'
Error: CPPCHECK_WARNING (CWE-401): [#def244]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:1094: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def245]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:1129:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def246]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:1321:12: warning[-Wanalyzer-malloc-leak]: leak of 'clone_runtime_spec_schema_config_windows_hyperv(*src.hyperv)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def247]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:1324:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: CPPCHECK_WARNING (CWE-401): [#def248]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:1325: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def249]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:1709: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def250]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_zos.c:181: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def251]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs.c:319: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def252]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs.c:326: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def253]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs.c: scope_hint: In function 'make_runtime_spec_schema_defs_mount'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs.c:437:13: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_defs_id_mapping(val, ctx, err)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def254]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs.c:485:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs.c: scope_hint: In function 'make_runtime_spec_schema_defs_id_mapping'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs.c:485:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
Error: CPPCHECK_WARNING (CWE-401): [#def256]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs.c:957: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def257]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs.c:963: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def258]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs.c:970: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def259]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:212: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def260]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:219: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def261]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:330:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:316:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def262]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: scope_hint: In function 'make_runtime_spec_schema_defs_linux_syscall_arg'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:379:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:316:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def263]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: scope_hint: In function 'clone_runtime_spec_schema_defs_linux_syscall'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:474:21: warning[-Wanalyzer-malloc-leak]: leak of 'clone_runtime_spec_schema_defs_linux_syscall_arg(*<unknown>)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def264]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:483:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: CPPCHECK_WARNING (CWE-401): [#def265]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:484: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def266]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:798: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def267]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:1181: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def268]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:1187: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def269]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: scope_hint: In function 'make_runtime_spec_schema_defs_linux_block_io_device'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:1306:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def270]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: scope_hint: In function 'make_runtime_spec_schema_defs_linux_block_io_device_weight'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:1532:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def271]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: scope_hint: In function 'make_runtime_spec_schema_defs_linux_block_io_device_throttle'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:1763:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
Error: CPPCHECK_WARNING (CWE-401): [#def272]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2119: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def273]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2129: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def274]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: scope_hint: In function 'make_runtime_spec_schema_defs_linux_network_interface_priority'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2234:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2151:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: CPPCHECK_WARNING (CWE-401): [#def275]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2309: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def276]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: scope_hint: In function 'make_runtime_spec_schema_defs_linux_rdma'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2420:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def277]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: scope_hint: In function 'make_runtime_spec_schema_defs_linux_namespace_reference'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2586:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2513:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: CPPCHECK_WARNING (CWE-401): [#def278]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2663: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def279]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2669: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def280]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: scope_hint: In function 'make_runtime_spec_schema_defs_linux_time_offsets'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2778:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def281]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c: scope_hint: In function 'make_runtime_spec_schema_defs_windows_device'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:108:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_windows.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:8: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:41:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def282]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:108:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:41:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: CPPCHECK_WARNING (CWE-401): [#def283]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:185: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def284]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:191: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def285]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:360: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def286]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_zos.c:366: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def287]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c: scope_hint: In function 'clone_runtime_spec_schema_features_linux'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:759:23: warning[-Wanalyzer-malloc-leak]: leak of 'clone_runtime_spec_schema_features_linux_seccomp(*src.seccomp)'
Error: CPPCHECK_WARNING (CWE-401): [#def288]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:766: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def289]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:825:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: CPPCHECK_WARNING (CWE-401): [#def290]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:1422: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def291]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:1435: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def292]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:1442: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def293]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:1448: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def294]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:1529:12: warning[-Wanalyzer-malloc-leak]: leak of 'clone_runtime_spec_schema_features_linux_mount_extensions(*src.mount_extensions)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def295]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:1532:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: CPPCHECK_WARNING (CWE-401): [#def296]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:1533: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def297]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:1886: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def298]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:160:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:41:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def299]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c: scope_hint: In function 'make_runtime_spec_schema_features_schema'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:212:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:41:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def300]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:212:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:41:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: CPPCHECK_WARNING (CWE-401): [#def301]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:431: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def302]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:437: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def303]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:444: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def304]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_state_schema.c:316: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def305]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_state_schema.c:322: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def306]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_state_schema.c:328: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def307]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_state_schema.c:336: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def308]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_state_schema.c:340: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def309]
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:150:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_basic_test_double_array_objectarrays_element(*<unknown>, ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c:48:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c:48:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c:48:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def310]
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:150:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_image_spec_schema_config_schema_history_element(val, ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:855:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:855:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:903:32: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:855:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def311]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_content_descriptor.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:8: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_content_descriptor.c: scope_hint: In function 'image_spec_schema_content_descriptor_parse_data'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:150:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_image_spec_schema_content_descriptor(yajl_tree_parse(jsondata, & errbuf, 1024), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:63:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def312]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:8: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c: scope_hint: In function 'make_image_spec_schema_image_index_schema_manifests_element'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:150:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_image_spec_schema_image_index_schema_manifests_platform(get_val(tree, "platform", 3), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:41:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def313]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_layout_schema.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:8: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c: scope_hint: In function 'image_spec_schema_image_layout_schema_parse_data'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:150:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_image_spec_schema_image_layout_schema(yajl_tree_parse(jsondata, & errbuf, 1024), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def314]
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:150:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_schema_root(get_val(tree, "root", 3), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:579:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:579:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:591:29: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:579:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def315]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c: scope_hint: In function 'make_runtime_spec_schema_config_solaris'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:150:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_solaris_anet_element(val, ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:340:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:340:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:340:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def316]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:8: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c: scope_hint: In function 'make_runtime_spec_schema_config_solaris'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:150:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_solaris_capped_memory(get_val(tree, "cappedMemory", 3), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:168:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:168:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:168:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def317]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:8: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c: scope_hint: In function 'make_runtime_spec_schema_config_vm'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:150:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_vm_hypervisor(get_val(tree, "hypervisor", 3), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def318]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c: scope_hint: In function 'make_runtime_spec_schema_config_vm'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:150:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_vm_kernel(get_val(tree, "kernel", 3), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:256:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:256:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:256:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def319]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:8: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: scope_hint: In function 'make_runtime_spec_schema_defs_linux_syscall'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:150:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_defs_linux_syscall_arg(val, ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:316:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:316:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:316:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def320]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:8: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c: scope_hint: In function 'runtime_spec_schema_features_schema_parse_data'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:150:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_features_schema(yajl_tree_parse(jsondata, & errbuf, 1024), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:41:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def321]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c: scope_hint: In function 'image_spec_schema_image_manifest_schema_parse_file_stream'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:155:49: warning[-Wanalyzer-malloc-leak]: leak of 'image_spec_schema_image_manifest_schema_parse_data(fread_file(stream, & filesize), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:79:28: note: in expansion of macro 'YAJL_GET_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:426:1: note: in expansion of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c: scope_hint: In function 'image_spec_schema_image_manifest_schema_parse_file_stream'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:79:28: note: in expansion of macro 'YAJL_GET_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def322]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c: scope_hint: In function 'basic_test_double_array_parse_data'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:155:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_basic_test_double_array(yajl_tree_parse(jsondata, & errbuf, 1024), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c:142:28: note: in expansion of macro 'YAJL_GET_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c:142:28: note: in expansion of macro 'YAJL_GET_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def323]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:8: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c: scope_hint: In function 'make_image_spec_schema_config_schema'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:155:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_image_spec_schema_config_schema_config(get_val(tree, "config", 3), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:42:28: note: in expansion of macro 'YAJL_GET_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:167:33: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:42:28: note: in expansion of macro 'YAJL_GET_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def324]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:8: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c: scope_hint: In function 'image_spec_schema_image_manifest_schema_parse_data'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:155:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_image_spec_schema_image_manifest_schema(yajl_tree_parse(jsondata, & errbuf, 1024), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:79:28: note: in expansion of macro 'YAJL_GET_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:79:28: note: in expansion of macro 'YAJL_GET_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def325]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:8: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:155:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_linux_resources_block_io(get_val(tree, "blockIO", 3), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:214:28: note: in expansion of macro 'YAJL_GET_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:214:28: note: in expansion of macro 'YAJL_GET_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def326]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:8: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c: scope_hint: In function 'make_runtime_spec_schema_config_schema'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:155:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_schema_hooks(get_val(tree, "hooks", 3), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:27:28: note: in expansion of macro 'YAJL_GET_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:27:28: note: in expansion of macro 'YAJL_GET_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def327]
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:155:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_schema_process_capabilities(get_val(tree, "capabilities", 3), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:1263:28: note: in expansion of macro 'YAJL_GET_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2613:29: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:1263:28: note: in expansion of macro 'YAJL_GET_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def328]
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:155:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_schema_process_user(get_val(tree, "user", 3), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:1003:28: note: in expansion of macro 'YAJL_GET_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2613:29: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:1003:28: note: in expansion of macro 'YAJL_GET_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def329]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array_item.c: scope_hint: In function 'basic_test_double_array_item_parse_file_stream'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:156:49: warning[-Wanalyzer-malloc-leak]: leak of 'basic_test_double_array_item_parse_data(fread_file(stream, & filesize), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array_item.c:63:26: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array_item.c:63:26: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array_item.c:261:1: note: in expansion of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array_item.c: scope_hint: In function 'basic_test_double_array_item_parse_file_stream'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array_item.c:63:26: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def330]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array_item.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array_item.c:8: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array_item.c: scope_hint: In function 'basic_test_double_array_item_parse_data'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:156:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_basic_test_double_array_item(yajl_tree_parse(jsondata, & errbuf, 1024), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array_item.c:63:26: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array_item.c:63:26: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array_item.c:63:26: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def331]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c:8: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c: scope_hint: In function 'make_basic_test_double_array'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:156:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_basic_test_double_array_objectarrays_element(*<unknown>, ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c:29:26: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c:29:26: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_double_array.c:29:26: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def332]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_obj.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_obj.c:8: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_obj.c: scope_hint: In function 'make_basic_test_top_double_array_obj_container'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:156:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_basic_test_top_double_array_obj_element(*<unknown>, ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_obj.c:29:26: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_obj.c:29:26: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/basic_test_top_double_array_obj.c:29:26: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def333]
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:156:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_image_spec_schema_config_schema_config(get_val(tree, "config", 3), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:167:33: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:167:33: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:167:33: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def334]
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:156:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_image_spec_schema_config_schema_history_element(val, ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:903:32: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:903:32: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/image_spec_schema_config_schema.c:903:32: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def335]
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:8: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c: scope_hint: In function 'make_runtime_spec_schema_features_linux'
crun-1.18.2-build/crun-1.18.2/libocispec/src/yajl/yajl_tree.h:156:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_features_linux_cgroup(get_val(tree, "cgroup", 3), ctx, err)'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:29:23: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:29:23: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:48:23: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:67:28: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:86:33: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:105:25: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:29:23: note: in expansion of macro 'YAJL_IS_TRUE'
Error: CPPCHECK_WARNING (CWE-457): [#def336]
crun-1.18.2-build/crun-1.18.2/src/libcrun/blake3/blake3.c:229: warning[uninitvar]: Uninitialized variable: parents_array
Error: GCC_ANALYZER_WARNING (CWE-775): [#def337]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-cgroupfs.c: scope_hint: In function 'libcrun_precreate_cgroup_cgroupfs'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-cgroupfs.c:82:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(cgroup_path, 720896)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def338]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-cgroupfs.c: scope_hint: In function ‘libcrun_precreate_cgroup_cgroupfs’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-cgroupfs.c:82:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(cgroup_path, 720896)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def339]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-resources.c:152:12: warning[-Wanalyzer-null-argument]: use of NULL 'controllers' where non-null expected
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-resources.c: scope_hint: In function 'check_cgroup_v2_controller_available_wrapper'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-resources.c:314:16: note: in expansion of macro 'crun_make_error'
<built-in>: note: argument 1 of '__builtin_strchr' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def340]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-resources.c:152:12: warning[-Wanalyzer-null-argument]: use of NULL ‘controllers’ where non-null expected
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-resources.c: scope_hint: In function ‘check_cgroup_v2_controller_available_wrapper’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-resources.c:314:16: note: in expansion of macro ‘crun_make_error’
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-775): [#def341]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-resources.c: scope_hint: In function 'update_cgroup_v2_resources'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-resources.c:1300:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(cgroup_path, 589824)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def342]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-resources.c: scope_hint: In function ‘update_cgroup_v2_resources’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-resources.c:1300:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(cgroup_path, 589824)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def343]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c: scope_hint: In function 'initialize_cpuset_subsystem_rec'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c:53:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(path, 2686976)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def344]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c: scope_hint: In function ‘initialize_cpuset_subsystem_rec’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c:53:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 2686976)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def345]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c: scope_hint: In function ‘initialize_cpuset_subsystem’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c:155:10: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def346]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c: scope_hint: In function 'enter_cgroup_v2'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c:461:15: warning[-Wanalyzer-null-argument]: use of NULL 'cgroup_crun_exec_path' where non-null expected
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c:309:12: note: in expansion of macro 'crun_make_error'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.h:23: included_from: Included from here.
/usr/include/string.h:159:12: note: argument 2 of 'strncmp' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def347]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c: scope_hint: In function ‘enter_cgroup_v2’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c:461:15: warning[-Wanalyzer-null-argument]: use of NULL ‘cgroup_crun_exec_path’ where non-null expected
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c:309:12: note: in expansion of macro ‘crun_make_error’
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.h:23: included_from: Included from here.
/usr/include/string.h:159:12: note: argument 2 of ‘strncmp’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def348]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c: scope_hint: In function 'enter_cgroup_v2'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c:490:1: warning[-Wanalyzer-malloc-leak]: leak of 'cgroup_crun_exec_path'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-internal.h:22: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c:23: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def349]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c: scope_hint: In function ‘enter_cgroup_v2’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c:490:1: warning[-Wanalyzer-malloc-leak]: leak of ‘cgroup_crun_exec_path’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-internal.h:22: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c:23: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def350]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function 'libcrun_get_cgroup_dirfd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c:968:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(path_to_cgroup, 2818048)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function 'libcrun_get_cgroup_dirfd'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def351]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function ‘libcrun_get_cgroup_dirfd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c:968:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path_to_cgroup, 2818048)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function ‘libcrun_get_cgroup_dirfd’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def352]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.c: scope_hint: In function 'libcrun_cgroup_destroy'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.c:204:24: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cgroup_manager'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def353]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.c: scope_hint: In function ‘libcrun_cgroup_destroy’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.c:204:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cgroup_manager’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def354]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.c: scope_hint: In function 'libcrun_update_cgroup_resources'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.c:220:21: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cgroup_manager'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def355]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.c: scope_hint: In function ‘libcrun_update_cgroup_resources’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.c:220:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cgroup_manager’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def356]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.c: scope_hint: In function 'libcrun_cgroup_preenter'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.c:278:21: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cgroup_manager'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def357]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.c: scope_hint: In function ‘libcrun_cgroup_preenter’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.c:278:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cgroup_manager’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def358]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.c: scope_hint: In function 'libcrun_cgroup_enter'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.c:335:23: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cgroup_manager'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def359]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.c: scope_hint: In function ‘libcrun_cgroup_enter’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.c:335:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cgroup_manager’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def360]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cloned_binary.c: scope_hint: In function 'fetchve'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cloned_binary.c:190:40: warning[-Wanalyzer-malloc-leak]: leak of 'read_file("/proc/self/cmdline", &cmdline_size)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cloned_binary.c:61: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def361]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cloned_binary.c: scope_hint: In function ‘fetchve’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cloned_binary.c:190:40: warning[-Wanalyzer-malloc-leak]: leak of ‘read_file("/proc/self/cmdline", &cmdline_size)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cloned_binary.c:61: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def362]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cloned_binary.c: scope_hint: In function 'parse_xargs'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cloned_binary.c:222:24: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def363]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cloned_binary.c: scope_hint: In function ‘parse_xargs’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cloned_binary.c:222:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def364]
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'libcrun_container_load_from_file'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:554:10: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def365]
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘libcrun_container_load_from_file’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:554:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def366]
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'container_delete_internal'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:1736:15: warning[-Wanalyzer-null-dereference]: dereference of NULL 'container'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:580:7: note: in expansion of macro 'crun_make_error'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:1617:12: note: in expansion of macro 'crun_make_error'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:1609:12: note: in expansion of macro 'crun_make_error'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def367]
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘container_delete_internal’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:1736:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘container’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:580:7: note: in expansion of macro ‘crun_make_error’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:1617:12: note: in expansion of macro ‘crun_make_error’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:1609:12: note: in expansion of macro ‘crun_make_error’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def368]
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'exec_process_entrypoint'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:3496:23: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'pipefd1'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def369]
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘exec_process_entrypoint’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:3496:23: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘pipefd1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def370]
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:3665:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'process'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def371]
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘libcrun_container_exec_with_options’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:3665:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘process’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘libcrun_container_exec_with_options’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘libcrun_container_exec_with_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def372]
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:3680:32: warning[-Wanalyzer-malloc-leak]: leak of '*process.selinux_label'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def373]
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:3680:32: warning[-Wanalyzer-malloc-leak]: leak of ‘*process.selinux_label’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘libcrun_container_exec_with_options’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘libcrun_container_exec_with_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def374]
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:3683:35: warning[-Wanalyzer-malloc-leak]: leak of '*process.apparmor_profile'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def375]
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:3683:35: warning[-Wanalyzer-malloc-leak]: leak of ‘*process.apparmor_profile’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘libcrun_container_exec_with_options’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘libcrun_container_exec_with_options’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def376]
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:3709:27: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'pipefd0'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def377]
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:3709:27: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘pipefd0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘libcrun_container_exec_with_options’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘libcrun_container_exec_with_options’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def378]
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:3720:23: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'pipefd1'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def379]
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:3720:23: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘pipefd1’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘libcrun_container_exec_with_options’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘libcrun_container_exec_with_options’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def380]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c: scope_hint: In function 'restore_cgroup_v1_mount'
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:298:22: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def381]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c: scope_hint: In function ‘restore_cgroup_v1_mount’
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:298:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def382]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:300:20: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def383]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:300:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def384]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c: scope_hint: In function 'checkpoint_cgroup_v1_mount'
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:365:22: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def385]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c: scope_hint: In function ‘checkpoint_cgroup_v1_mount’
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:365:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def386]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:367:20: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def387]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:367:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def388]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c: scope_hint: In function 'libcrun_container_checkpoint_linux_criu'
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:442:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(*cr_options.image_path, 589824)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def389]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c: scope_hint: In function ‘libcrun_container_checkpoint_linux_criu’
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:442:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*cr_options.image_path, 589824)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def390]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:462:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(*cr_options.work_path, 589824)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def391]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:462:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*cr_options.work_path, 589824)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def392]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c: scope_hint: In function 'prepare_restore_mounts'
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:707:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(root, 524288)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def393]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c: scope_hint: In function ‘prepare_restore_mounts’
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:707:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(root, 524288)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def394]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c: scope_hint: In function 'libcrun_container_restore_linux_criu'
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:765:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(*cr_options.image_path, 589824)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def395]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c: scope_hint: In function ‘libcrun_container_restore_linux_criu’
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:765:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*cr_options.image_path, 589824)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def396]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:821:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(*cr_options.work_path, 589824)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:796:17: note: in expansion of macro 'YAJL_IS_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def397]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:821:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*cr_options.work_path, 589824)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:796:17: note: in expansion of macro ‘YAJL_IS_ARRAY’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def398]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:924:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(**_148.path, 0)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:796:17: note: in expansion of macro 'YAJL_IS_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def399]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:924:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(**_148.path, 0)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:796:17: note: in expansion of macro ‘YAJL_IS_ARRAY’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def400]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:933:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(**_165.path, 0)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:796:17: note: in expansion of macro 'YAJL_IS_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def401]
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:933:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(**_165.path, 0)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:796:17: note: in expansion of macro ‘YAJL_IS_ARRAY’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def402]
crun-1.18.2-build/crun-1.18.2/src/libcrun/ebpf.c: scope_hint: In function ‘read_all_progs’
crun-1.18.2-build/crun-1.18.2/src/libcrun/ebpf.c:294:18: warning[-Wanalyzer-infinite-loop]: infinite loop
crun-1.18.2-build/crun-1.18.2/src/libcrun/ebpf.h:25: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def403]
crun-1.18.2-build/crun-1.18.2/src/libcrun/error.c: scope_hint: In function 'log_write_to_syslog'
crun-1.18.2-build/crun-1.18.2/src/libcrun/error.c:308:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'priority'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def404]
crun-1.18.2-build/crun-1.18.2/src/libcrun/error.c: scope_hint: In function ‘log_write_to_syslog’
crun-1.18.2-build/crun-1.18.2/src/libcrun/error.c:308:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘priority’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def405]
crun-1.18.2-build/crun-1.18.2/src/libcrun/error.c:310:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'priority'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def406]
crun-1.18.2-build/crun-1.18.2/src/libcrun/error.c:310:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘priority’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def407]
crun-1.18.2-build/crun-1.18.2/src/libcrun/error.c: scope_hint: In function 'make_json_error'
crun-1.18.2-build/crun-1.18.2/src/libcrun/error.c:407:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'level'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def408]
crun-1.18.2-build/crun-1.18.2/src/libcrun/error.c: scope_hint: In function ‘make_json_error’
crun-1.18.2-build/crun-1.18.2/src/libcrun/error.c:407:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘level’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def409]
crun-1.18.2-build/crun-1.18.2/src/libcrun/handlers/krun.c: scope_hint: In function 'libkrun_configure_container'
crun-1.18.2-build/crun-1.18.2/src/libcrun/handlers/krun.c:186:37: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(rootfs, 2621440)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def410]
crun-1.18.2-build/crun-1.18.2/src/libcrun/handlers/krun.c: scope_hint: In function ‘libkrun_configure_container’
crun-1.18.2-build/crun-1.18.2/src/libcrun/handlers/krun.c:186:37: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(rootfs, 2621440)’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def411]
crun-1.18.2-build/crun-1.18.2/src/libcrun/handlers/krun.c:248:6: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'create_sev'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def412]
crun-1.18.2-build/crun-1.18.2/src/libcrun/handlers/krun.c:248:6: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘create_sev’
Error: COMPILER_WARNING (CWE-457): [#def413]
crun-1.18.2-build/crun-1.18.2/src/libcrun/handlers/krun.c: scope_hint: In function 'libkrun_configure_container'
crun-1.18.2-build/crun-1.18.2/src/libcrun/handlers/krun.c:248:6: warning[-Wmaybe-uninitialized]: 'create_sev' may be used uninitialized
crun-1.18.2-build/crun-1.18.2/src/libcrun/handlers/krun.c:180:8: note: 'create_sev' was declared here
Error: COMPILER_WARNING (CWE-457): [#def414]
crun-1.18.2-build/crun-1.18.2/src/libcrun/handlers/krun.c: scope_hint: In function ‘libkrun_configure_container’
crun-1.18.2-build/crun-1.18.2/src/libcrun/handlers/krun.c:248:6: warning[-Wmaybe-uninitialized]: ‘create_sev’ may be used uninitialized
crun-1.18.2-build/crun-1.18.2/src/libcrun/handlers/krun.c:180:8: note: ‘create_sev’ was declared here
Error: COMPILER_WARNING (CWE-563): [#def415]
crun-1.18.2-build/crun-1.18.2/src/libcrun/handlers/krun.c: scope_hint: In function 'libkrun_load'
crun-1.18.2-build/crun-1.18.2/src/libcrun/handlers/krun.c:262:9: warning[-Wunused-variable]: unused variable 'handle'
Error: COMPILER_WARNING (CWE-563): [#def416]
crun-1.18.2-build/crun-1.18.2/src/libcrun/handlers/krun.c: scope_hint: In function ‘libkrun_load’
crun-1.18.2-build/crun-1.18.2/src/libcrun/handlers/krun.c:262:9: warning[-Wunused-variable]: unused variable ‘handle’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def417]
crun-1.18.2-build/crun-1.18.2/src/libcrun/intelrdt.c: scope_hint: In function 'resctl_update'
crun-1.18.2-build/crun-1.18.2/src/libcrun/intelrdt.c:313:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(path, 524289)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def418]
crun-1.18.2-build/crun-1.18.2/src/libcrun/intelrdt.c: scope_hint: In function ‘resctl_update’
crun-1.18.2-build/crun-1.18.2/src/libcrun/intelrdt.c:313:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 524289)’
Error: CPPCHECK_WARNING (CWE-457): [#def419]
crun-1.18.2-build/crun-1.18.2/src/libcrun/linux.c:3680: error[uninitvar]: Uninitialized variable: code
Error: GCC_ANALYZER_WARNING (CWE-775): [#def420]
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function 'store_seccomp_cache'
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c:461:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open_rundir_dirfd(*container_44->context.state_root, err)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function 'store_seccomp_cache'
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function 'store_seccomp_cache'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def421]
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function 'libcrun_open_seccomp_bpf'
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c:461:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open_rundir_dirfd(*container_50->context.state_root, err)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function 'libcrun_open_seccomp_bpf'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def422]
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function ‘store_seccomp_cache’
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c:461:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open_rundir_dirfd(*container_44->context.state_root, err)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function ‘store_seccomp_cache’
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function ‘store_seccomp_cache’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def423]
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function ‘libcrun_open_seccomp_bpf’
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c:461:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open_rundir_dirfd(*container_50->context.state_root, err)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function ‘libcrun_open_seccomp_bpf’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def424]
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function 'open_rundir_dirfd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c:464:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(libcrun_get_state_directory(state_root, 0), 2686976)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def425]
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function ‘open_rundir_dirfd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c:464:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(libcrun_get_state_directory(state_root, 0), 2686976)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def426]
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c:465:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def427]
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c:465:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def428]
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function 'evict_cache'
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c:522:11: warning[-Wanalyzer-malloc-leak]: leak of 'fdopendir(cache_dir_fd)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def429]
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function ‘evict_cache’
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c:522:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(cache_dir_fd)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def430]
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c:562:7: warning[-Wanalyzer-null-argument]: use of NULL 'entries' where non-null expected
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.h:22: included_from: Included from here.
/usr/include/stdlib.h:970:13: note: argument 1 of 'qsort' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def431]
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c:562:7: warning[-Wanalyzer-null-argument]: use of NULL ‘entries’ where non-null expected
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.h:22: included_from: Included from here.
/usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def432]
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c: scope_hint: In function 'libcrun_container_delete_status'
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:50:12: warning[-Wanalyzer-malloc-leak]: leak of 'get_run_directory(state_root)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def433]
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c: scope_hint: In function ‘libcrun_container_delete_status’
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:50:12: warning[-Wanalyzer-malloc-leak]: leak of ‘get_run_directory(state_root)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def434]
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c: scope_hint: In function 'read_pid_stat'
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:119:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(&pid_stat_file, 524288)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def435]
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c: scope_hint: In function ‘read_pid_stat’
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:119:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&pid_stat_file, 524288)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def436]
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c: scope_hint: In function 'rmdirfd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:474:7: warning[-Wanalyzer-malloc-leak]: leak of 'fdopendir(fd)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def437]
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c: scope_hint: In function ‘rmdirfd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:474:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(fd)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def438]
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c: scope_hint: In function 'libcrun_container_delete_status'
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:536:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(get_run_directory(state_root), 2686976)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def439]
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c: scope_hint: In function ‘libcrun_container_delete_status’
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:536:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(get_run_directory(state_root), 2686976)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def440]
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c: scope_hint: In function 'libcrun_container_delete_status'
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:557:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'rundir_dfd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/error.h:42: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.h:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:21: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:22: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def441]
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c: scope_hint: In function ‘libcrun_container_delete_status’
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:557:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘rundir_dfd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/error.h:42: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.h:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:21: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:22: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def442]
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:583:9: warning[-Wanalyzer-malloc-leak]: leak of 'opendir(get_run_directory(state_root))'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def443]
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:583:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(get_run_directory(state_root))’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def444]
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c: scope_hint: In function ‘libcrun_get_containers_list’
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:583:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:27: included_from: Included from here.
/usr/include/dirent.h:141:13: note: argument 1 of ‘opendir’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-775): [#def445]
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c: scope_hint: In function 'libcrun_status_create_exec_fifo'
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:693:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(fifo_path, 526336)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def446]
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c: scope_hint: In function ‘libcrun_status_create_exec_fifo’
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:693:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fifo_path, 526336)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def447]
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c: scope_hint: In function 'libcrun_status_write_exec_fifo'
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:715:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(fifo_path, 524289)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def448]
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c: scope_hint: In function ‘libcrun_status_write_exec_fifo’
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c:715:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fifo_path, 524289)’
Error: COMPILER_WARNING (CWE-457): [#def449]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function 'format_default_id_mapping'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:1560:12: warning[-Wmaybe-uninitialized]: 'from' may be used uninitialized
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:1544:12: note: 'from' was declared here
Error: COMPILER_WARNING (CWE-457): [#def450]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function ‘format_default_id_mapping’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:1560:12: warning[-Wmaybe-uninitialized]: ‘from’ may be used uninitialized
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:1544:12: note: ‘from’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def451]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:1561:17: warning[-Wmaybe-uninitialized]: 'available' may be used uninitialized
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:1544:18: note: 'available' was declared here
Error: COMPILER_WARNING (CWE-457): [#def452]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:1561:17: warning[-Wmaybe-uninitialized]: ‘available’ may be used uninitialized
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:1544:18: note: ‘available’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def453]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function 'copy_recursive_fd_to_fd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:2085:12: warning[-Wanalyzer-malloc-leak]: leak of 'fdopendir(srcdirfd)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def454]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function ‘copy_recursive_fd_to_fd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:2085:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(srcdirfd)’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def455]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:2088:27: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'srcdirfd'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def456]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:2088:27: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘srcdirfd’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def457]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:2132:31: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'destfd'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def458]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:2132:31: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘destfd’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def459]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:2166:17: warning[-Wanalyzer-null-argument]: use of NULL 'target_buf' where non-null expected
/usr/include/unistd.h:847:12: note: argument 1 of 'symlinkat' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def460]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:2166:17: warning[-Wanalyzer-null-argument]: use of NULL ‘target_buf’ where non-null expected
/usr/include/unistd.h:847:12: note: argument 1 of ‘symlinkat’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def461]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function 'read_file_as_long_or_default'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:2491:9: warning[-Wanalyzer-null-argument]: use of NULL 'content' where non-null expected
/usr/include/features.h:511: included_from: Included from here.
/usr/include/bits/libc-header-start.h:33: included_from: Included from here.
/usr/include/stdio.h:28: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:22: included_from: Included from here.
/usr/include/stdlib.h:215:17: note: argument 1 of 'strtol' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def462]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function ‘read_file_as_long_or_default’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:2491:9: warning[-Wanalyzer-null-argument]: use of NULL ‘content’ where non-null expected
/usr/include/features.h:511: included_from: Included from here.
/usr/include/bits/libc-header-start.h:33: included_from: Included from here.
/usr/include/stdio.h:28: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:22: included_from: Included from here.
/usr/include/stdlib.h:215:17: note: argument 1 of ‘strtol’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def463]
crun-1.18.2-build/crun-1.18.2/src/libcrun/intelrdt.c:23: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'resctl_update'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'intelrdt_clean_l3_cache_schema(l3_cache_schema)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def464]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'safe_read_xattr'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc((long unsigned int)(current_size + 1))'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def465]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'copy_xattr'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc((long unsigned int)(xattr_len + 1))'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def466]
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp_notify.c:32: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'libcrun_load_seccomp_notify_plugins'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc((long unsigned int)*(struct seccomp_notify_context_s *)<unknown>.sizes.seccomp_notif)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def467]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc((long unsigned int)*(struct seccomp_notify_context_s *)<unknown>.sizes.seccomp_notif_resp)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def468]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'compare_rdt_configurations'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc((n_parts_a + 1) * 8)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def469]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:21: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'read_dir_entries'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(128)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def470]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'libcrun_get_containers_list'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(16)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def471]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'read_all_fd_with_size_hint'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(allocated + 1)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function 'read_all_fd_with_size_hint'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def472]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-internal.h:22: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c:23: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'write_controller_file'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(controllers_len + 1)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def473]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'copy_from_fd_to_fd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(get_page_size())'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def474]
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c:25: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'libcrun_copy_seccomp'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(in_size + 1)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def475]
crun-1.18.2-build/crun-1.18.2/src/libcrun/intelrdt.c:23: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘resctl_update’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of ‘intelrdt_clean_l3_cache_schema(l3_cache_schema)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def476]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘safe_read_xattr’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc((long unsigned int)(current_size + 1))’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def477]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘copy_xattr’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc((long unsigned int)(xattr_len + 1))’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def478]
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp_notify.c:32: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘libcrun_load_seccomp_notify_plugins’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc((long unsigned int)*(struct seccomp_notify_context_s *)<unknown>.sizes.seccomp_notif)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def479]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc((long unsigned int)*(struct seccomp_notify_context_s *)<unknown>.sizes.seccomp_notif_resp)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def480]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘compare_rdt_configurations’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc((n_parts_a + 1) * 8)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def481]
crun-1.18.2-build/crun-1.18.2/tests/tests_libcrun_utils.c:20: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘test_write_read_file’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc(1024)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def482]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c:21: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘read_dir_entries’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc(128)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def483]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘libcrun_get_containers_list’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc(16)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def484]
crun-1.18.2-build/crun-1.18.2/src/exec.c:29: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘crun_command_exec’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc(88)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
/usr/include/bits/types/stack_t.h:23: included_from: Included from here.
/usr/include/signal.h:313: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:29: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def485]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘read_all_fd_with_size_hint’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc(allocated + 1)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function ‘read_all_fd_with_size_hint’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def486]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-internal.h:22: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c:23: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘write_controller_file’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc(controllers_len + 1)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def487]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘copy_from_fd_to_fd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc(get_page_size())’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def488]
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c:25: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘libcrun_copy_seccomp’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc(in_size + 1)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def489]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_restore'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'libcrun_container_load_from_file("config.json", err)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def490]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_update_intel_rdt'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'libcrun_container_load_from_file(config_file, err)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def491]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_load_from_file'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'make_container(runtime_spec_schema_config_schema_parse_file(path, 0, & oci_error), path, 0)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def492]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'retrieve_mount_options'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc0((num_mount_options + 1) * 8)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def493]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc0(120)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:1609:12: note: in expansion of macro 'crun_make_error'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def494]
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_get_features'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc0(144)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def495]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_update'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc0(176)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.h:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:23: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:1609:12: note: in expansion of macro 'crun_make_error'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def496]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-internal.h:22: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.c:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'libcrun_cgroup_enter'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc0(24)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def497]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc0(48)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def498]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘libcrun_container_restore’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of ‘libcrun_container_load_from_file("config.json", err)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def499]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘libcrun_container_update_intel_rdt’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of ‘libcrun_container_load_from_file(config_file, err)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def500]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘libcrun_container_load_from_file’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of ‘make_container(runtime_spec_schema_config_schema_parse_file(path, 0, & oci_error), path, 0)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def501]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘crun_command_exec’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of ‘make_oci_process_user(exec_options.user)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def502]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc0((long unsigned int)(argc + 1) * 8)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def503]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘retrieve_mount_options’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc0((num_mount_options + 1) * 8)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def504]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc0(120)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:1609:12: note: in expansion of macro ‘crun_make_error’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def505]
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘libcrun_container_get_features’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc0(144)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def506]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘libcrun_container_update’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc0(176)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.h:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:23: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c:1609:12: note: in expansion of macro ‘crun_make_error’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def507]
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-internal.h:22: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.c:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘libcrun_cgroup_enter’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc0(24)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def508]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc0(48)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def509]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘make_oci_process_user’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xmalloc0(56)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def510]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'safe_read_xattr'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of 'xrealloc(buffer, (long unsigned int)(current_size + 1))'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def511]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of 'xrealloc(entries, entries_size * 16)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def512]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'read_dir_entries'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of 'xrealloc(entries, (n_entries + 1) * 8)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def513]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'evict_cache'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of 'xrealloc(entries, (n_entries + 1) * 88)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def514]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'libcrun_ebpf_load'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of 'xrealloc(log, log_size)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def515]
crun-1.18.2-build/crun-1.18.2/src/libcrun/ebpf.c:23: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'read_all_progs'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of 'xrealloc(progs, cur_size * 4)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def516]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'safe_readlinkat'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of 'xrealloc(tmp_buf, (long unsigned int)(buf_size + 1))'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def517]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘safe_read_xattr’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xrealloc(buffer, (long unsigned int)(current_size + 1))’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def518]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xrealloc(entries, entries_size * 16)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def519]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘read_dir_entries’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xrealloc(entries, (n_entries + 1) * 8)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def520]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘evict_cache’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xrealloc(entries, (n_entries + 1) * 88)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def521]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘libcrun_ebpf_load’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xrealloc(log, log_size)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def522]
crun-1.18.2-build/crun-1.18.2/src/libcrun/ebpf.c:23: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘read_all_progs’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xrealloc(progs, cur_size * 4)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def523]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘safe_readlinkat’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of ‘xrealloc(tmp_buf, (long unsigned int)(buf_size + 1))’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def524]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-'free' of '*(void **)&cgroup_path_type'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function 'maybe_make_cgroup_threaded'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function 'maybe_make_cgroup_threaded'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function 'maybe_make_cgroup_threaded'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function 'maybe_make_cgroup_threaded'
Error: GCC_ANALYZER_WARNING (CWE-415): [#def525]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-'free' of '*(void **)&content'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function 'maybe_make_cgroup_threaded'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function 'maybe_make_cgroup_threaded'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function 'maybe_make_cgroup_threaded'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function 'maybe_make_cgroup_threaded'
Error: GCC_ANALYZER_WARNING (CWE-415): [#def526]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-'free' of '*(void **)&controllers'
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-resources.c: scope_hint: In function 'check_cgroup_v2_controller_available_wrapper'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.h:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.h:21: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-resources.c:22: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-resources.c:1020:16: note: in expansion of macro 'crun_make_error'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-resources.c: scope_hint: In function 'check_cgroup_v2_controller_available_wrapper'
Error: GCC_ANALYZER_WARNING (CWE-415): [#def527]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-'free' of '*(void **)&target_buf'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function 'copy_recursive_fd_to_fd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function 'copy_recursive_fd_to_fd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function 'copy_recursive_fd_to_fd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function 'copy_recursive_fd_to_fd'
Error: GCC_ANALYZER_WARNING (CWE-415): [#def528]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-'free' of 'buffer'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function 'safe_read_xattr'
Error: GCC_ANALYZER_WARNING (CWE-415): [#def529]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-'free' of 'entries'
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function 'evict_cache'
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function 'evict_cache'
Error: GCC_ANALYZER_WARNING (CWE-415): [#def530]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-'free' of 'log'
crun-1.18.2-build/crun-1.18.2/src/libcrun/ebpf.c: scope_hint: In function 'libcrun_ebpf_load'
Error: GCC_ANALYZER_WARNING (CWE-415): [#def531]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-'free' of 'progs'
crun-1.18.2-build/crun-1.18.2/src/libcrun/ebpf.c: scope_hint: In function 'read_all_progs'
Error: GCC_ANALYZER_WARNING (CWE-415): [#def532]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-'free' of 'tmp_buf'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function 'safe_readlinkat'
Error: GCC_ANALYZER_WARNING (CWE-415): [#def533]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*(void **)&cgroup_path_type’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function ‘maybe_make_cgroup_threaded’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function ‘maybe_make_cgroup_threaded’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function ‘maybe_make_cgroup_threaded’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function ‘maybe_make_cgroup_threaded’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def534]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*(void **)&content’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function ‘maybe_make_cgroup_threaded’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function ‘maybe_make_cgroup_threaded’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function ‘maybe_make_cgroup_threaded’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-utils.c: scope_hint: In function ‘maybe_make_cgroup_threaded’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def535]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*(void **)&controllers’
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-resources.c: scope_hint: In function ‘check_cgroup_v2_controller_available_wrapper’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.h:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.h:21: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-resources.c:22: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-resources.c:1020:16: note: in expansion of macro ‘crun_make_error’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-resources.c: scope_hint: In function ‘check_cgroup_v2_controller_available_wrapper’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def536]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*(void **)&target_buf’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function ‘copy_recursive_fd_to_fd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function ‘copy_recursive_fd_to_fd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function ‘copy_recursive_fd_to_fd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function ‘copy_recursive_fd_to_fd’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def537]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buffer’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function ‘safe_read_xattr’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def538]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘bundle_cleanup’
crun-1.18.2-build/crun-1.18.2/src/restore.c: scope_hint: In function ‘crun_command_restore’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def539]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘entries’
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function ‘evict_cache’
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function ‘evict_cache’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def540]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘log’
crun-1.18.2-build/crun-1.18.2/src/libcrun/ebpf.c: scope_hint: In function ‘libcrun_ebpf_load’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def541]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘progs’
crun-1.18.2-build/crun-1.18.2/src/libcrun/ebpf.c: scope_hint: In function ‘read_all_progs’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def542]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘tmp_buf’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function ‘safe_readlinkat’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def543]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'libcrun_container_restore'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def544]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:89:3: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘libcrun_container_restore’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def545]
crun-1.18.2-build/crun-1.18.2/src/libcrun/error.h:42: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.h:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.h:21: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c:22: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor '*(void *)p'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def546]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'cfd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c: scope_hint: In function 'cleanup_closep.part.0'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def547]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'console_socket_fd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def548]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'destdirfd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def549]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'dirfd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function 'cleanup_closep.part.0'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def550]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'fd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def551]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'fd_cleanup'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def552]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'image_fd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def553]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'memfd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.h:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def554]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'root_fd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def555]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'rootfsfd_cleanup'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def556]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'signalfd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def557]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'srcfd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function 'cleanup_closep.part.0'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function 'cleanup_closep.part.0'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def558]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'wfd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def559]
crun-1.18.2-build/crun-1.18.2/src/libcrun/error.h:42: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.h:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup.h:21: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/cgroup-setup.c:22: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘cleanup_closep.part.0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘*(void *)p’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def560]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘cfd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘cleanup_closep.part.0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/status.c: scope_hint: In function ‘cleanup_closep.part.0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘cleanup_closep.part.0’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def561]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘console_socket_fd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘cleanup_closep.part.0’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def562]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘destdirfd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘cleanup_closep.part.0’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def563]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘dirfd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.c: scope_hint: In function ‘cleanup_closep.part.0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘cleanup_closep.part.0’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def564]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘fd_cleanup’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘cleanup_closep.part.0’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def565]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘fd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘cleanup_closep.part.0’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def566]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘image_fd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘cleanup_closep.part.0’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def567]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘memfd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/seccomp.h:24: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘cleanup_closep.part.0’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def568]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘outfd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:39:32: note: in definition of macro ‘TEMP_FAILURE_RETRY’
crun-1.18.2-build/crun-1.18.2/tests/tests_libcrun_fuzzer.c: scope_hint: In function ‘cleanup_closep.part.0’
crun-1.18.2-build/crun-1.18.2/tests/tests_libcrun_fuzzer.c: scope_hint: In function ‘cleanup_closep.part.0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘cleanup_closep.part.0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:39:32: note: in definition of macro ‘TEMP_FAILURE_RETRY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:5: note: in expansion of macro ‘TEMP_FAILURE_RETRY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:39:32: note: in definition of macro ‘TEMP_FAILURE_RETRY’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def569]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘pipefd0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:39:32: note: in definition of macro ‘TEMP_FAILURE_RETRY’
crun-1.18.2-build/crun-1.18.2/tests/tests_libcrun_utils.c: scope_hint: In function ‘cleanup_closep.part.0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘cleanup_closep.part.0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:39:32: note: in definition of macro ‘TEMP_FAILURE_RETRY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:5: note: in expansion of macro ‘TEMP_FAILURE_RETRY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:39:32: note: in definition of macro ‘TEMP_FAILURE_RETRY’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def570]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘pipefd1’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:39:32: note: in definition of macro ‘TEMP_FAILURE_RETRY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘cleanup_closep.part.0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:39:32: note: in definition of macro ‘TEMP_FAILURE_RETRY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:5: note: in expansion of macro ‘TEMP_FAILURE_RETRY’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:39:32: note: in definition of macro ‘TEMP_FAILURE_RETRY’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def571]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘root_fd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘cleanup_closep.part.0’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def572]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘rootfsfd_cleanup’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘cleanup_closep.part.0’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def573]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘signalfd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘cleanup_closep.part.0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘cleanup_closep.part.0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘cleanup_closep.part.0’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def574]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘srcfd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function ‘cleanup_closep.part.0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.c: scope_hint: In function ‘cleanup_closep.part.0’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘cleanup_closep.part.0’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def575]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘wfd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘cleanup_closep.part.0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def576]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'libcrun_set_stdio'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:106:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'ret'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def577]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘libcrun_set_stdio’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:106:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def578]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'close_and_reset'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:207:33: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'memfd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def579]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:207:33: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'own_seccomp_receiver_fd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'close_and_reset'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'close_and_reset'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def580]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:207:33: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'seccomp_fd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'close_and_reset'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'close_and_reset'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def581]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'close_and_reset'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:207:33: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'seccomp_receiver_fd'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def582]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:207:33: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'terminal_fd'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'close_and_reset'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'close_and_reset'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def583]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘close_and_reset’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:207:33: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘memfd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def584]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:207:33: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘own_seccomp_receiver_fd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘close_and_reset’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘close_and_reset’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def585]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:207:33: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘seccomp_fd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘close_and_reset’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘close_and_reset’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def586]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘close_and_reset’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:207:33: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘seccomp_receiver_fd’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def587]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:207:33: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘terminal_fd’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘close_and_reset’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘close_and_reset’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def588]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_get_features'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup("1.0.0")'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def589]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup("1.1.0+dev")'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def590]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'read_dir_entries'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(&*<unknown>.d_name)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def591]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'libcrun_get_containers_list'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(&*next.d_name)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def592]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'libcrun_new_terminal'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(&buf)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def593]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'retrieve_mount_options'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(*<unknown>.name)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def594]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(*_70->process.selinux_label)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def595]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(*_75->process.apparmor_profile)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def596]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_restore_linux_criu'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(*status.bundle)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.h:23: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:32: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:796:17: note: in expansion of macro 'YAJL_IS_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def597]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'compare_rdt_configurations'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(a)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def598]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(b)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def599]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'read_unified_cgroup_pid'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(from)'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def600]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'check_cgroup_v2_controller_available_wrapper'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(name)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def601]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(plugins)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def602]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function 'maybe_make_cgroup_threaded'
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(t)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def603]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘libcrun_container_get_features’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup("1.0.0")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def604]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup("1.1.0+dev")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def605]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘read_dir_entries’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(&*<unknown>.d_name)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def606]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘libcrun_get_containers_list’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(&*next.d_name)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def607]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘libcrun_new_terminal’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(&buf)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def608]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘crun_command_exec’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(*<unknown>)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def609]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘retrieve_mount_options’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(*<unknown>.name)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def610]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘libcrun_container_exec_with_options’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(*_70->process.selinux_label)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘libcrun_container_exec_with_options’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘libcrun_container_exec_with_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def611]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(*_75->process.apparmor_profile)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘libcrun_container_exec_with_options’
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.c: scope_hint: In function ‘libcrun_container_exec_with_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def612]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘libcrun_container_restore_linux_criu’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(*status.bundle)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/libocispec/src/ocispec/runtime_spec_schema_config_schema.h:7: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/container.h:23: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:32: included_from: Included from here.
crun-1.18.2-build/crun-1.18.2/src/libcrun/criu.c:796:17: note: in expansion of macro ‘YAJL_IS_ARRAY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def613]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘compare_rdt_configurations’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(a)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def614]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(b)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def615]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(exec_options.apparmor)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def616]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(exec_options.process_label)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def617]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘read_unified_cgroup_pid’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(from)’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:56:40: note: in definition of macro ‘UNLIKELY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def618]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘check_cgroup_v2_controller_available_wrapper’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(name)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def619]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(plugins)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def620]
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h: scope_hint: In function ‘maybe_make_cgroup_threaded’
crun-1.18.2-build/crun-1.18.2/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(t)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def621]
crun-1.18.2-build/crun-1.18.2/src/spec.c: scope_hint: In function ‘crun_command_spec’
crun-1.18.2-build/crun-1.18.2/src/spec.c:126:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(where, "w+e")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def622]
crun-1.18.2-build/crun-1.18.2/src/spec.c:126:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(where, "w+e")’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def623]
crun-1.18.2-build/crun-1.18.2/tests/init.c: scope_hint: In function ‘write_to’
crun-1.18.2-build/crun-1.18.2/tests/init.c:165:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 1)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def624]
crun-1.18.2-build/crun-1.18.2/tests/init.c: scope_hint: In function ‘check_idmapped_mounts’
crun-1.18.2-build/crun-1.18.2/tests/init.c:209:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&proc_path, 0)’
crun-1.18.2-build/crun-1.18.2/tests/init.c: scope_hint: In function ‘check_idmapped_mounts’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def625]
crun-1.18.2-build/crun-1.18.2/tests/init.c: scope_hint: In function ‘cat’
crun-1.18.2-build/crun-1.18.2/tests/init.c:241:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(file, "rbe")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def626]
crun-1.18.2-build/crun-1.18.2/tests/init.c:241:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(file, "rbe")’
Error: COMPILER_WARNING: [#def627]
crun-1.18.2-build/crun-1.18.2/tests/init.c: scope_hint: In function ‘main’
crun-1.18.2-build/crun-1.18.2/tests/init.c:305:3: warning[-Wstringop-truncation]: ‘strncpy’ specified bound 108 equals destination size
Error: GCC_ANALYZER_WARNING (CWE-775): [#def628]
crun-1.18.2-build/crun-1.18.2/tests/init.c: scope_hint: In function ‘main’
crun-1.18.2-build/crun-1.18.2/tests/init.c:627:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&path, 1)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def629]
crun-1.18.2-build/crun-1.18.2/tests/tests_libcrun_fuzzer.c: scope_hint: In function ‘test_generate_ebpf’
crun-1.18.2-build/crun-1.18.2/tests/tests_libcrun_fuzzer.c:105:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 1)’
crun-1.18.2-build/crun-1.18.2/tests/tests_libcrun_fuzzer.c: scope_hint: In function ‘test_generate_ebpf’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def630]
crun-1.18.2-build/crun-1.18.2/tests/tests_libcrun_fuzzer.c: scope_hint: In function ‘generate_seccomp’
crun-1.18.2-build/crun-1.18.2/tests/tests_libcrun_fuzzer.c:164:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 1)’
crun-1.18.2-build/crun-1.18.2/tests/tests_libcrun_fuzzer.c: scope_hint: In function ‘generate_seccomp’
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-56.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | crun-1.18.2-1.fc42 |
store-results-to | /tmp/tmpvg03j16k/crun-1.18.2-1.fc42.tar.xz |
time-created | 2024-11-12 23:27:17 |
time-finished | 2024-11-12 23:33:39 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpvg03j16k/crun-1.18.2-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpvg03j16k/crun-1.18.2-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |