crun-1.15-1.20240802133727467274.pr1508.64.gc3f7360
List of Defects
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:50:16: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:29:26: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:48:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:309:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:309: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): [#def5]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c: scope_hint: In function 'free_basic_test_double_array'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:376:53: warning[-Wanalyzer-null-dereference]: dereference of NULL '*ptr.strarrays_item_lens + i * 8'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c: scope_hint: In function 'free_basic_test_double_array'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array_item.c: scope_hint: In function 'basic_test_double_array_item_parse_data'
crun-1.15-build/crun-HEAD/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: GCC_ANALYZER_WARNING (CWE-401): [#def7]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_int.c: scope_hint: In function 'basic_test_top_array_int_container_parse_file_stream'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_int.c:20:15: warning[-Wanalyzer-malloc-leak]: leak of 'basic_test_top_array_int_container_parse_data(fread_file(stream, & filesize), ctx, err)'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_int.c:151:1: note: in expansion of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_int.c: scope_hint: In function 'basic_test_top_array_int_container_parse_file_stream'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_int.c: scope_hint: In function 'basic_test_top_array_int_container_parse_data'
crun-1.15-build/crun-HEAD/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): [#def9]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_int.c:31: error[memleak]: Memory leak: ptr
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_int.c: scope_hint: In function 'basic_test_top_array_int_container_parse_data'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_int.c:35:19: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_int.c:151:36: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_int.c: scope_hint: In function 'basic_test_top_array_int_container_parse_file_stream'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_int.c:151:1: note: in expansion of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_int.c: scope_hint: In function 'basic_test_top_array_int_container_parse_file_stream'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_string.c: scope_hint: In function 'basic_test_top_array_string_container_parse_file_stream'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_string.c:20:15: warning[-Wanalyzer-malloc-leak]: leak of 'basic_test_top_array_string_container_parse_data(fread_file(stream, & filesize), ctx, err)'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_string.c:144:1: note: in expansion of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_string.c: scope_hint: In function 'basic_test_top_array_string_container_parse_file_stream'
Error: CPPCHECK_WARNING (CWE-401): [#def13]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_array_string.c:31: error[memleak]: Memory leak: ptr
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_int.c:20:15: warning[-Wanalyzer-malloc-leak]: leak of 'basic_test_top_double_array_int_container_parse_data(fread_file(stream, & filesize), ctx, err)'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_int.c:174:1: note: in expansion of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/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): [#def15]
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/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): [#def16]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_int.c:31: error[memleak]: Memory leak: ptr
Error: CPPCHECK_WARNING (CWE-401): [#def17]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_int.c:35: error[memleak]: Memory leak: ptr
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/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): [#def19]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_int.c:174:36: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_int.c:174:1: note: in expansion of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
crun-1.15-build/crun-HEAD/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): [#def21]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_obj.c:161: error[memleak]: Memory leak: ptr
Error: CPPCHECK_WARNING (CWE-401): [#def22]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_obj.c:165: error[memleak]: Memory leak: ptr
Error: GCC_ANALYZER_WARNING (CWE-476): [#def23]
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_obj.c:199:44: warning[-Wanalyzer-null-dereference]: dereference of NULL '*ptr.subitem_lens + i * 8'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/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): [#def24]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_obj.c:201:15: warning[-Wanalyzer-null-dereference]: dereference of NULL '*<unknown> + j * 8'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/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): [#def25]
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/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.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:166:1: note: in expansion of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/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): [#def26]
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/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): [#def27]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:31: error[memleak]: Memory leak: ptr
Error: CPPCHECK_WARNING (CWE-401): [#def28]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:35: error[memleak]: Memory leak: ptr
Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/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): [#def30]
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/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.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/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): [#def31]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:166:36: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_refobj.c:166:1: note: in expansion of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:20:15: warning[-Wanalyzer-malloc-leak]: leak of 'basic_test_top_double_array_string_container_parse_data(fread_file(stream, & filesize), ctx, err)'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:171:1: note: in expansion of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/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): [#def33]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:31: error[memleak]: Memory leak: ptr
Error: CPPCHECK_WARNING (CWE-401): [#def34]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:35: error[memleak]: Memory leak: ptr
Error: GCC_ANALYZER_WARNING (CWE-476): [#def35]
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/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.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/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): [#def36]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_string.c:76:13: warning[-Wanalyzer-null-dereference]: dereference of NULL '*<unknown> + j * 8'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/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): [#def37]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_manifest_items_image_manifest_items_schema.c:106:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_manifest_items_image_manifest_items_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: CPPCHECK_WARNING (CWE-401): [#def38]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_manifest_items_image_manifest_items_schema.c:263: error[memleak]: Memory leak: ptr
Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:182:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/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): [#def40]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:745:38: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:696:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:744:32: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:151:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:63:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: CPPCHECK_WARNING (CWE-401): [#def42]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:75: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def43]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:78: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c: scope_hint: In function 'free_image_spec_schema_defs_map_string_object'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:115:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:177:29: note: in expansion of macro 'YAJL_IS_OBJECT'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:66:9: note: in expansion of macro 'YAJL_GET_OBJECT'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:177:29: note: in expansion of macro 'YAJL_IS_OBJECT'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_defs.c:66:9: note: in expansion of macro 'YAJL_GET_OBJECT'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/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): [#def45]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:111:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:41:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def46]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:43:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/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): [#def47]
crun-1.15-build/crun-HEAD/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): [#def48]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c: scope_hint: In function 'make_image_spec_schema_image_manifest_schema'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:181:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/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): [#def49]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:181:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
crun-1.15-build/crun-HEAD/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): [#def50]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:532: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def51]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:538: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def52]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:610: error[memleak]: Memory leak: keys
Error: CPPCHECK_WARNING (CWE-401): [#def53]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:711: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def54]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:716: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def55]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:780: error[memleak]: Memory leak: keys
Error: CPPCHECK_WARNING (CWE-401): [#def56]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:885: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def57]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:891: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def58]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1046: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def59]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1052: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def60]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1339: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def61]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1345: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def62]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1402: error[memleak]: Memory leak: keys
Error: CPPCHECK_WARNING (CWE-401): [#def63]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1408: error[memleak]: Memory leak: keys
Error: CPPCHECK_WARNING (CWE-401): [#def64]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1408: error[memleak]: Memory leak: vals
Error: GCC_ANALYZER_WARNING (CWE-457): [#def65]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c: scope_hint: In function 'free_json_map_string_string.part.0'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1480:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*map.values'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1486:1: note: in expansion of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c: scope_hint: In function 'free_json_map_string_string.part.0'
Error: CPPCHECK_WARNING (CWE-401): [#def66]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1514: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def67]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.c:1521: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def68]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c: scope_hint: In function 'make_runtime_spec_schema_config_linux_resources'
crun-1.15-build/crun-HEAD/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): [#def69]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:309:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def70]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:309: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): [#def71]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c: scope_hint: In function 'make_runtime_spec_schema_config_linux'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:1800:30: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_linux_resources(get_val(tree, "resources", 3), ctx, err)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def72]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2253:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2119:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: CPPCHECK_WARNING (CWE-401): [#def73]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2768: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def74]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2771: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def75]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2784: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def76]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2791: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def77]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2797: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:157:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
crun-1.15-build/crun-HEAD/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: GCC_ANALYZER_WARNING (CWE-401): [#def80]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:523:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:490:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:502:29: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c: scope_hint: In function 'make_runtime_spec_schema_config_schema_process'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:691: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): [#def82]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:925:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2282:29: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:925:13: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_schema_process_user(get_val(tree, "user", 3), ctx, err)'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2282:29: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:1234:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2282:29: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:1234:13: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_schema_process_capabilities(get_val(tree, "capabilities", 3), ctx, err)'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2282:29: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c: scope_hint: In function 'make_runtime_spec_schema_config_solaris'
crun-1.15-build/crun-HEAD/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): [#def87]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:171:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:151:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:171: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): [#def89]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:370:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:300:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:370:12: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_solaris_anet_element(val, ctx, err)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:69:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/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): [#def92]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:275:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:223:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: CPPCHECK_WARNING (CWE-401): [#def93]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:602: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def94]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:605: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def95]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:608: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def96]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:613: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def97]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:627: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def98]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:634: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def99]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:640: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c: scope_hint: In function 'make_runtime_spec_schema_config_windows_resources'
crun-1.15-build/crun-HEAD/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): [#def101]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:221: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): [#def102]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:269:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def103]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c: scope_hint: In function 'make_runtime_spec_schema_config_windows_resources_cpu'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:269:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def104]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c: scope_hint: In function 'make_runtime_spec_schema_config_windows_resources'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:421: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): [#def105]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c: scope_hint: In function 'make_runtime_spec_schema_config_windows_resources_storage'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:469:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:469:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c: scope_hint: In function 'make_runtime_spec_schema_config_windows'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:555: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): [#def108]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:556: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def109]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:559: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def110]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:562: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def111]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:575: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def112]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:582: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def113]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:588: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs.c: scope_hint: In function 'make_runtime_spec_schema_defs_mount'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs.c:386:13: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_defs_id_mapping(val, ctx, err)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs.c:434:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs.c: scope_hint: In function 'make_runtime_spec_schema_defs_id_mapping'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs.c:434:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs.c: scope_hint: In function 'make_runtime_spec_schema_defs_mount'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs.c:683:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs.c:536:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:297:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:283:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def119]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: scope_hint: In function 'make_runtime_spec_schema_defs_linux_syscall_arg'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:346:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:283:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def120]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: scope_hint: In function 'make_runtime_spec_schema_defs_linux_block_io_device'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:1169:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:1380:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:1592:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: scope_hint: In function 'make_runtime_spec_schema_defs_linux_network_interface_priority'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2017:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:1934:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def124]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: scope_hint: In function 'make_runtime_spec_schema_defs_linux_rdma'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2184:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: scope_hint: In function 'make_runtime_spec_schema_defs_linux_namespace_reference'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2335:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2262:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def126]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: scope_hint: In function 'make_runtime_spec_schema_defs_linux_time_offsets'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:2504:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def127]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c: scope_hint: In function 'make_runtime_spec_schema_defs_windows_device'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:108:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/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): [#def128]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:108:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_windows.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/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): [#def129]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:434:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:289:28: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:434:13: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_features_linux_seccomp(get_val(tree, "seccomp", 3), ctx, err)'
Error: CPPCHECK_WARNING (CWE-401): [#def131]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:1256: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def132]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:1269: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def133]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:1276: error[memleak]: Memory leak: ret
Error: CPPCHECK_WARNING (CWE-401): [#def134]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:1282: error[memleak]: Memory leak: ret
Error: GCC_ANALYZER_WARNING (CWE-401): [#def135]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:160:8: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/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): [#def136]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_schema.c: scope_hint: In function 'make_runtime_spec_schema_features_schema'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:212:12: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/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): [#def137]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:212:12: warning[-Wanalyzer-malloc-leak]: leak of 'resi'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/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): [#def138]
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_basic_test_double_array_objectarrays_element(*<unknown>, ctx, err)'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:48:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:48:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:48:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def139]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_manifest_items_image_manifest_items_schema.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_manifest_items_image_manifest_items_schema.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_manifest_items_image_manifest_items_schema.c: scope_hint: In function 'make_image_manifest_items_image_manifest_items_schema_container'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_image_manifest_items_image_manifest_items_schema_element(work, ctx, err)'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_manifest_items_image_manifest_items_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_manifest_items_image_manifest_items_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_manifest_items_image_manifest_items_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def140]
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_image_spec_schema_config_schema_history_element(val, ctx, err)'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:696:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:696:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:744:32: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:696:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c: scope_hint: In function 'image_spec_schema_content_descriptor_parse_data'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_content_descriptor.c:63:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/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): [#def142]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_index_schema.c:41:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/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): [#def143]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c: scope_hint: In function 'image_spec_schema_image_layout_schema_parse_data'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_layout_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/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): [#def144]
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_linux_seccomp(get_val(tree, "seccomp", 3), ctx, err)'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2119:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2119:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:2119:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def145]
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:490:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:490:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:502:29: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:490:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def146]
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_solaris_anet_element(val, ctx, err)'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:300:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:300:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:300:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def147]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:151:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:151:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_solaris.c:151:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def148]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c: scope_hint: In function 'make_runtime_spec_schema_config_vm'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/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): [#def149]
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:223:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:223:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:223:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def150]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c: scope_hint: In function 'make_runtime_spec_schema_defs_linux_syscall'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:150:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_defs_linux_syscall_arg(val, ctx, err)'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:283:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:283:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_defs_linux.c:283:25: note: in expansion of macro 'YAJL_GET_STRING'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_schema.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_schema.c: scope_hint: In function 'runtime_spec_schema_features_schema_parse_data'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:29:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_schema.c:41:25: note: in expansion of macro 'YAJL_GET_STRING'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING'
crun-1.15-build/crun-HEAD/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): [#def152]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c: scope_hint: In function 'basic_test_double_array_parse_data'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:123:28: note: in expansion of macro 'YAJL_GET_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:123:28: note: in expansion of macro 'YAJL_GET_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def153]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c: scope_hint: In function 'make_image_spec_schema_config_schema'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:42:28: note: in expansion of macro 'YAJL_GET_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:167:33: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.15-build/crun-HEAD/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): [#def154]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c: scope_hint: In function 'image_spec_schema_image_manifest_schema_parse_data'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_image_manifest_schema.c:79:28: note: in expansion of macro 'YAJL_GET_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.15-build/crun-HEAD/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): [#def155]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:201:28: note: in expansion of macro 'YAJL_GET_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:201:28: note: in expansion of macro 'YAJL_GET_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def156]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c: scope_hint: In function 'make_runtime_spec_schema_config_schema'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:27:28: note: in expansion of macro 'YAJL_GET_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.15-build/crun-HEAD/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): [#def157]
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:1106:28: note: in expansion of macro 'YAJL_GET_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2282:29: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:1106:28: note: in expansion of macro 'YAJL_GET_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def158]
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:880:28: note: in expansion of macro 'YAJL_GET_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:2282:29: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.c:880:28: note: in expansion of macro 'YAJL_GET_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def159]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:155:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_windows_network(get_val(tree, "network", 3), ctx, err)'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:706:28: note: in expansion of macro 'YAJL_GET_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:734:48: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:180:29: note: in expansion of macro 'YAJL_IS_ARRAY'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:706:28: note: in expansion of macro 'YAJL_GET_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def160]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array_item.c: scope_hint: In function 'basic_test_double_array_item_parse_file_stream'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array_item.c:63:26: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array_item.c:63:26: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array_item.c:240:1: note: in expansion of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:42:7: note: in definition of macro 'define_cleaner_function'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array_item.c: scope_hint: In function 'basic_test_double_array_item_parse_file_stream'
crun-1.15-build/crun-HEAD/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): [#def161]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array_item.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array_item.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array_item.c: scope_hint: In function 'basic_test_double_array_item_parse_data'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array_item.c:63:26: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array_item.c:63:26: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/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): [#def162]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c: scope_hint: In function 'make_basic_test_double_array'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:156:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_basic_test_double_array_objectarrays_element(*<unknown>, ctx, err)'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:29:26: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:29:26: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_double_array.c:29:26: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def163]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_obj.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_obj.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_obj.c: scope_hint: In function 'make_basic_test_top_double_array_obj_container'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:156:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_basic_test_top_double_array_obj_element(*<unknown>, ctx, err)'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_obj.c:29:26: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/basic_test_top_double_array_obj.c:29:26: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/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): [#def164]
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:167:33: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:167:33: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/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): [#def165]
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:156:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_image_spec_schema_config_schema_history_element(val, ctx, err)'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:744:32: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:744:32: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/image_spec_schema_config_schema.c:744:32: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def166]
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:156:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_config_windows_network(get_val(tree, "network", 3), ctx, err)'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:734:48: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:734:48: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_windows.c:734:48: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def167]
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:8: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c: scope_hint: In function 'make_runtime_spec_schema_features_linux'
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/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.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:29:23: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:29:23: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:48:23: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:67:28: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:86:33: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:105:25: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:29:23: note: in expansion of macro 'YAJL_IS_TRUE'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def168]
crun-1.15-build/crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:156:49: warning[-Wanalyzer-malloc-leak]: leak of 'make_runtime_spec_schema_features_linux_seccomp(get_val(tree, "seccomp", 3), ctx, err)'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:289:28: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:289:28: note: in expansion of macro 'YAJL_IS_TRUE'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_features_linux.c:289:28: note: in expansion of macro 'YAJL_IS_TRUE'
Error: CPPCHECK_WARNING (CWE-457): [#def169]
crun-1.15-build/crun-HEAD/src/libcrun/blake3/blake3.c:229: warning[uninitvar]: Uninitialized variable: parents_array
Error: GCC_ANALYZER_WARNING (CWE-775): [#def170]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-cgroupfs.c: scope_hint: In function 'libcrun_precreate_cgroup_cgroupfs'
crun-1.15-build/crun-HEAD/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): [#def171]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-resources.c:131:12: warning[-Wanalyzer-null-argument]: use of NULL 'controllers' where non-null expected
<built-in>: note: argument 1 of '__builtin_strchr' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-775): [#def172]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-resources.c: scope_hint: In function 'update_cgroup_v1_resources'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-resources.c:1076:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(path_to_blkio, 589824)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def173]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-resources.c:1101:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(path_to_netclass, 589824)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def174]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-resources.c:1105:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(path_to_netprio, 589824)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def175]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-resources.c:1122:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(path_to_htlb, 589824)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def176]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-resources.c: scope_hint: In function 'update_cgroup_v2_resources'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-resources.c:1263:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(cgroup_path, 589824)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def177]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-setup.c: scope_hint: In function 'initialize_cpuset_subsystem_rec'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-setup.c:53:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(path, 589824)'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def178]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-setup.c: scope_hint: In function 'initialize_cpuset_subsystem'
crun-1.15-build/crun-HEAD/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): [#def179]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-setup.c: scope_hint: In function 'enter_cgroup_v2'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-setup.c:461:15: warning[-Wanalyzer-null-argument]: use of NULL 'cgroup_crun_exec_path' where non-null expected
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-setup.c:309:12: note: in expansion of macro 'crun_make_error'
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/json_common.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.h:7: included_from: Included from here.
crun-1.15-build/crun-HEAD/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-775): [#def180]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-systemd.c: scope_hint: In function 'setup_cpuset_for_systemd_v1'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-systemd.c:269:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(path_to_cpuset, 589824)'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-systemd.c: scope_hint: In function 'setup_cpuset_for_systemd_v1'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-systemd.c: scope_hint: In function 'setup_cpuset_for_systemd_v1'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def181]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-systemd.c: scope_hint: In function 'get_cgroup_scope_path'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-systemd.c:1314:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of '__builtin_strchr' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def182]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-systemd.c: scope_hint: In function 'libcrun_destroy_cgroup_systemd'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-systemd.c:1315:10: warning[-Wanalyzer-malloc-leak]: leak of 'get_cgroup_scope_path(*cgroup_status.path, *cgroup_status.scope)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def183]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-systemd.c:1317:32: warning[-Wanalyzer-malloc-leak]: leak of 'get_cgroup_scope_path(*cgroup_status.path, *cgroup_status.scope)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def184]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-utils.c: scope_hint: In function 'libcrun_get_cgroup_dirfd'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-utils.c:963:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(path_to_cgroup, 720896)'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-utils.c: scope_hint: In function 'libcrun_get_cgroup_dirfd'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def185]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup.c: scope_hint: In function 'libcrun_cgroup_destroy'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup.c:204:24: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cgroup_manager'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def186]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup.c: scope_hint: In function 'libcrun_update_cgroup_resources'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup.c:219:21: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cgroup_manager'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def187]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup.c: scope_hint: In function 'libcrun_cgroup_preenter'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup.c:277:21: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cgroup_manager'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def188]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup.c: scope_hint: In function 'libcrun_cgroup_enter'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup.c:334:23: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cgroup_manager'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def189]
crun-1.15-build/crun-HEAD/src/libcrun/cloned_binary.c: scope_hint: In function 'fetchve'
crun-1.15-build/crun-HEAD/src/libcrun/cloned_binary.c:190:40: warning[-Wanalyzer-malloc-leak]: leak of 'read_file("/proc/self/cmdline", &cmdline_size)'
crun-1.15-build/crun-HEAD/src/libcrun/cloned_binary.c:61: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def190]
crun-1.15-build/crun-HEAD/src/libcrun/cloned_binary.c: scope_hint: In function 'parse_xargs'
crun-1.15-build/crun-HEAD/src/libcrun/cloned_binary.c:222:24: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def191]
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_load_from_file'
crun-1.15-build/crun-HEAD/src/libcrun/container.c:537:10: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def192]
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'container_delete_internal'
crun-1.15-build/crun-HEAD/src/libcrun/container.c:1722:15: warning[-Wanalyzer-null-dereference]: dereference of NULL 'container'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def193]
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'exec_process_entrypoint'
crun-1.15-build/crun-HEAD/src/libcrun/container.c:3440:23: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'pipefd1'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def194]
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.15-build/crun-HEAD/src/libcrun/container.c:3609:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'process'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def195]
crun-1.15-build/crun-HEAD/src/libcrun/container.c:3624:32: warning[-Wanalyzer-malloc-leak]: leak of '*process.selinux_label'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
crun-1.15-build/crun-HEAD/src/libcrun/container.c:3627:35: warning[-Wanalyzer-malloc-leak]: leak of '*process.apparmor_profile'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def197]
crun-1.15-build/crun-HEAD/src/libcrun/container.c:3646:27: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'pipefd0'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def198]
crun-1.15-build/crun-HEAD/src/libcrun/container.c:3657:23: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'pipefd1'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def199]
crun-1.15-build/crun-HEAD/src/libcrun/criu.c: scope_hint: In function 'restore_cgroup_v1_mount'
crun-1.15-build/crun-HEAD/src/libcrun/criu.c:294:22: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def200]
crun-1.15-build/crun-HEAD/src/libcrun/criu.c:296:20: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def201]
crun-1.15-build/crun-HEAD/src/libcrun/criu.c: scope_hint: In function 'checkpoint_cgroup_v1_mount'
crun-1.15-build/crun-HEAD/src/libcrun/criu.c:361:22: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def202]
crun-1.15-build/crun-HEAD/src/libcrun/criu.c:363:20: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def203]
crun-1.15-build/crun-HEAD/src/libcrun/criu.c: scope_hint: In function 'libcrun_container_checkpoint_linux_criu'
crun-1.15-build/crun-HEAD/src/libcrun/criu.c:438:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(*cr_options.image_path, 589824)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def204]
crun-1.15-build/crun-HEAD/src/libcrun/criu.c:458:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(*cr_options.work_path, 589824)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def205]
crun-1.15-build/crun-HEAD/src/libcrun/criu.c: scope_hint: In function 'prepare_restore_mounts'
crun-1.15-build/crun-HEAD/src/libcrun/criu.c:703:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(root, 524288)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def206]
crun-1.15-build/crun-HEAD/src/libcrun/criu.c: scope_hint: In function 'libcrun_container_restore_linux_criu'
crun-1.15-build/crun-HEAD/src/libcrun/criu.c:761:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(*cr_options.image_path, 589824)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def207]
crun-1.15-build/crun-HEAD/src/libcrun/criu.c:817:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(*cr_options.work_path, 589824)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/criu.c:792:17: note: in expansion of macro 'YAJL_IS_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def208]
crun-1.15-build/crun-HEAD/src/libcrun/criu.c:906:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(**_134.path, 0)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/criu.c:792:17: note: in expansion of macro 'YAJL_IS_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def209]
crun-1.15-build/crun-HEAD/src/libcrun/criu.c:915:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(**_151.path, 0)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/criu.c:792:17: note: in expansion of macro 'YAJL_IS_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-835): [#def210]
crun-1.15-build/crun-HEAD/src/libcrun/ebpf.c: scope_hint: In function 'read_all_progs'
crun-1.15-build/crun-HEAD/src/libcrun/ebpf.c:294:18: warning[-Wanalyzer-infinite-loop]: infinite loop
crun-1.15-build/crun-HEAD/src/libcrun/ebpf.h:25: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def211]
crun-1.15-build/crun-HEAD/src/libcrun/handlers/krun.c: scope_hint: In function 'libkrun_configure_container'
crun-1.15-build/crun-HEAD/src/libcrun/handlers/krun.c:186:37: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(rootfs, 2621440)'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def212]
crun-1.15-build/crun-HEAD/src/libcrun/handlers/krun.c:248:6: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'create_sev'
Error: COMPILER_WARNING (CWE-457): [#def213]
crun-1.15-build/crun-HEAD/src/libcrun/handlers/krun.c: scope_hint: In function 'libkrun_configure_container'
crun-1.15-build/crun-HEAD/src/libcrun/handlers/krun.c:248:6: warning[-Wmaybe-uninitialized]: 'create_sev' may be used uninitialized
crun-1.15-build/crun-HEAD/src/libcrun/handlers/krun.c:180:8: note: 'create_sev' was declared here
Error: COMPILER_WARNING (CWE-563): [#def214]
crun-1.15-build/crun-HEAD/src/libcrun/handlers/krun.c: scope_hint: In function 'libkrun_load'
crun-1.15-build/crun-HEAD/src/libcrun/handlers/krun.c:262:9: warning[-Wunused-variable]: unused variable 'handle'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def215]
crun-1.15-build/crun-HEAD/src/libcrun/intelrdt.c: scope_hint: In function 'resctl_update'
crun-1.15-build/crun-HEAD/src/libcrun/intelrdt.c:313:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(path, 524289)'
Error: CPPCHECK_WARNING (CWE-457): [#def216]
crun-1.15-build/crun-HEAD/src/libcrun/linux.c:3687: error[uninitvar]: Uninitialized variable: code
Error: COMPILER_WARNING (CWE-252): [#def217]
crun-1.15-build/crun-HEAD/src/libcrun/linux.c: scope_hint: In function 'libcrun_safe_chdir'
crun-1.15-build/crun-HEAD/src/libcrun/linux.c:5787:14: warning[-Wunused-result]: ignoring return value of 'chdir' declared with attribute 'warn_unused_result'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def218]
crun-1.15-build/crun-HEAD/src/libcrun/seccomp.c: scope_hint: In function 'store_seccomp_cache'
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/seccomp.c: scope_hint: In function 'store_seccomp_cache'
crun-1.15-build/crun-HEAD/src/libcrun/seccomp.c: scope_hint: In function 'store_seccomp_cache'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def219]
crun-1.15-build/crun-HEAD/src/libcrun/seccomp.c: scope_hint: In function 'libcrun_open_seccomp_bpf'
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/seccomp.c: scope_hint: In function 'libcrun_open_seccomp_bpf'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def220]
crun-1.15-build/crun-HEAD/src/libcrun/seccomp.c: scope_hint: In function 'open_rundir_dirfd'
crun-1.15-build/crun-HEAD/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): [#def221]
crun-1.15-build/crun-HEAD/src/libcrun/seccomp.c:465:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def222]
crun-1.15-build/crun-HEAD/src/libcrun/seccomp.c: scope_hint: In function 'evict_cache'
crun-1.15-build/crun-HEAD/src/libcrun/seccomp.c:522:11: warning[-Wanalyzer-malloc-leak]: leak of 'fdopendir(cache_dir_fd)'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def223]
crun-1.15-build/crun-HEAD/src/libcrun/seccomp.c:562:7: warning[-Wanalyzer-null-argument]: use of NULL 'entries' where non-null expected
crun-1.15-build/crun-HEAD/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): [#def224]
crun-1.15-build/crun-HEAD/src/libcrun/status.c: scope_hint: In function 'libcrun_container_delete_status'
crun-1.15-build/crun-HEAD/src/libcrun/status.c:50:12: warning[-Wanalyzer-malloc-leak]: leak of 'get_run_directory(state_root)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def225]
crun-1.15-build/crun-HEAD/src/libcrun/status.c: scope_hint: In function 'read_pid_stat'
crun-1.15-build/crun-HEAD/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): [#def226]
crun-1.15-build/crun-HEAD/src/libcrun/status.c: scope_hint: In function 'rmdirfd'
crun-1.15-build/crun-HEAD/src/libcrun/status.c:473:7: warning[-Wanalyzer-malloc-leak]: leak of 'fdopendir(fd)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def227]
crun-1.15-build/crun-HEAD/src/libcrun/status.c: scope_hint: In function 'libcrun_container_delete_status'
crun-1.15-build/crun-HEAD/src/libcrun/status.c:535:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(get_run_directory(state_root), 589824)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def228]
crun-1.15-build/crun-HEAD/src/libcrun/status.c: scope_hint: In function 'libcrun_container_delete_status'
crun-1.15-build/crun-HEAD/src/libcrun/status.c:556:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'rundir_dfd'
crun-1.15-build/crun-HEAD/src/libcrun/error.h:42: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/status.h:24: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/status.c:21: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:24: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/status.c:22: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def229]
crun-1.15-build/crun-HEAD/src/libcrun/status.c:582:9: warning[-Wanalyzer-malloc-leak]: leak of 'opendir(get_run_directory(state_root))'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def230]
crun-1.15-build/crun-HEAD/src/libcrun/status.c: scope_hint: In function 'libcrun_get_containers_list'
crun-1.15-build/crun-HEAD/src/libcrun/status.c:582:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
crun-1.15-build/crun-HEAD/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): [#def231]
crun-1.15-build/crun-HEAD/src/libcrun/status.c: scope_hint: In function 'libcrun_status_create_exec_fifo'
crun-1.15-build/crun-HEAD/src/libcrun/status.c:691:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(fifo_path, 526336)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def232]
crun-1.15-build/crun-HEAD/src/libcrun/status.c: scope_hint: In function 'libcrun_status_write_exec_fifo'
crun-1.15-build/crun-HEAD/src/libcrun/status.c:713:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(fifo_path, 524289)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def233]
crun-1.15-build/crun-HEAD/src/libcrun/utils.c: scope_hint: In function 'copy_recursive_fd_to_fd'
crun-1.15-build/crun-HEAD/src/libcrun/utils.c:2078:12: warning[-Wanalyzer-malloc-leak]: leak of 'fdopendir(srcdirfd)'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def234]
crun-1.15-build/crun-HEAD/src/libcrun/utils.c:2081:27: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'srcdirfd'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def235]
crun-1.15-build/crun-HEAD/src/libcrun/utils.c:2125:31: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'destfd'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def236]
crun-1.15-build/crun-HEAD/src/libcrun/utils.c:2159: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): [#def237]
crun-1.15-build/crun-HEAD/src/libcrun/utils.c: scope_hint: In function 'read_file_as_long_or_default'
crun-1.15-build/crun-HEAD/src/libcrun/utils.c:2484: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.15-build/crun-HEAD/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): [#def238]
crun-1.15-build/crun-HEAD/src/libcrun/intelrdt.c:23: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'resctl_update'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'intelrdt_clean_l3_cache_schema(l3_cache_schema)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def239]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'safe_read_xattr'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc((long unsigned int)(current_size + 1))'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def240]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'copy_xattr'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc((long unsigned int)(xattr_len + 1))'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def241]
crun-1.15-build/crun-HEAD/src/libcrun/seccomp_notify.c:32: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_load_seccomp_notify_plugins'
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def242]
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def243]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'compare_rdt_configurations'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc((n_parts_a + 1) * 8)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def244]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'test_write_read_file'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(1024)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def245]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_get_containers_list'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(16)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def246]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(256)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def247]
crun-1.15-build/crun-HEAD/src/exec.c:29: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'crun_command_exec'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(88)'
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/src/libcrun/utils.h:29: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def248]
crun-1.15-build/crun-HEAD/src/libcrun/utils.c:21: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'read_all_fd_with_size_hint'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(allocated + 1)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.c: scope_hint: In function 'read_all_fd_with_size_hint'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def249]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-internal.h:22: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-utils.c:23: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'write_controller_file'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(controllers_len + 1)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def250]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'copy_from_fd_to_fd'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(get_page_size())'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:24: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def251]
crun-1.15-build/crun-HEAD/src/libcrun/seccomp.c:25: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_copy_seccomp'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(in_size + 1)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def252]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-internal.h:22: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-systemd.c:23: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'append_systemd_annotation'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:62:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(name_len + 2)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def253]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_restore'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'libcrun_container_load_from_file("config.json", err)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def254]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_update_intel_rdt'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'libcrun_container_load_from_file(config_file, err)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_load_from_file'
crun-1.15-build/crun-HEAD/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.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def256]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'crun_command_exec'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'make_oci_process_user(exec_options.user)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def257]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc0((long unsigned int)(argc + 1) * 8)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def258]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'retrieve_mount_options'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc0((num_mount_options + 1) * 8)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def259]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc0(120)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def260]
crun-1.15-build/crun-HEAD/src/libcrun/container.c:24: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_get_features'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc0(144)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def261]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_update'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc0(176)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def262]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-internal.h:22: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/cgroup.c:24: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_cgroup_enter'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc0(24)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def263]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc0(48)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def264]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'make_oci_process_user'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:71:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc0(56)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def265]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of 'xrealloc(buffer, (long unsigned int)(current_size + 1))'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def266]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'evict_cache'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of 'xrealloc(entries, (n_entries + 1) * 88)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def267]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_ebpf_load'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of 'xrealloc(log, log_size)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def268]
crun-1.15-build/crun-HEAD/src/libcrun/ebpf.c:23: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'read_all_progs'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of 'xrealloc(progs, cur_size * 4)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def269]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'safe_readlinkat'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of 'xrealloc(tmp_buf, (long unsigned int)(buf_size + 1))'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-415): [#def270]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-'free' of 'buffer'
crun-1.15-build/crun-HEAD/src/libcrun/utils.c: scope_hint: In function 'safe_read_xattr'
Error: GCC_ANALYZER_WARNING (CWE-415): [#def271]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-'free' of 'entries'
crun-1.15-build/crun-HEAD/src/libcrun/seccomp.c: scope_hint: In function 'evict_cache'
crun-1.15-build/crun-HEAD/src/libcrun/seccomp.c: scope_hint: In function 'evict_cache'
Error: GCC_ANALYZER_WARNING (CWE-415): [#def272]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-'free' of 'log'
crun-1.15-build/crun-HEAD/src/libcrun/ebpf.c: scope_hint: In function 'libcrun_ebpf_load'
Error: GCC_ANALYZER_WARNING (CWE-415): [#def273]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-'free' of 'progs'
crun-1.15-build/crun-HEAD/src/libcrun/ebpf.c: scope_hint: In function 'read_all_progs'
Error: GCC_ANALYZER_WARNING (CWE-415): [#def274]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:89:3: warning[-Wanalyzer-double-free]: double-'free' of 'tmp_buf'
crun-1.15-build/crun-HEAD/src/libcrun/utils.c: scope_hint: In function 'safe_readlinkat'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def275]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:89:3: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_restore'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def276]
crun-1.15-build/crun-HEAD/src/libcrun/error.h:42: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/container.h:24: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/cgroup.h:21: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-setup.c:22: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor '*(void *)p'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def277]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor '<unknown>'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def278]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'cfd'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
crun-1.15-build/crun-HEAD/src/libcrun/status.c: scope_hint: In function 'cleanup_closep.part.0'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def279]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'cgroup_dirfd'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def280]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'console_socket_fd'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def281]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'destdirfd'
crun-1.15-build/crun-HEAD/src/libcrun/utils.c: scope_hint: In function 'cleanup_closep.part.0'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def282]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'destfd'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def283]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'dirfd'
crun-1.15-build/crun-HEAD/src/libcrun/seccomp.c: scope_hint: In function 'cleanup_closep.part.0'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def284]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'dirfd_cpuset'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-systemd.c: scope_hint: In function 'cleanup_closep.part.0'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-systemd.c: scope_hint: In function 'cleanup_closep.part.0'
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-systemd.c: scope_hint: In function 'cleanup_closep.part.0'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def285]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'dirfd_htlb'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def286]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'dirfd_netclass'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def287]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'dirfd_netprio'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def288]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'fd'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def289]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'fd1'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:39:32: note: in definition of macro 'TEMP_FAILURE_RETRY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:39:32: note: in definition of macro 'TEMP_FAILURE_RETRY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:5: note: in expansion of macro 'TEMP_FAILURE_RETRY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:39:32: note: in definition of macro 'TEMP_FAILURE_RETRY'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def290]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'fd_cleanup'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def291]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'image_fd'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def292]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'memfd'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/seccomp.h:24: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def293]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'outfd'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:39:32: note: in definition of macro 'TEMP_FAILURE_RETRY'
crun-1.15-build/crun-HEAD/tests/tests_libcrun_fuzzer.c: scope_hint: In function 'cleanup_closep.part.0'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:39:32: note: in definition of macro 'TEMP_FAILURE_RETRY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:5: note: in expansion of macro 'TEMP_FAILURE_RETRY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:39:32: note: in definition of macro 'TEMP_FAILURE_RETRY'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def294]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'pipefd0'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:39:32: note: in definition of macro 'TEMP_FAILURE_RETRY'
crun-1.15-build/crun-HEAD/tests/tests_libcrun_utils.c: scope_hint: In function 'cleanup_closep.part.0'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:39:32: note: in definition of macro 'TEMP_FAILURE_RETRY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:5: note: in expansion of macro 'TEMP_FAILURE_RETRY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:39:32: note: in definition of macro 'TEMP_FAILURE_RETRY'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def295]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'pipefd1'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:39:32: note: in definition of macro 'TEMP_FAILURE_RETRY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:39:32: note: in definition of macro 'TEMP_FAILURE_RETRY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:5: note: in expansion of macro 'TEMP_FAILURE_RETRY'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:39:32: note: in definition of macro 'TEMP_FAILURE_RETRY'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def296]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'root_fd'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def297]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'rootfsfd_cleanup'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def298]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'signalfd'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def299]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'srcfd'
crun-1.15-build/crun-HEAD/src/libcrun/utils.c: scope_hint: In function 'cleanup_closep.part.0'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def300]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:105:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'wfd'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def301]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_set_stdio'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:106:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'ret'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def302]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'close_and_reset'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:207:33: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'memfd'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def303]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:207:33: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'own_seccomp_receiver_fd'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'close_and_reset'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'close_and_reset'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def304]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:207:33: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'seccomp_fd'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'close_and_reset'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'close_and_reset'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def305]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'close_and_reset'
crun-1.15-build/crun-HEAD/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): [#def306]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:207:33: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'terminal_fd'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'close_and_reset'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'close_and_reset'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def307]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_get_features'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup("1.0.0")'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def308]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup("1.1.0+dev")'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def309]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_get_containers_list'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(&*next.d_name)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def310]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_new_terminal'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(&buf)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def311]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'crun_command_exec'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(*<unknown>)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def312]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'retrieve_mount_options'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(*<unknown>.name)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def313]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(*_70->process.selinux_label)'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def314]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(*_75->process.apparmor_profile)'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.15-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def315]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_restore_linux_criu'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(*status.bundle)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.15-build/crun-HEAD/src/libcrun/criu.c:792:17: note: in expansion of macro 'YAJL_IS_ARRAY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def316]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'compare_rdt_configurations'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(<unknown>)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def317]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(exec_options.apparmor)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def318]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(exec_options.process_label)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def319]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(executable_path)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.c: scope_hint: In function 'find_executable'
crun-1.15-build/crun-HEAD/src/libcrun/utils.c: scope_hint: In function 'find_executable'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def320]
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-internal.h:22: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/cgroup-setup.c:23: included_from: Included from here.
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'read_unified_cgroup_pid'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(from)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def321]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'find_executable'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(getenv("PATH"))'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def322]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'check_cgroup_v2_controller_available_wrapper'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(name)'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:24: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def323]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(plugins)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def324]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'maybe_make_cgroup_threaded'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(t)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def325]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(value + 1)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def326]
crun-1.15-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'append_systemd_annotation'
crun-1.15-build/crun-HEAD/src/libcrun/utils.h:222:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(value)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def327]
crun-1.15-build/crun-HEAD/src/spec.c: scope_hint: In function 'crun_command_spec'
crun-1.15-build/crun-HEAD/src/spec.c:126:7: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(<unknown>, "w+e")'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def328]
crun-1.15-build/crun-HEAD/src/spec.c:126:7: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(<unknown>, "w+e")'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def329]
crun-1.15-build/crun-HEAD/tests/init.c: scope_hint: In function 'write_to'
crun-1.15-build/crun-HEAD/tests/init.c:165:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(path, 1)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def330]
crun-1.15-build/crun-HEAD/tests/init.c: scope_hint: In function 'check_idmapped_mounts'
crun-1.15-build/crun-HEAD/tests/init.c:209:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(&proc_path, 0)'
crun-1.15-build/crun-HEAD/tests/init.c: scope_hint: In function 'check_idmapped_mounts'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def331]
crun-1.15-build/crun-HEAD/tests/init.c: scope_hint: In function 'cat'
crun-1.15-build/crun-HEAD/tests/init.c:241:11: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(file, "rbe")'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def332]
crun-1.15-build/crun-HEAD/tests/init.c:241:11: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(file, "rbe")'
Error: COMPILER_WARNING: [#def333]
crun-1.15-build/crun-HEAD/tests/init.c: scope_hint: In function 'main'
crun-1.15-build/crun-HEAD/tests/init.c:305:3: warning[-Wstringop-truncation]: 'strncpy' specified bound 108 equals destination size
Error: GCC_ANALYZER_WARNING (CWE-775): [#def334]
crun-1.15-build/crun-HEAD/tests/init.c: scope_hint: In function 'main'
crun-1.15-build/crun-HEAD/tests/init.c:627:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(&path, 1)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def335]
crun-1.15-build/crun-HEAD/tests/tests_libcrun_fuzzer.c: scope_hint: In function 'test_generate_ebpf'
crun-1.15-build/crun-HEAD/tests/tests_libcrun_fuzzer.c:105:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open("/dev/null", 1)'
crun-1.15-build/crun-HEAD/tests/tests_libcrun_fuzzer.c: scope_hint: In function 'test_generate_ebpf'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def336]
crun-1.15-build/crun-HEAD/tests/tests_libcrun_fuzzer.c: scope_hint: In function 'generate_seccomp'
crun-1.15-build/crun-HEAD/tests/tests_libcrun_fuzzer.c:164:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open("/dev/null", 1)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def337]
crun-1.15-build/crun-HEAD/tests/tests_libcrun_utils.c: scope_hint: In function 'test_send_receive_fd'
crun-1.15-build/crun-HEAD/tests/tests_libcrun_utils.c:144:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'pipes[1]'
Scan Properties
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-115.us-west-2.compute.internal |
mock-config | fedora-rawhide-x86_64 |
project-name | crun-1.15-1.20240802133727467274.pr1508.64.gc3f7360 |
store-results-to | /tmp/tmp1c6j3e5o/crun-1.15-1.20240802133727467274.pr1508.64.gc3f7360.tar.xz |
time-created | 2024-08-02 13:49:46 |
time-finished | 2024-08-02 13:54:48 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,shellcheck,cppcheck' '-o' '/tmp/tmp1c6j3e5o/crun-1.15-1.20240802133727467274.pr1508.64.gc3f7360.tar.xz' '--gcc-analyze' '--cppcheck-add-flag=--check-level=exhaustive' '/tmp/tmp1c6j3e5o/crun-1.15-1.20240802133727467274.pr1508.64.gc3f7360.src.rpm' |
tool-version | csmock-3.6.0-1.el9 |