Task #91442 - libmodulemd-2.15.2-4.fc44/scan-results.err
back to task #91442download
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-build-config.h:31:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘bc’
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:35:8: throw: if ‘modulemd_build_config_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:28:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdBuildConfig’ from ‘buildconfig_test_construct’
# 29| #define MODULEMD_TYPE_BUILD_CONFIG (modulemd_build_config_get_type ())
# 30|
# 31|-> G_DECLARE_FINAL_TYPE (
# 32| ModulemdBuildConfig, modulemd_build_config, MODULEMD, BUILD_CONFIG, GObject)
# 33|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-build-config.h:31:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buildconfig’
modulemd-2.15.2/modulemd/modulemd-packager-v3.c:1419:1: enter_function: entry to ‘modulemd_packager_v3_parse_build_configs’
modulemd-2.15.2/modulemd/modulemd-packager-v3.c:1430:3: throw: if ‘yaml_parser_parse’ throws an exception...
modulemd-2.15.2/modulemd/modulemd-packager-v3.c:1427:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘modulemd_packager_v3_parse_build_configs’
modulemd-2.15.2/modulemd/modulemd-packager-v3.c:1426:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdBuildConfig’ from ‘modulemd_packager_v3_parse_build_configs’
# 29| #define MODULEMD_TYPE_BUILD_CONFIG (modulemd_build_config_get_type ())
# 30|
# 31|-> G_DECLARE_FINAL_TYPE (
# 32| ModulemdBuildConfig, modulemd_build_config, MODULEMD, BUILD_CONFIG, GObject)
# 33|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-build-config.h:31:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘config’
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:572:1: enter_function: entry to ‘packager_test_convert_to_index_without_stream_with_default_profile’
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:577:31: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdProfile’ from ‘packager_test_convert_to_index_without_stream_with_default_profile’
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:576:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdBuildConfig’ from ‘packager_test_convert_to_index_without_stream_with_default_profile’
# 29| #define MODULEMD_TYPE_BUILD_CONFIG (modulemd_build_config_get_type ())
# 30|
# 31|-> G_DECLARE_FINAL_TYPE (
# 32| ModulemdBuildConfig, modulemd_build_config, MODULEMD, BUILD_CONFIG, GObject)
# 33|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-buildopts.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘b_2’
modulemd-2.15.2/modulemd/tests/test-modulemd-buildopts.c:69:9: throw: if ‘modulemd_buildopts_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-buildopts.c:66:33: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdBuildopts’ from ‘buildopts_test_comparison’
# 27| #define MODULEMD_TYPE_BUILDOPTS (modulemd_buildopts_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (
# 30| ModulemdBuildopts, modulemd_buildopts, MODULEMD, BUILDOPTS, GObject)
# 31|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-buildopts.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buildopts’
modulemd-2.15.2/modulemd/modulemd-build-config.c:311:1: enter_function: entry to ‘modulemd_build_config_parse_yaml’
modulemd-2.15.2/modulemd/modulemd-build-config.c:323:3: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd-build-config.c:323:3: throw: if ‘g_return_if_fail_warning’ throws an exception...
modulemd-2.15.2/modulemd/modulemd-build-config.c:320:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘modulemd_build_config_parse_yaml’
modulemd-2.15.2/modulemd/modulemd-build-config.c:319:33: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdBuildopts’ from ‘modulemd_build_config_parse_yaml’
# 27| #define MODULEMD_TYPE_BUILDOPTS (modulemd_buildopts_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (
# 30| ModulemdBuildopts, modulemd_buildopts, MODULEMD, BUILDOPTS, GObject)
# 31|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-buildopts.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘b’
modulemd-2.15.2/modulemd/tests/test-modulemd-buildopts.c:432:7: throw: if ‘modulemd_buildopts_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-buildopts.c:429:33: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdBuildopts’ from ‘buildopts_test_arches’
# 27| #define MODULEMD_TYPE_BUILDOPTS (modulemd_buildopts_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (
# 30| ModulemdBuildopts, modulemd_buildopts, MODULEMD, BUILDOPTS, GObject)
# 31|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-buildopts.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘opts’
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:813:10: throw: if ‘modulemd_build_config_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:810:33: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdBuildopts’ from ‘buildconfig_test_comparison’
# 27| #define MODULEMD_TYPE_BUILDOPTS (modulemd_buildopts_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (
# 30| ModulemdBuildopts, modulemd_buildopts, MODULEMD, BUILDOPTS, GObject)
# 31|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-component-module.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘component’
modulemd-2.15.2/modulemd/modulemd-module-stream-v1.c:2465:3: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd-module-stream-v1.c:2465:3: branch_false: ...to here
modulemd-2.15.2/modulemd/modulemd-module-stream-v1.c:2466:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd-module-stream-v1.c:2466:6: branch_false: ...to here
modulemd-2.15.2/modulemd/modulemd-module-stream-v1.c:2475:10: branch_true: following ‘true’ branch (when ‘done == 0’)...
modulemd-2.15.2/modulemd/modulemd-module-stream-v1.c:2477:7: branch_true: ...to here
modulemd-2.15.2/modulemd/modulemd-module-stream-v1.c:2477:7: throw: if ‘yaml_parser_parse’ throws an exception...
modulemd-2.15.2/modulemd/modulemd-module-stream-v1.c:2460:39: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdComponentModule’ from ‘modulemd_module_stream_v1_parse_module_components’
# 27| #define MODULEMD_TYPE_COMPONENT_MODULE (modulemd_component_module_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (ModulemdComponentModule,
# 30| modulemd_component_module,
# 31| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-component-module.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘m_2’
modulemd-2.15.2/modulemd/tests/test-modulemd-component-module.c:118:9: throw: if ‘modulemd_component_module_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-component-module.c:115:39: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdComponentModule’ from ‘component_module_test_equals’
# 27| #define MODULEMD_TYPE_COMPONENT_MODULE (modulemd_component_module_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (ModulemdComponentModule,
# 30| modulemd_component_module,
# 31| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-component-module.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘m_orig’
modulemd-2.15.2/modulemd/tests/test-modulemd-component-module.c:240:12: throw: if ‘modulemd_component_module_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-component-module.c:236:39: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdComponentModule’ from ‘component_module_test_copy’
# 27| #define MODULEMD_TYPE_COMPONENT_MODULE (modulemd_component_module_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (ModulemdComponentModule,
# 30| modulemd_component_module,
# 31| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-component-module.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘module_component’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1603:12: throw: if ‘modulemd_module_stream_v2_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1599:39: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdComponentModule’ from ‘module_stream_v2_test_components’
# 27| #define MODULEMD_TYPE_COMPONENT_MODULE (modulemd_component_module_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (ModulemdComponentModule,
# 30| modulemd_component_module,
# 31| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-component-module.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘m’
modulemd-2.15.2/modulemd/tests/test-modulemd-component-module.c:49:3: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-component-module.c:49:3: branch_false: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-component-module.c:49:3: throw: if ‘g_assertion_message’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-component-module.c:42:39: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdComponentModule’ from ‘component_module_test_construct’
# 27| #define MODULEMD_TYPE_COMPONENT_MODULE (modulemd_component_module_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (ModulemdComponentModule,
# 30| modulemd_component_module,
# 31| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-component-rpm.h:30:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘component_2’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1925:14: throw: if ‘modulemd_module_stream_v1_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1922:36: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdComponentRpm’ from ‘module_stream_v1_test_equals’
# 28| #define MODULEMD_TYPE_COMPONENT_RPM (modulemd_component_rpm_get_type ())
# 29|
# 30|-> G_DECLARE_FINAL_TYPE (ModulemdComponentRpm,
# 31| modulemd_component_rpm,
# 32| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-component-rpm.h:30:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘component’
modulemd-2.15.2/modulemd/modulemd-module-stream-v1.c:2400:3: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd-module-stream-v1.c:2400:3: branch_false: ...to here
modulemd-2.15.2/modulemd/modulemd-module-stream-v1.c:2401:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd-module-stream-v1.c:2401:6: branch_false: ...to here
modulemd-2.15.2/modulemd/modulemd-module-stream-v1.c:2410:10: branch_true: following ‘true’ branch (when ‘done == 0’)...
modulemd-2.15.2/modulemd/modulemd-module-stream-v1.c:2412:7: branch_true: ...to here
modulemd-2.15.2/modulemd/modulemd-module-stream-v1.c:2412:7: throw: if ‘yaml_parser_parse’ throws an exception...
modulemd-2.15.2/modulemd/modulemd-module-stream-v1.c:2395:36: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdComponentRpm’ from ‘modulemd_module_stream_v1_parse_rpm_components’
# 28| #define MODULEMD_TYPE_COMPONENT_RPM (modulemd_component_rpm_get_type ())
# 29|
# 30|-> G_DECLARE_FINAL_TYPE (ModulemdComponentRpm,
# 31| modulemd_component_rpm,
# 32| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-component-rpm.h:30:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘r_2’
modulemd-2.15.2/modulemd/tests/test-modulemd-component-rpm.c:92:9: throw: if ‘modulemd_component_rpm_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-component-rpm.c:89:36: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdComponentRpm’ from ‘component_rpm_test_equals’
# 28| #define MODULEMD_TYPE_COMPONENT_RPM (modulemd_component_rpm_get_type ())
# 29|
# 30|-> G_DECLARE_FINAL_TYPE (ModulemdComponentRpm,
# 31| modulemd_component_rpm,
# 32| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-component-rpm.h:30:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘r’
modulemd-2.15.2/modulemd/tests/test-modulemd-component-rpm.c:42:3: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-component-rpm.c:42:3: branch_false: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-component-rpm.c:42:3: throw: if ‘g_assertion_message’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-component-rpm.c:35:36: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdComponentRpm’ from ‘component_rpm_test_construct’
# 28| #define MODULEMD_TYPE_COMPONENT_RPM (modulemd_component_rpm_get_type ())
# 29|
# 30|-> G_DECLARE_FINAL_TYPE (ModulemdComponentRpm,
# 31| modulemd_component_rpm,
# 32| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-defaults-v1.h:30:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘copied_defaults’
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:94:3: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:94:3: branch_false: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:94:3: throw: if ‘g_assertion_message’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:85:34: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdDefaultsV1’ from ‘defaults_test_copy’
# 28| #define MODULEMD_TYPE_DEFAULTS_V1 (modulemd_defaults_v1_get_type ())
# 29|
# 30|-> G_DECLARE_FINAL_TYPE (ModulemdDefaultsV1,
# 31| modulemd_defaults_v1,
# 32| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-defaults-v1.h:30:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘defaults’
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:35:3: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:35:3: branch_false: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:35:3: throw: if ‘g_assertion_message’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:31:34: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdDefaultsV1’ from ‘defaults_test_construct’
# 28| #define MODULEMD_TYPE_DEFAULTS_V1 (modulemd_defaults_v1_get_type ())
# 29|
# 30|-> G_DECLARE_FINAL_TYPE (ModulemdDefaultsV1,
# 31| modulemd_defaults_v1,
# 32| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-defaults-v1.h:30:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘d’
modulemd-2.15.2/modulemd/tests/test-modulemd-module.c:94:1: enter_function: entry to ‘module_test_defaults’
modulemd-2.15.2/modulemd/tests/test-modulemd-module.c:101:7: throw: if ‘modulemd_module_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-module.c:98:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘module_test_defaults’
modulemd-2.15.2/modulemd/tests/test-modulemd-module.c:97:34: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdDefaultsV1’ from ‘module_test_defaults’
# 28| #define MODULEMD_TYPE_DEFAULTS_V1 (modulemd_defaults_v1_get_type ())
# 29|
# 30|-> G_DECLARE_FINAL_TYPE (ModulemdDefaultsV1,
# 31| modulemd_defaults_v1,
# 32| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-defaults-v1.h:30:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘merged’
modulemd-2.15.2/modulemd/modulemd-defaults-v1.c:1270:1: enter_function: entry to ‘modulemd_defaults_v1_merge’
modulemd-2.15.2/modulemd/modulemd-defaults-v1.c:1289:5: throw: if ‘modulemd_defaults_get_module_name’ throws an exception...
modulemd-2.15.2/modulemd/modulemd-defaults-v1.c:1287:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘modulemd_defaults_v1_merge’
modulemd-2.15.2/modulemd/modulemd-defaults-v1.c:1275:34: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdDefaultsV1’ from ‘modulemd_defaults_v1_merge’
# 28| #define MODULEMD_TYPE_DEFAULTS_V1 (modulemd_defaults_v1_get_type ())
# 29|
# 30|-> G_DECLARE_FINAL_TYPE (ModulemdDefaultsV1,
# 31| modulemd_defaults_v1,
# 32| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-defaults.h:54:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘defaults_1’
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults.c:140:16: throw: if ‘modulemd_defaults_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults.c:136:32: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdDefaults’ from ‘defaults_test_equals’
# 52| #define MODULEMD_TYPE_DEFAULTS (modulemd_defaults_get_type ())
# 53|
# 54|-> G_DECLARE_DERIVABLE_TYPE (
# 55| ModulemdDefaults, modulemd_defaults, MODULEMD, DEFAULTS, GObject)
# 56|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-defaults.h:54:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘defaults_2’
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults.c:134:1: enter_function: entry to ‘defaults_test_equals’
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults.c:143:3: call_function: calling ‘MODULEMD_IS_DEFAULTS’ from ‘defaults_test_equals’
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults.c:137:32: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdDefaults’ from ‘defaults_test_equals’
# 52| #define MODULEMD_TYPE_DEFAULTS (modulemd_defaults_get_type ())
# 53|
# 54|-> G_DECLARE_DERIVABLE_TYPE (
# 55| ModulemdDefaults, modulemd_defaults, MODULEMD, DEFAULTS, GObject)
# 56|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-defaults.h:54:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘defaults’
modulemd-2.15.2/modulemd/tests/test-modulemd-moduleindex.c:705:1: enter_function: entry to ‘module_index_test_index_upgrade’
modulemd-2.15.2/modulemd/tests/test-modulemd-moduleindex.c:718:11: throw: if ‘modulemd_module_index_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-moduleindex.c:711:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘module_index_test_index_upgrade’
modulemd-2.15.2/modulemd/tests/test-modulemd-moduleindex.c:710:32: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdDefaults’ from ‘module_index_test_index_upgrade’
# 52| #define MODULEMD_TYPE_DEFAULTS (modulemd_defaults_get_type ())
# 53|
# 54|-> G_DECLARE_DERIVABLE_TYPE (
# 55| ModulemdDefaults, modulemd_defaults, MODULEMD, DEFAULTS, GObject)
# 56|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-defaults.h:54:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘merged_defaults’
modulemd-2.15.2/modulemd/modulemd-module-index.c:1463:1: enter_function: entry to ‘modulemd_module_index_merge’
modulemd-2.15.2/modulemd/modulemd-module-index.c:1496:10: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/modulemd-module-index.c:1498:7: branch_true: ...to here
modulemd-2.15.2/modulemd/modulemd-module-index.c:1488:25: call_function: inlined call to ‘glib_autoptr_cleanup_GPtrArray’ from ‘modulemd_module_index_merge’
modulemd-2.15.2/modulemd/modulemd-module-index.c:1486:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘modulemd_module_index_merge’
modulemd-2.15.2/modulemd/modulemd-module-index.c:1485:32: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdDefaults’ from ‘modulemd_module_index_merge’
# 52| #define MODULEMD_TYPE_DEFAULTS (modulemd_defaults_get_type ())
# 53|
# 54|-> G_DECLARE_DERIVABLE_TYPE (
# 55| ModulemdDefaults, modulemd_defaults, MODULEMD, DEFAULTS, GObject)
# 56|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-defaults.h:54:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘upgraded_defaults’
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults.c:164:1: enter_function: entry to ‘defaults_test_upgrade’
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults.c:170:14: throw: if ‘modulemd_defaults_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults.c:168:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘defaults_test_upgrade’
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults.c:167:32: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdDefaults’ from ‘defaults_test_upgrade’
# 52| #define MODULEMD_TYPE_DEFAULTS (modulemd_defaults_get_type ())
# 53|
# 54|-> G_DECLARE_DERIVABLE_TYPE (
# 55| ModulemdDefaults, modulemd_defaults, MODULEMD, DEFAULTS, GObject)
# 56|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-dependencies.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘d_2’
modulemd-2.15.2/modulemd/tests/test-modulemd-dependencies.c:140:9: throw: if ‘modulemd_dependencies_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-dependencies.c:137:36: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdDependencies’ from ‘dependencies_test_equals’
# 27| #define MODULEMD_TYPE_DEPENDENCIES (modulemd_dependencies_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (
# 30| ModulemdDependencies, modulemd_dependencies, MODULEMD, DEPENDENCIES, GObject)
# 31|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-dependencies.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘deps’
modulemd-2.15.2/modulemd/modulemd-module-stream-v2.c:2384:1: enter_function: entry to ‘modulemd_module_stream_v2_parse_deps’
modulemd-2.15.2/modulemd/modulemd-module-stream-v2.c:2399:3: throw: if ‘yaml_parser_parse’ throws an exception...
modulemd-2.15.2/modulemd/modulemd-module-stream-v2.c:2393:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘modulemd_module_stream_v2_parse_deps’
modulemd-2.15.2/modulemd/modulemd-module-stream-v2.c:2392:36: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdDependencies’ from ‘modulemd_module_stream_v2_parse_deps’
# 27| #define MODULEMD_TYPE_DEPENDENCIES (modulemd_dependencies_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (
# 30| ModulemdDependencies, modulemd_dependencies, MODULEMD, DEPENDENCIES, GObject)
# 31|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-dependencies.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘d’
modulemd-2.15.2/modulemd/tests/test-modulemd-dependencies.c:441:1: enter_function: entry to ‘dependencies_test_parse_bad_yaml’
modulemd-2.15.2/modulemd/tests/test-modulemd-dependencies.c:445:3: throw: if ‘yaml_parser_initialize’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-dependencies.c:445:3: call_function: inlined call to ‘glib_auto_cleanup_yaml_parser_t’ from ‘dependencies_test_parse_bad_yaml’
modulemd-2.15.2/modulemd/tests/test-modulemd-dependencies.c:444:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘dependencies_test_parse_bad_yaml’
modulemd-2.15.2/modulemd/tests/test-modulemd-dependencies.c:443:36: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdDependencies’ from ‘dependencies_test_parse_bad_yaml’
# 27| #define MODULEMD_TYPE_DEPENDENCIES (modulemd_dependencies_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (
# 30| ModulemdDependencies, modulemd_dependencies, MODULEMD, DEPENDENCIES, GObject)
# 31|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-index-merger.h:125:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘merger’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:500:1: enter_function: entry to ‘merger_test_with_real_world_data’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:507:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘merger_test_with_real_world_data’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:506:41: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleIndexMerger’ from ‘merger_test_with_real_world_data’
# 123| (modulemd_module_index_merger_get_type ())
# 124|
# 125|-> G_DECLARE_FINAL_TYPE (ModulemdModuleIndexMerger,
# 126| modulemd_module_index_merger,
# 127| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-index.h:72:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘base_index’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:116:1: enter_function: entry to ‘merger_test_merger’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:120:21: call_function: calling ‘g_autoptr_cleanup_generic_gfree’ from ‘merger_test_merger’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:119:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleIndex’ from ‘merger_test_merger’
# 70| #define MODULEMD_TYPE_MODULE_INDEX (modulemd_module_index_get_type ())
# 71|
# 72|-> G_DECLARE_FINAL_TYPE (
# 73| ModulemdModuleIndex, modulemd_module_index, MODULEMD, MODULE_INDEX, GObject)
# 74|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-index.h:72:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘f29_updates’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:500:1: enter_function: entry to ‘merger_test_with_real_world_data’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:505:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleIndex’ from ‘merger_test_with_real_world_data’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:504:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleIndex’ from ‘merger_test_with_real_world_data’
# 70| #define MODULEMD_TYPE_MODULE_INDEX (modulemd_module_index_get_type ())
# 71|
# 72|-> G_DECLARE_FINAL_TYPE (
# 73| ModulemdModuleIndex, modulemd_module_index, MODULEMD, MODULE_INDEX, GObject)
# 74|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-index.h:72:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘final’
modulemd-2.15.2/modulemd/modulemd-module-index-merger.c:178:1: enter_function: entry to ‘modulemd_module_index_merger_resolve_ext’
modulemd-2.15.2/modulemd/modulemd-module-index-merger.c:189:3: call_function: calling ‘MODULEMD_IS_MODULE_INDEX_MERGER’ from ‘modulemd_module_index_merger_resolve_ext’
modulemd-2.15.2/modulemd/modulemd-module-index-merger.c:185:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘modulemd_module_index_merger_resolve_ext’
modulemd-2.15.2/modulemd/modulemd-module-index-merger.c:184:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleIndex’ from ‘modulemd_module_index_merger_resolve_ext’
# 70| #define MODULEMD_TYPE_MODULE_INDEX (modulemd_module_index_get_type ())
# 71|
# 72|-> G_DECLARE_FINAL_TYPE (
# 73| ModulemdModuleIndex, modulemd_module_index, MODULEMD, MODULE_INDEX, GObject)
# 74|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-index.h:72:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘idx’
modulemd-2.15.2/modulemd/tests/test-modulemd-moduleindex.c:1579:1: enter_function: entry to ‘test_module_index_read_def_dir’
modulemd-2.15.2/modulemd/tests/test-modulemd-moduleindex.c:1585:5: throw: if ‘g_getenv’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-moduleindex.c:1583:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘test_module_index_read_def_dir’
modulemd-2.15.2/modulemd/tests/test-modulemd-moduleindex.c:1582:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleIndex’ from ‘test_module_index_read_def_dir’
# 70| #define MODULEMD_TYPE_MODULE_INDEX (modulemd_module_index_get_type ())
# 71|
# 72|-> G_DECLARE_FINAL_TYPE (
# 73| ModulemdModuleIndex, modulemd_module_index, MODULEMD, MODULE_INDEX, GObject)
# 74|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-index.h:72:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘index’
modulemd-2.15.2/modulemd/tests/test-modulemd-moduleindex.c:1082:1: enter_function: entry to ‘module_index_test_custom_read’
modulemd-2.15.2/modulemd/tests/test-modulemd-moduleindex.c:1183:3: throw: if ‘modulemd_subdocument_info_debug_dump_failures’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-moduleindex.c:1091:21: call_function: calling ‘g_autoptr_cleanup_generic_gfree’ from ‘module_index_test_custom_read’
modulemd-2.15.2/modulemd/tests/test-modulemd-moduleindex.c:1087:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘module_index_test_custom_read’
modulemd-2.15.2/modulemd/tests/test-modulemd-moduleindex.c:1086:25: call_function: inlined call to ‘glib_autoptr_cleanup_GPtrArray’ from ‘module_index_test_custom_read’
modulemd-2.15.2/modulemd/tests/test-modulemd-moduleindex.c:1085:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleIndex’ from ‘module_index_test_custom_read’
# 70| #define MODULEMD_TYPE_MODULE_INDEX (modulemd_module_index_get_type ())
# 71|
# 72|-> G_DECLARE_FINAL_TYPE (
# 73| ModulemdModuleIndex, modulemd_module_index, MODULEMD, MODULE_INDEX, GObject)
# 74|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-index.h:72:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘merged_idx’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:673:1: enter_function: entry to ‘merger_test_obsoletes_priority’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:688:33: throw: if ‘g_getenv’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:683:41: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleIndexMerger’ from ‘merger_test_obsoletes_priority’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:682:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleIndex’ from ‘merger_test_obsoletes_priority’
# 70| #define MODULEMD_TYPE_MODULE_INDEX (modulemd_module_index_get_type ())
# 71|
# 72|-> G_DECLARE_FINAL_TYPE (
# 73| ModulemdModuleIndex, modulemd_module_index, MODULEMD, MODULE_INDEX, GObject)
# 74|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-index.h:72:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘merged_index’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:116:1: enter_function: entry to ‘merger_test_merger’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:130:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleIndex’ from ‘merger_test_merger’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:126:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleIndex’ from ‘merger_test_merger’
# 70| #define MODULEMD_TYPE_MODULE_INDEX (modulemd_module_index_get_type ())
# 71|
# 72|-> G_DECLARE_FINAL_TYPE (
# 73| ModulemdModuleIndex, modulemd_module_index, MODULEMD, MODULE_INDEX, GObject)
# 74|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-index.h:72:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘override_index’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:116:1: enter_function: entry to ‘merger_test_merger’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:142:3: throw: if ‘modulemd_subdocument_info_debug_dump_failures’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:132:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘merger_test_merger’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:131:25: call_function: inlined call to ‘glib_autoptr_cleanup_GPtrArray’ from ‘merger_test_merger’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:130:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleIndex’ from ‘merger_test_merger’
# 70| #define MODULEMD_TYPE_MODULE_INDEX (modulemd_module_index_get_type ())
# 71|
# 72|-> G_DECLARE_FINAL_TYPE (
# 73| ModulemdModuleIndex, modulemd_module_index, MODULEMD, MODULE_INDEX, GObject)
# 74|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-index.h:72:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘override_nodejs_index’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:116:1: enter_function: entry to ‘merger_test_merger’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:126:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleIndex’ from ‘merger_test_merger’
modulemd-2.15.2/modulemd/tests/test-modulemd-merger.c:124:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleIndex’ from ‘merger_test_merger’
# 70| #define MODULEMD_TYPE_MODULE_INDEX (modulemd_module_index_get_type ())
# 71|
# 72|-> G_DECLARE_FINAL_TYPE (
# 73| ModulemdModuleIndex, modulemd_module_index, MODULEMD, MODULE_INDEX, GObject)
# 74|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-index.h:72:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘thislevel’
modulemd-2.15.2/modulemd/modulemd-module-index-merger.c:178:1: enter_function: entry to ‘modulemd_module_index_merger_resolve_ext’
modulemd-2.15.2/modulemd/modulemd-module-index-merger.c:189:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/modulemd-module-index-merger.c:191:11: branch_true: ...to here
modulemd-2.15.2/modulemd/modulemd-module-index-merger.c:193:21: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/modulemd-module-index-merger.c:195:24: branch_true: ...to here
modulemd-2.15.2/modulemd/modulemd-module-index-merger.c:184:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleIndex’ from ‘modulemd_module_index_merger_resolve_ext’
modulemd-2.15.2/modulemd/modulemd-module-index-merger.c:183:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleIndex’ from ‘modulemd_module_index_merger_resolve_ext’
# 70| #define MODULEMD_TYPE_MODULE_INDEX (modulemd_module_index_get_type ())
# 71|
# 72|-> G_DECLARE_FINAL_TYPE (
# 73| ModulemdModuleIndex, modulemd_module_index, MODULEMD, MODULE_INDEX, GObject)
# 74|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-stream-v1.h:38:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘stream’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1148:12: throw: if ‘modulemd_module_stream_v1_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1145:38: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleStreamV1’ from ‘module_stream_v1_test_rpm_artifacts’
# 36| #define MODULEMD_TYPE_MODULE_STREAM_V1 (modulemd_module_stream_v1_get_type ())
# 37|
# 38|-> G_DECLARE_FINAL_TYPE (ModulemdModuleStreamV1,
# 39| modulemd_module_stream_v1,
# 40| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-stream-v2.h:40:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘copy’
modulemd-2.15.2/modulemd/modulemd-module-stream.c:685:1: enter_function: entry to ‘modulemd_module_stream_upgrade_v1_to_v2’
modulemd-2.15.2/modulemd/modulemd-module-stream.c:694:3: call_function: calling ‘MODULEMD_IS_MODULE_STREAM_V1’ from ‘modulemd_module_stream_upgrade_v1_to_v2’
modulemd-2.15.2/modulemd/modulemd-module-stream.c:688:38: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleStreamV2’ from ‘modulemd_module_stream_upgrade_v1_to_v2’
# 38| #define MODULEMD_TYPE_MODULE_STREAM_V2 (modulemd_module_stream_v2_get_type ())
# 39|
# 40|-> G_DECLARE_FINAL_TYPE (ModulemdModuleStreamV2,
# 41| modulemd_module_stream_v2,
# 42| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-stream-v2.h:40:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘stream’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:3413:12: throw: if ‘modulemd_module_stream_v2_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:3410:38: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleStreamV2’ from ‘module_stream_v2_test_obsoletes’
# 38| #define MODULEMD_TYPE_MODULE_STREAM_V2 (modulemd_module_stream_v2_get_type ())
# 39|
# 40|-> G_DECLARE_FINAL_TYPE (ModulemdModuleStreamV2,
# 41| modulemd_module_stream_v2,
# 42| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-stream.h:73:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘copied_stream’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1674:8: branch_true: following ‘true’ branch (when ‘version != 3’)...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1678:16: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1678:16: throw: if ‘modulemd_module_stream_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1670:36: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleStream’ from ‘module_stream_test_copy’
# 71| #define MODULEMD_TYPE_MODULE_STREAM (modulemd_module_stream_get_type ())
# 72|
# 73|-> G_DECLARE_DERIVABLE_TYPE (ModulemdModuleStream,
# 74| modulemd_module_stream,
# 75| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-stream.h:73:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘current_stream’
modulemd-2.15.2/modulemd/modulemd-module-stream.c:498:1: enter_function: entry to ‘modulemd_module_stream_upgrade’
modulemd-2.15.2/modulemd/modulemd-module-stream.c:506:3: call_function: calling ‘MODULEMD_IS_MODULE_STREAM’ from ‘modulemd_module_stream_upgrade’
modulemd-2.15.2/modulemd/modulemd-module-stream.c:502:36: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleStream’ from ‘modulemd_module_stream_upgrade’
# 71| #define MODULEMD_TYPE_MODULE_STREAM (modulemd_module_stream_get_type ())
# 72|
# 73|-> G_DECLARE_DERIVABLE_TYPE (ModulemdModuleStream,
# 74| modulemd_module_stream,
# 75| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-stream.h:73:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘stream_2’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1733:8: branch_true: following ‘true’ branch (when ‘version != 3’)...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1737:18: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1737:18: throw: if ‘modulemd_module_stream_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1729:36: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleStream’ from ‘module_stream_test_equals’
# 71| #define MODULEMD_TYPE_MODULE_STREAM (modulemd_module_stream_get_type ())
# 72|
# 73|-> G_DECLARE_DERIVABLE_TYPE (ModulemdModuleStream,
# 74| modulemd_module_stream,
# 75| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-stream.h:73:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘stream’
modulemd-2.15.2/modulemd/tests/test-modulemd-module.c:389:7: throw: if ‘modulemd_module_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-module.c:385:36: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleStream’ from ‘module_test_get_stream_names’
# 71| #define MODULEMD_TYPE_MODULE_STREAM (modulemd_module_stream_get_type ())
# 72|
# 73|-> G_DECLARE_DERIVABLE_TYPE (ModulemdModuleStream,
# 74| modulemd_module_stream,
# 75| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module-stream.h:73:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘updated_stream’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:575:1: enter_function: entry to ‘module_stream_test_upgrade_v1_to_v2’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:581:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘module_stream_test_upgrade_v1_to_v2’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:579:36: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModuleStream’ from ‘module_stream_test_upgrade_v1_to_v2’
# 71| #define MODULEMD_TYPE_MODULE_STREAM (modulemd_module_stream_get_type ())
# 72|
# 73|-> G_DECLARE_DERIVABLE_TYPE (ModulemdModuleStream,
# 74| modulemd_module_stream,
# 75| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module.h:34:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘current_module’
modulemd-2.15.2/modulemd/modulemd-module-stream.c:575:1: enter_function: entry to ‘modulemd_module_stream_upgrade_ext’
modulemd-2.15.2/modulemd/modulemd-module-stream.c:585:3: call_function: calling ‘MODULEMD_IS_MODULE_STREAM’ from ‘modulemd_module_stream_upgrade_ext’
modulemd-2.15.2/modulemd/modulemd-module-stream.c:582:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘modulemd_module_stream_upgrade_ext’
modulemd-2.15.2/modulemd/modulemd-module-stream.c:581:30: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModule’ from ‘modulemd_module_stream_upgrade_ext’
# 32| #define MODULEMD_TYPE_MODULE (modulemd_module_get_type ())
# 33|
# 34|-> G_DECLARE_FINAL_TYPE (
# 35| ModulemdModule, modulemd_module, MODULEMD, MODULE, GObject)
# 36|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module.h:34:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘module’
modulemd-2.15.2/modulemd/modulemd-module-index.c:1192:1: enter_function: entry to ‘modulemd_module_index_upgrade_streams’
modulemd-2.15.2/modulemd/modulemd-module-index.c:1203:6: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/modulemd-module-index.c:1205:7: branch_true: ...to here
modulemd-2.15.2/modulemd/modulemd-module-index.c:1205:7: throw: if ‘modulemd_error_quark’ throws an exception...
modulemd-2.15.2/modulemd/modulemd-module-index.c:1201:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘modulemd_module_index_upgrade_streams’
modulemd-2.15.2/modulemd/modulemd-module-index.c:1200:30: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModule’ from ‘modulemd_module_index_upgrade_streams’
# 32| #define MODULEMD_TYPE_MODULE (modulemd_module_get_type ())
# 33|
# 34|-> G_DECLARE_FINAL_TYPE (
# 35| ModulemdModule, modulemd_module, MODULEMD, MODULE, GObject)
# 36|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module.h:34:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘newmodule’
modulemd-2.15.2/modulemd/modulemd-module.c:278:1: enter_function: entry to ‘modulemd_module_add_stream’
modulemd-2.15.2/modulemd/modulemd-module.c:294:3: call_function: calling ‘MODULEMD_IS_MODULE’ from ‘modulemd_module_add_stream’
modulemd-2.15.2/modulemd/modulemd-module.c:288:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘modulemd_module_add_stream’
modulemd-2.15.2/modulemd/modulemd-module.c:287:30: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModule’ from ‘modulemd_module_add_stream’
# 32| #define MODULEMD_TYPE_MODULE (modulemd_module_get_type ())
# 33|
# 34|-> G_DECLARE_FINAL_TYPE (
# 35| ModulemdModule, modulemd_module, MODULEMD, MODULE, GObject)
# 36|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-module.h:34:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘upgraded_module’
modulemd-2.15.2/modulemd/modulemd-module.c:970:1: enter_function: entry to ‘modulemd_module_upgrade_streams’
modulemd-2.15.2/modulemd/modulemd-module.c:983:3: call_function: calling ‘MODULEMD_IS_MODULE’ from ‘modulemd_module_upgrade_streams’
modulemd-2.15.2/modulemd/modulemd-module.c:981:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘modulemd_module_upgrade_streams’
modulemd-2.15.2/modulemd/modulemd-module.c:980:21: call_function: calling ‘g_autoptr_cleanup_generic_gfree’ from ‘modulemd_module_upgrade_streams’
modulemd-2.15.2/modulemd/modulemd-module.c:978:30: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdModule’ from ‘modulemd_module_upgrade_streams’
# 32| #define MODULEMD_TYPE_MODULE (modulemd_module_get_type ())
# 33|
# 34|-> G_DECLARE_FINAL_TYPE (
# 35| ModulemdModule, modulemd_module, MODULEMD, MODULE, GObject)
# 36|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-obsoletes.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘e_copy’
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:82:3: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:82:3: branch_false: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:82:3: throw: if ‘g_assertion_message’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:75:33: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdObsoletes’ from ‘obsoletes_test_copy’
# 27| #define MODULEMD_TYPE_OBSOLETES (modulemd_obsoletes_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (
# 30| ModulemdObsoletes, modulemd_obsoletes, MODULEMD, OBSOLETES, GObject)
# 31|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-obsoletes.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘e’
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:35:3: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:35:3: branch_false: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:35:3: throw: if ‘g_assertion_message’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:31:33: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdObsoletes’ from ‘obsoletes_test_construct’
# 27| #define MODULEMD_TYPE_OBSOLETES (modulemd_obsoletes_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (
# 30| ModulemdObsoletes, modulemd_obsoletes, MODULEMD, OBSOLETES, GObject)
# 31|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-obsoletes.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘obsoletes’
modulemd-2.15.2/modulemd/modulemd-module-index.c:873:1: enter_function: entry to ‘modulemd_module_index_update_from_defaults_directory’
modulemd-2.15.2/modulemd/modulemd-module-index.c:885:18: call_function: calling ‘modules_from_directory’ from ‘modulemd_module_index_update_from_defaults_directory’
# 27| #define MODULEMD_TYPE_OBSOLETES (modulemd_obsoletes_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (
# 30| ModulemdObsoletes, modulemd_obsoletes, MODULEMD, OBSOLETES, GObject)
# 31|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-obsoletes.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘o’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:3416:3: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:3416:3: branch_false: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:3416:3: throw: if ‘g_assertion_message’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:3411:33: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdObsoletes’ from ‘module_stream_v2_test_obsoletes’
# 27| #define MODULEMD_TYPE_OBSOLETES (modulemd_obsoletes_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (
# 30| ModulemdObsoletes, modulemd_obsoletes, MODULEMD, OBSOLETES, GObject)
# 31|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-packager-v3.h:36:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘orig’
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:426:1: enter_function: entry to ‘packager_test_parse_spec_copy’
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:431:10: call_function: calling ‘read_spec’ from ‘packager_test_parse_spec_copy’
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:428:34: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdPackagerV3’ from ‘packager_test_parse_spec_copy’
# 34| #define MODULEMD_TYPE_PACKAGER_V3 (modulemd_packager_v3_get_type ())
# 35|
# 36|-> G_DECLARE_FINAL_TYPE (
# 37| ModulemdPackagerV3, modulemd_packager_v3, MODULEMD, PACKAGER_V3, GObject)
# 38|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-packager-v3.h:36:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘packager_v3’
modulemd-2.15.2/modulemd/modulemd.c:193:1: enter_function: entry to ‘modulemd_read_packager_from_parser’
modulemd-2.15.2/modulemd/modulemd.c:210:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd.c:218:7: branch_false: ...to here
modulemd-2.15.2/modulemd/modulemd.c:218:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd.c:226:3: branch_false: ...to here
modulemd-2.15.2/modulemd/modulemd.c:229:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd.c:237:7: branch_false: ...to here
modulemd-2.15.2/modulemd/modulemd.c:237:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd.c:245:3: branch_false: ...to here
modulemd-2.15.2/modulemd/modulemd.c:203:39: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdSubdocumentInfo’ from ‘modulemd_read_packager_from_parser’
modulemd-2.15.2/modulemd/modulemd.c:202:34: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdPackagerV3’ from ‘modulemd_read_packager_from_parser’
# 34| #define MODULEMD_TYPE_PACKAGER_V3 (modulemd_packager_v3_get_type ())
# 35|
# 36|-> G_DECLARE_FINAL_TYPE (
# 37| ModulemdPackagerV3, modulemd_packager_v3, MODULEMD, PACKAGER_V3, GObject)
# 38|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-packager-v3.h:36:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘packager’
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:34:14: throw: if ‘modulemd_packager_v3_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:30:34: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdPackagerV3’ from ‘packager_test_construct’
# 34| #define MODULEMD_TYPE_PACKAGER_V3 (modulemd_packager_v3_get_type ())
# 35|
# 36|-> G_DECLARE_FINAL_TYPE (
# 37| ModulemdPackagerV3, modulemd_packager_v3, MODULEMD, PACKAGER_V3, GObject)
# 38|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-packager-v3.h:36:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘repackaged’
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:293:1: enter_function: entry to ‘validate_yaml’
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:298:3: throw: if ‘yaml_emitter_initialize’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:298:3: call_function: inlined call to ‘glib_auto_cleanup_yaml_emitter_t’ from ‘validate_yaml’
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:296:34: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdPackagerV3’ from ‘validate_yaml’
# 34| #define MODULEMD_TYPE_PACKAGER_V3 (modulemd_packager_v3_get_type ())
# 35|
# 36|-> G_DECLARE_FINAL_TYPE (
# 37| ModulemdPackagerV3, modulemd_packager_v3, MODULEMD, PACKAGER_V3, GObject)
# 38|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-profile.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘p_2’
modulemd-2.15.2/modulemd/tests/test-modulemd-profile.c:90:9: throw: if ‘modulemd_profile_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-profile.c:87:31: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdProfile’ from ‘profile_test_equals’
# 27| #define MODULEMD_TYPE_PROFILE (modulemd_profile_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (
# 30| ModulemdProfile, modulemd_profile, MODULEMD, PROFILE, GObject)
# 31|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-profile.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘profile’
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:572:1: enter_function: entry to ‘packager_test_convert_to_index_without_stream_with_default_profile’
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:580:14: throw: if ‘modulemd_packager_v3_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:578:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘packager_test_convert_to_index_without_stream_with_default_profile’
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:577:31: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdProfile’ from ‘packager_test_convert_to_index_without_stream_with_default_profile’
# 27| #define MODULEMD_TYPE_PROFILE (modulemd_profile_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (
# 30| ModulemdProfile, modulemd_profile, MODULEMD, PROFILE, GObject)
# 31|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-profile.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘p’
modulemd-2.15.2/modulemd/tests/test-modulemd-profile.c:412:7: throw: if ‘modulemd_profile_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-profile.c:409:31: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdProfile’ from ‘profile_test_rpms’
# 27| #define MODULEMD_TYPE_PROFILE (modulemd_profile_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (
# 30| ModulemdProfile, modulemd_profile, MODULEMD, PROFILE, GObject)
# 31|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-rpm-map-entry.h:30:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘entry2’
modulemd-2.15.2/modulemd/tests/test-modulemd-rpmmap.c:104:11: throw: if ‘modulemd_rpm_map_entry_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-rpmmap.c:101:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdRpmMapEntry’ from ‘test_compare’
# 28| #define MODULEMD_TYPE_RPM_MAP_ENTRY (modulemd_rpm_map_entry_get_type ())
# 29|
# 30|-> G_DECLARE_FINAL_TYPE (ModulemdRpmMapEntry,
# 31| modulemd_rpm_map_entry,
# 32| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-rpm-map-entry.h:30:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘entry_1’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2126:14: throw: if ‘modulemd_module_stream_v2_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2123:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdRpmMapEntry’ from ‘module_stream_v2_test_equals’
# 28| #define MODULEMD_TYPE_RPM_MAP_ENTRY (modulemd_rpm_map_entry_get_type ())
# 29|
# 30|-> G_DECLARE_FINAL_TYPE (ModulemdRpmMapEntry,
# 31| modulemd_rpm_map_entry,
# 32| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-rpm-map-entry.h:30:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘entry’
modulemd-2.15.2/modulemd/tests/test-modulemd-rpmmap.c:26:1: enter_function: entry to ‘test_basic’
modulemd-2.15.2/modulemd/tests/test-modulemd-rpmmap.c:34:11: throw: if ‘modulemd_rpm_map_entry_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-rpmmap.c:30:21: call_function: calling ‘g_autoptr_cleanup_generic_gfree’ from ‘test_basic’
modulemd-2.15.2/modulemd/tests/test-modulemd-rpmmap.c:29:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘test_basic’
modulemd-2.15.2/modulemd/tests/test-modulemd-rpmmap.c:28:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdRpmMapEntry’ from ‘test_basic’
# 28| #define MODULEMD_TYPE_RPM_MAP_ENTRY (modulemd_rpm_map_entry_get_type ())
# 29|
# 30|-> G_DECLARE_FINAL_TYPE (ModulemdRpmMapEntry,
# 31| modulemd_rpm_map_entry,
# 32| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-service-level.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sl_2’
modulemd-2.15.2/modulemd/tests/test-modulemd-service-level.c:100:10: throw: if ‘modulemd_service_level_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-service-level.c:97:36: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdServiceLevel’ from ‘service_level_test_equals’
# 27| #define MODULEMD_TYPE_SERVICE_LEVEL (modulemd_service_level_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (ModulemdServiceLevel,
# 30| modulemd_service_level,
# 31| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-service-level.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sl_copy’
modulemd-2.15.2/modulemd/tests/test-modulemd-service-level.c:196:1: enter_function: entry to ‘service_level_test_copy’
modulemd-2.15.2/modulemd/tests/test-modulemd-service-level.c:203:8: throw: if ‘modulemd_service_level_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-service-level.c:200:21: call_function: calling ‘g_autoptr_cleanup_generic_gfree’ from ‘service_level_test_copy’
modulemd-2.15.2/modulemd/tests/test-modulemd-service-level.c:199:36: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdServiceLevel’ from ‘service_level_test_copy’
# 27| #define MODULEMD_TYPE_SERVICE_LEVEL (modulemd_service_level_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (ModulemdServiceLevel,
# 30| modulemd_service_level,
# 31| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-service-level.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sl’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1196:1: enter_function: entry to ‘module_stream_v1_test_servicelevels’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1227:3: branch_false: following ‘false’ branch (when ‘_ptr’ is NULL)...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1228:3: branch_false: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1228:3: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1229:3: branch_false: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1229:3: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1203:21: branch_false: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1203:21: call_function: calling ‘g_autoptr_cleanup_generic_gfree’ from ‘module_stream_v1_test_servicelevels’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1202:21: call_function: calling ‘g_autoptr_cleanup_generic_gfree’ from ‘module_stream_v1_test_servicelevels’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:1200:36: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdServiceLevel’ from ‘module_stream_v1_test_servicelevels’
# 27| #define MODULEMD_TYPE_SERVICE_LEVEL (modulemd_service_level_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (ModulemdServiceLevel,
# 30| modulemd_service_level,
# 31| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-subdocument-info.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘subdoc’
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:458:1: enter_function: entry to ‘defaults_test_parse_yaml’
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:468:18: call_function: inlined call to ‘glib_auto_cleanup_GStrv’ from ‘defaults_test_parse_yaml’
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:467:39: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdSubdocumentInfo’ from ‘defaults_test_parse_yaml’
# 27| #define MODULEMD_TYPE_SUBDOCUMENT_INFO (modulemd_subdocument_info_get_type ())
# 28|
# 29|-> G_DECLARE_FINAL_TYPE (ModulemdSubdocumentInfo,
# 30| modulemd_subdocument_info,
# 31| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-translation-entry.h:30:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘te’
modulemd-2.15.2/modulemd/tests/test-modulemd-module.c:157:1: enter_function: entry to ‘module_test_streams’
modulemd-2.15.2/modulemd/tests/test-modulemd-module.c:168:8: throw: if ‘modulemd_translation_entry_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-module.c:163:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘module_test_streams’
modulemd-2.15.2/modulemd/tests/test-modulemd-module.c:161:40: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdTranslationEntry’ from ‘module_test_streams’
# 28| (modulemd_translation_entry_get_type ())
# 29|
# 30|-> G_DECLARE_FINAL_TYPE (ModulemdTranslationEntry,
# 31| modulemd_translation_entry,
# 32| MODULEMD,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-translation.h:30:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘t_copy’
modulemd-2.15.2/modulemd/tests/test-modulemd-translation.c:142:7: throw: if ‘modulemd_translation_new’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-translation.c:138:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdTranslation’ from ‘translation_test_copy’
# 28| #define MODULEMD_TYPE_TRANSLATION (modulemd_translation_get_type ())
# 29|
# 30|-> G_DECLARE_FINAL_TYPE (
# 31| ModulemdTranslation, modulemd_translation, MODULEMD, TRANSLATION, GObject)
# 32|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-translation.h:30:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘translation’
modulemd-2.15.2/modulemd/modulemd-module-index.c:873:1: enter_function: entry to ‘modulemd_module_index_update_from_defaults_directory’
modulemd-2.15.2/modulemd/modulemd-module-index.c:885:18: call_function: calling ‘modules_from_directory’ from ‘modulemd_module_index_update_from_defaults_directory’
# 28| #define MODULEMD_TYPE_TRANSLATION (modulemd_translation_get_type ())
# 29|
# 30|-> G_DECLARE_FINAL_TYPE (
# 31| ModulemdTranslation, modulemd_translation, MODULEMD, TRANSLATION, GObject)
# 32|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/modulemd-2.0/modulemd-translation.h:30:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘t’
modulemd-2.15.2/modulemd/tests/test-modulemd-module.c:157:1: enter_function: entry to ‘module_test_streams’
modulemd-2.15.2/modulemd/tests/test-modulemd-module.c:163:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘module_test_streams’
modulemd-2.15.2/modulemd/tests/test-modulemd-module.c:160:35: call_function: inlined call to ‘glib_autoptr_cleanup_ModulemdTranslation’ from ‘module_test_streams’
# 28| #define MODULEMD_TYPE_TRANSLATION (modulemd_translation_get_type ())
# 29|
# 30|-> G_DECLARE_FINAL_TYPE (
# 31| ModulemdTranslation, modulemd_translation, MODULEMD, TRANSLATION, GObject)
# 32|
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/private/modulemd-yaml.h:101:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘filestream’
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:70:1: enter_function: entry to ‘test_modulemd_detect_compression’
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:94:22: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:96:18: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:96:18: throw: if ‘g_getenv’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:75:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘test_modulemd_detect_compression’
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:74:20: call_function: inlined call to ‘glib_autoptr_cleanup_FILE’ from ‘test_modulemd_detect_compression’
# 99| modulemd_yaml_string_free (modulemd_yaml_string *yaml_string);
# 100|
# 101|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (FILE, fclose);
# 102|
# 103| G_DEFINE_AUTOPTR_CLEANUP_FUNC (modulemd_yaml_string,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/private/modulemd-yaml.h:101:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘file’
modulemd-2.15.2/modulemd/modulemd-validator.c:443:1: enter_function: entry to ‘main’
modulemd-2.15.2/modulemd/modulemd-validator.c:458:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd-validator.c:464:7: branch_false: ...to here
modulemd-2.15.2/modulemd/modulemd-validator.c:464:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd-validator.c:470:9: branch_false: ...to here
modulemd-2.15.2/modulemd/modulemd-validator.c:470:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd-validator.c:477:21: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/modulemd-validator.c:481:13: branch_true: ...to here
modulemd-2.15.2/modulemd/modulemd-validator.c:481:13: call_function: calling ‘parse_file’ from ‘main’
# 99| modulemd_yaml_string_free (modulemd_yaml_string *yaml_string);
# 100|
# 101|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (FILE, fclose);
# 102|
# 103| G_DEFINE_AUTOPTR_CLEANUP_FUNC (modulemd_yaml_string,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/private/modulemd-yaml.h:101:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yaml_stream’
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:458:1: enter_function: entry to ‘defaults_test_parse_yaml’
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:466:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘defaults_test_parse_yaml’
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:465:20: call_function: inlined call to ‘glib_autoptr_cleanup_FILE’ from ‘defaults_test_parse_yaml’
# 99| modulemd_yaml_string_free (modulemd_yaml_string *yaml_string);
# 100|
# 101|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (FILE, fclose);
# 102|
# 103| G_DEFINE_AUTOPTR_CLEANUP_FUNC (modulemd_yaml_string,
Error: GCC_ANALYZER_WARNING (CWE-457):
modulemd-2.15.2/modulemd/include/private/modulemd-yaml.h:103:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yaml_string’
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:741:3: throw: if ‘yaml_emitter_set_output’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:741:3: call_function: inlined call to ‘glib_autoptr_cleanup_modulemd_yaml_string’ from ‘defaults_test_quoting’
# 101| G_DEFINE_AUTOPTR_CLEANUP_FUNC (FILE, fclose);
# 102|
# 103|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (modulemd_yaml_string,
# 104| modulemd_yaml_string_free);
# 105|
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/modulemd-module-index.c:619:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(yaml_file, "rbe")’
modulemd-2.15.2/modulemd/modulemd-module-index.c:873:1: enter_function: entry to ‘modulemd_module_index_update_from_defaults_directory’
modulemd-2.15.2/modulemd/modulemd-module-index.c:885:18: call_function: calling ‘modules_from_directory’ from ‘modulemd_module_index_update_from_defaults_directory’
# 617|
# 618| /* Determine if the file is compressed */
# 619|-> comtype = modulemd_detect_compression (yaml_file, fd, &nested_error);
# 620| if (comtype == MODULEMD_COMPRESSION_TYPE_DETECTION_FAILED)
# 621| {
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/modulemd-module-index.c:619:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(yaml_file, "rbe")’
modulemd-2.15.2/modulemd/modulemd-module-index.c:873:1: enter_function: entry to ‘modulemd_module_index_update_from_defaults_directory’
modulemd-2.15.2/modulemd/modulemd-module-index.c:885:18: call_function: calling ‘modules_from_directory’ from ‘modulemd_module_index_update_from_defaults_directory’
# 617|
# 618| /* Determine if the file is compressed */
# 619|-> comtype = modulemd_detect_compression (yaml_file, fd, &nested_error);
# 620| if (comtype == MODULEMD_COMPRESSION_TYPE_DETECTION_FAILED)
# 621| {
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/modulemd-module-index.c:622:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(yaml_file, "rbe")’
modulemd-2.15.2/modulemd/modulemd-module-index.c:873:1: enter_function: entry to ‘modulemd_module_index_update_from_defaults_directory’
modulemd-2.15.2/modulemd/modulemd-module-index.c:885:18: call_function: calling ‘modules_from_directory’ from ‘modulemd_module_index_update_from_defaults_directory’
# 620| if (comtype == MODULEMD_COMPRESSION_TYPE_DETECTION_FAILED)
# 621| {
# 622|-> g_propagate_error (error, g_steal_pointer (&nested_error));
# 623| return FALSE;
# 624| }
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/modulemd-module-index.c:622:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(yaml_file, "rbe")’
modulemd-2.15.2/modulemd/modulemd-module-index.c:873:1: enter_function: entry to ‘modulemd_module_index_update_from_defaults_directory’
modulemd-2.15.2/modulemd/modulemd-module-index.c:885:18: call_function: calling ‘modules_from_directory’ from ‘modulemd_module_index_update_from_defaults_directory’
# 620| if (comtype == MODULEMD_COMPRESSION_TYPE_DETECTION_FAILED)
# 621| {
# 622|-> g_propagate_error (error, g_steal_pointer (&nested_error));
# 623| return FALSE;
# 624| }
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/modulemd-module-index.c:625:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(yaml_file, "rbe")’
modulemd-2.15.2/modulemd/modulemd-module-index.c:873:1: enter_function: entry to ‘modulemd_module_index_update_from_defaults_directory’
modulemd-2.15.2/modulemd/modulemd-module-index.c:885:18: call_function: calling ‘modules_from_directory’ from ‘modulemd_module_index_update_from_defaults_directory’
# 623| return FALSE;
# 624| }
# 625|-> if (comtype == MODULEMD_COMPRESSION_TYPE_NO_COMPRESSION ||
# 626| comtype == MODULEMD_COMPRESSION_TYPE_UNKNOWN_COMPRESSION)
# 627| {
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/modulemd-module-index.c:625:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(yaml_file, "rbe")’
modulemd-2.15.2/modulemd/modulemd-module-index.c:873:1: enter_function: entry to ‘modulemd_module_index_update_from_defaults_directory’
modulemd-2.15.2/modulemd/modulemd-module-index.c:885:18: call_function: calling ‘modules_from_directory’ from ‘modulemd_module_index_update_from_defaults_directory’
# 623| return FALSE;
# 624| }
# 625|-> if (comtype == MODULEMD_COMPRESSION_TYPE_NO_COMPRESSION ||
# 626| comtype == MODULEMD_COMPRESSION_TYPE_UNKNOWN_COMPRESSION)
# 627| {
Error: GCC_ANALYZER_WARNING (CWE-476):
modulemd-2.15.2/modulemd/modulemd-module-index.c:1522:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nested_error’
modulemd-2.15.2/modulemd/modulemd-module-index.c:1463:1: enter_function: entry to ‘modulemd_module_index_merge’
modulemd-2.15.2/modulemd/modulemd-module-index.c:1486:22: release_memory: ‘nested_error’ is NULL
modulemd-2.15.2/modulemd/modulemd-module-index.c:1496:10: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/modulemd-module-index.c:1498:7: branch_true: ...to here
modulemd-2.15.2/modulemd/modulemd-module-index.c:1514:19: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/modulemd-module-index.c:1516:20: branch_true: ...to here
modulemd-2.15.2/modulemd/modulemd-module-index.c:1519:16: call_function: calling ‘modulemd_module_index_add_module_stream’ from ‘modulemd_module_index_merge’
modulemd-2.15.2/modulemd/modulemd-module-index.c:1519:16: return_function: returning to ‘modulemd_module_index_merge’ from ‘modulemd_module_index_add_module_stream’
modulemd-2.15.2/modulemd/modulemd-module-index.c:1519:14: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/modulemd-module-index.c:1522:15: branch_true: ...to here
modulemd-2.15.2/modulemd/modulemd-module-index.c:1522:15: release_memory: ‘nested_error’ is NULL
modulemd-2.15.2/modulemd/modulemd-module-index.c:1522:15: danger: dereference of NULL ‘nested_error’
# 1520| into, stream, &nested_error))
# 1521| {
# 1522|-> g_info ("Could not add stream %s due to %s",
# 1523| nsvca,
# 1524| nested_error->message);
Error: GCC_ANALYZER_WARNING (CWE-688):
modulemd-2.15.2/modulemd/modulemd-module.c:771:3: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
modulemd-2.15.2/modulemd/modulemd-module.c:764:1: enter_function: entry to ‘modulemd_module_add_translation’
modulemd-2.15.2/modulemd/modulemd-module.c:771:3: call_function: calling ‘modulemd_module_get_module_name’ from ‘modulemd_module_add_translation’
modulemd-2.15.2/modulemd/modulemd-module.c:771:3: return_function: returning to ‘modulemd_module_add_translation’ from ‘modulemd_module_get_module_name’
modulemd-2.15.2/modulemd/modulemd-module.c:771:3: danger: argument 2 (‘modulemd_module_get_module_name(self)’) NULL where non-null expected
# 769| ModulemdTranslation *newtrans = NULL;
# 770|
# 771|-> g_return_if_fail (
# 772| g_str_equal (modulemd_translation_get_module_name (translation),
# 773| modulemd_module_get_module_name (self)));
Error: GCC_ANALYZER_WARNING (CWE-688):
modulemd-2.15.2/modulemd/modulemd-module.c:820:3: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
modulemd-2.15.2/modulemd/modulemd-module.c:812:1: enter_function: entry to ‘modulemd_module_add_obsoletes’
modulemd-2.15.2/modulemd/modulemd-module.c:820:3: call_function: calling ‘modulemd_module_get_module_name’ from ‘modulemd_module_add_obsoletes’
modulemd-2.15.2/modulemd/modulemd-module.c:820:3: return_function: returning to ‘modulemd_module_add_obsoletes’ from ‘modulemd_module_get_module_name’
modulemd-2.15.2/modulemd/modulemd-module.c:820:3: danger: argument 2 (‘modulemd_module_get_module_name(self)’) NULL where non-null expected
# 818| ModulemdObsoletes *current_obsoletes = NULL;
# 819|
# 820|-> g_return_if_fail (
# 821| g_str_equal (modulemd_obsoletes_get_module_name (obsoletes),
# 822| modulemd_module_get_module_name (self)));
Error: GCC_ANALYZER_WARNING (CWE-476):
modulemd-2.15.2/modulemd/modulemd-module.c:1024:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
modulemd-2.15.2/modulemd/modulemd-module.c:970:1: enter_function: entry to ‘modulemd_module_upgrade_streams’
modulemd-2.15.2/modulemd/modulemd-module.c:983:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/modulemd-module.c:985:39: branch_true: ...to here
modulemd-2.15.2/modulemd/modulemd-module.c:987:21: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/modulemd-module.c:989:22: branch_true: ...to here
modulemd-2.15.2/modulemd/modulemd-module.c:994:10: branch_false: following ‘false’ branch (when ‘current_mdversion > 0’)...
modulemd-2.15.2/modulemd/modulemd-module.c:1004:10: branch_false: ...to here
modulemd-2.15.2/modulemd/modulemd-module.c:1004:10: branch_false: following ‘false’ branch (when ‘current_mdversion != mdversion’)...
modulemd-2.15.2/modulemd/modulemd-module.c:1011:29: branch_false: ...to here
modulemd-2.15.2/modulemd/modulemd-module.c:1013:14: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd-module.c:1023:30: branch_false: ...to here
modulemd-2.15.2/modulemd/modulemd-module.c:1023:30: call_function: calling ‘modulemd_module_get_all_streams’ from ‘modulemd_module_upgrade_streams’
modulemd-2.15.2/modulemd/modulemd-module.c:1023:30: return_function: returning to ‘modulemd_module_upgrade_streams’ from ‘modulemd_module_get_all_streams’
modulemd-2.15.2/modulemd/modulemd-module.c:1024:33: danger: dereference of NULL ‘modulemd_module_get_all_streams(modulemd_module_stream_upgrade_ext(g_object_ref(*<unknown>), (long unsigned int)mdversion, & nested_error))’
# 1022| /* loop through all upgraded streams */
# 1023| upgraded_streams = modulemd_module_get_all_streams (upgraded_module);
# 1024|-> for (guint i = 0; i < upgraded_streams->len; i++)
# 1025| {
# 1026| upgraded_stream =
Error: GCC_ANALYZER_WARNING (CWE-688):
modulemd-2.15.2/modulemd/modulemd-util.c:383:15: warning[-Wanalyzer-null-argument]: use of NULL ‘nevra’ where non-null expected
modulemd-2.15.2/modulemd/modulemd-util.c:380:1: enter_function: entry to ‘modulemd_validate_nevra’
modulemd-2.15.2/modulemd/modulemd-util.c:382:21: release_memory: ‘nevra’ is NULL
modulemd-2.15.2/modulemd/modulemd-util.c:383:15: danger: argument 1 (‘nevra’) NULL where non-null expected
# 381| {
# 382| g_autofree gchar *tmp = g_strdup (nevra);
# 383|-> gsize len = strlen (nevra);
# 384| gchar *i;
# 385| gchar *endptr;
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/modulemd-validator.c:246:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
modulemd-2.15.2/modulemd/modulemd-validator.c:443:1: enter_function: entry to ‘main’
modulemd-2.15.2/modulemd/modulemd-validator.c:458:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd-validator.c:464:7: branch_false: ...to here
modulemd-2.15.2/modulemd/modulemd-validator.c:464:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd-validator.c:470:9: branch_false: ...to here
modulemd-2.15.2/modulemd/modulemd-validator.c:470:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd-validator.c:477:21: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/modulemd-validator.c:481:13: branch_true: ...to here
modulemd-2.15.2/modulemd/modulemd-validator.c:481:13: call_function: calling ‘parse_file’ from ‘main’
# 244| return FALSE;
# 245| }
# 246|-> yaml_parser_set_input_file (&parser, file);
# 247| if (!yaml_parser_parse (&parser, &event))
# 248| {
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/modulemd-validator.c:246:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
modulemd-2.15.2/modulemd/modulemd-validator.c:443:1: enter_function: entry to ‘main’
modulemd-2.15.2/modulemd/modulemd-validator.c:458:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd-validator.c:464:7: branch_false: ...to here
modulemd-2.15.2/modulemd/modulemd-validator.c:464:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd-validator.c:470:9: branch_false: ...to here
modulemd-2.15.2/modulemd/modulemd-validator.c:470:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/modulemd-validator.c:477:21: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/modulemd-validator.c:481:13: branch_true: ...to here
modulemd-2.15.2/modulemd/modulemd-validator.c:481:13: call_function: calling ‘parse_file’ from ‘main’
# 244| return FALSE;
# 245| }
# 246|-> yaml_parser_set_input_file (&parser, file);
# 247| if (!yaml_parser_parse (&parser, &event))
# 248| {
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:389:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/buildconfig/good_bc.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:386:17: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:387:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:389:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:389:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:389:3: danger: ‘fopen(g_strdup_printf("%s/buildconfig/good_bc.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’ leaks here; was opened at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
# 387| g_assert_nonnull (yaml_stream);
# 388|
# 389|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 390|
# 391| parser_skip_headers (&parser);
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:389:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/buildconfig/good_bc.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:386:17: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:387:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:389:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:389:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:389:3: danger: ‘fopen(g_strdup_printf("%s/buildconfig/good_bc.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
# 387| g_assert_nonnull (yaml_stream);
# 388|
# 389|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 390|
# 391| parser_skip_headers (&parser);
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:471:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/buildconfig/unknown_key.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:468:17: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:469:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:471:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:471:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:471:3: danger: ‘fopen(g_strdup_printf("%s/buildconfig/unknown_key.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’ leaks here; was opened at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
# 469| g_assert_nonnull (yaml_stream);
# 470|
# 471|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 472|
# 473| parser_skip_headers (&parser);
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:471:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/buildconfig/unknown_key.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:468:17: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:469:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:471:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:471:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:471:3: danger: ‘fopen(g_strdup_printf("%s/buildconfig/unknown_key.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
# 469| g_assert_nonnull (yaml_stream);
# 470|
# 471|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 472|
# 473| parser_skip_headers (&parser);
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:564:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/buildconfig/no_context.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:561:17: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:562:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:564:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:564:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:564:3: danger: ‘fopen(g_strdup_printf("%s/buildconfig/no_context.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’ leaks here; was opened at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
# 562| g_assert_nonnull (yaml_stream);
# 563|
# 564|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 565|
# 566| parser_skip_headers (&parser);
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:564:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/buildconfig/no_context.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:561:17: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:562:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:564:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:564:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:564:3: danger: ‘fopen(g_strdup_printf("%s/buildconfig/no_context.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
# 562| g_assert_nonnull (yaml_stream);
# 563|
# 564|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 565|
# 566| parser_skip_headers (&parser);
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:592:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/buildconfig/short_context.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:589:17: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:590:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:592:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:592:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:592:3: danger: ‘fopen(g_strdup_printf("%s/buildconfig/short_context.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’ leaks here; was opened at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
# 590| g_assert_nonnull (yaml_stream);
# 591|
# 592|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 593|
# 594| parser_skip_headers (&parser);
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:592:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/buildconfig/short_context.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:589:17: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:590:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:592:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:592:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:592:3: danger: ‘fopen(g_strdup_printf("%s/buildconfig/short_context.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
# 590| g_assert_nonnull (yaml_stream);
# 591|
# 592|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 593|
# 594| parser_skip_headers (&parser);
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:620:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/buildconfig/long_context.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:617:17: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:618:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:620:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:620:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:620:3: danger: ‘fopen(g_strdup_printf("%s/buildconfig/long_context.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’ leaks here; was opened at [(1)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/0)
# 618| g_assert_nonnull (yaml_stream);
# 619|
# 620|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 621|
# 622| parser_skip_headers (&parser);
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:620:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/buildconfig/long_context.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:617:17: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:618:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:620:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:620:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:620:3: danger: ‘fopen(g_strdup_printf("%s/buildconfig/long_context.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/0)
# 618| g_assert_nonnull (yaml_stream);
# 619|
# 620|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 621|
# 622| parser_skip_headers (&parser);
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:648:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/buildconfig/nonalphanum_context.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:645:17: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:646:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:648:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:648:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:648:3: danger: ‘fopen(g_strdup_printf("%s/buildconfig/nonalphanum_context.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’ leaks here; was opened at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
# 646| g_assert_nonnull (yaml_stream);
# 647|
# 648|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 649|
# 650| parser_skip_headers (&parser);
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:648:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/buildconfig/nonalphanum_context.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:645:17: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:646:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:648:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:648:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:648:3: danger: ‘fopen(g_strdup_printf("%s/buildconfig/nonalphanum_context.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/0)
# 646| g_assert_nonnull (yaml_stream);
# 647|
# 648|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 649|
# 650| parser_skip_headers (&parser);
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:676:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/buildconfig/no_platform.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:673:17: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:674:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:676:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:676:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:676:3: danger: ‘fopen(g_strdup_printf("%s/buildconfig/no_platform.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’ leaks here; was opened at [(1)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/0)
# 674| g_assert_nonnull (yaml_stream);
# 675|
# 676|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 677|
# 678| parser_skip_headers (&parser);
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:676:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/buildconfig/no_platform.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:673:17: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:674:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:676:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:676:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-build-config.c:676:3: danger: ‘fopen(g_strdup_printf("%s/buildconfig/no_platform.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/0)
# 674| g_assert_nonnull (yaml_stream);
# 675|
# 676|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 677|
# 678| parser_skip_headers (&parser);
Error: GCC_ANALYZER_WARNING (CWE-688):
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:102:12: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected[i].filename), "rbe")’ where non-null expected
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:94:22: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:96:18: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:100:20: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:101:7: release_memory: assuming ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected[i].filename), "rbe")’ is NULL
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:101:7: branch_false: following ‘false’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:101:7: branch_false: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:102:12: danger: argument 1 (‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected[i].filename), "rbe")’) NULL where non-null expected
# 100| filestream = g_fopen (filename, "rbe");
# 101| g_assert_nonnull (filestream);
# 102|-> fd = fileno (filestream);
# 103| result = modulemd_detect_compression (filename, fd, &error);
# 104| g_assert_no_error (error);
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:103:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected[i].filename), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:94:22: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:96:18: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:100:20: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:101:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:102:12: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:103:16: throw: if ‘modulemd_detect_compression’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:103:16: danger: ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected[i].filename), "rbe")’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
# 101| g_assert_nonnull (filestream);
# 102| fd = fileno (filestream);
# 103|-> result = modulemd_detect_compression (filename, fd, &error);
# 104| g_assert_no_error (error);
# 105| g_assert_cmpint (result, ==, expected[i].type);
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:103:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected[i].filename), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:94:22: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:96:18: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:100:20: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:101:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:102:12: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:103:16: throw: if ‘modulemd_detect_compression’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:103:16: danger: ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected[i].filename), "rbe")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
# 101| g_assert_nonnull (filestream);
# 102| fd = fileno (filestream);
# 103|-> result = modulemd_detect_compression (filename, fd, &error);
# 104| g_assert_no_error (error);
# 105| g_assert_cmpint (result, ==, expected[i].type);
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:104:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected[i].filename), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:94:22: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:96:18: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:100:20: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:101:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:102:12: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:104:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:104:7: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:104:7: throw: if ‘g_assertion_message_error’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:104:7: danger: ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected[i].filename), "rbe")’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
# 102| fd = fileno (filestream);
# 103| result = modulemd_detect_compression (filename, fd, &error);
# 104|-> g_assert_no_error (error);
# 105| g_assert_cmpint (result, ==, expected[i].type);
# 106| g_clear_error (&error);
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:104:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected[i].filename), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:94:22: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:96:18: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:100:20: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:101:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:102:12: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:104:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:104:7: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:104:7: throw: if ‘g_assertion_message_error’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:104:7: danger: ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected[i].filename), "rbe")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
# 102| fd = fileno (filestream);
# 103| result = modulemd_detect_compression (filename, fd, &error);
# 104|-> g_assert_no_error (error);
# 105| g_assert_cmpint (result, ==, expected[i].type);
# 106| g_clear_error (&error);
Error: GCC_ANALYZER_WARNING (CWE-688):
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:136:12: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected_magic[j].filename), "rbe")’ where non-null expected
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:94:22: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:96:18: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:101:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:102:12: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:101:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:102:12: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:128:22: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:130:18: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:134:20: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:135:7: release_memory: assuming ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected_magic[j].filename), "rbe")’ is NULL
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:136:12: danger: argument 1 (‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected_magic[j].filename), "rbe")’) NULL where non-null expected
# 134| filestream = g_fopen (filename, "rbe");
# 135| g_assert_nonnull (filestream);
# 136|-> fd = fileno (filestream);
# 137| result = modulemd_detect_compression (filename, fd, &error);
# 138| g_assert_no_error (error);
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:137:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected_magic[j].filename), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:94:22: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:96:18: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:101:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:102:12: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:101:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:102:12: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:128:22: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:130:18: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:134:20: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:135:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:136:12: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:137:16: throw: if ‘modulemd_detect_compression’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:137:16: danger: ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected_magic[j].filename), "rbe")’ leaks here; was opened at [(13)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/12)
# 135| g_assert_nonnull (filestream);
# 136| fd = fileno (filestream);
# 137|-> result = modulemd_detect_compression (filename, fd, &error);
# 138| g_assert_no_error (error);
# 139| g_assert_cmpint (result, ==, expected_magic[j].type);
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:137:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected_magic[j].filename), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:94:22: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:96:18: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:101:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:102:12: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:101:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:102:12: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:128:22: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:130:18: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:134:20: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:135:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:136:12: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:137:16: throw: if ‘modulemd_detect_compression’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:137:16: danger: ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected_magic[j].filename), "rbe")’ leaks here; was allocated at [(13)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/12)
# 135| g_assert_nonnull (filestream);
# 136| fd = fileno (filestream);
# 137|-> result = modulemd_detect_compression (filename, fd, &error);
# 138| g_assert_no_error (error);
# 139| g_assert_cmpint (result, ==, expected_magic[j].type);
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:138:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected_magic[j].filename), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:94:22: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:96:18: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:101:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:102:12: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:101:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:102:12: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:128:22: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:130:18: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:134:20: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:135:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:136:12: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:138:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:138:7: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:138:7: throw: if ‘g_assertion_message_error’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:138:7: danger: ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected_magic[j].filename), "rbe")’ leaks here; was opened at [(13)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/12)
# 136| fd = fileno (filestream);
# 137| result = modulemd_detect_compression (filename, fd, &error);
# 138|-> g_assert_no_error (error);
# 139| g_assert_cmpint (result, ==, expected_magic[j].type);
# 140| g_clear_error (&error);
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:138:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected_magic[j].filename), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:94:22: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:96:18: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:101:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:102:12: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:101:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:102:12: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:108:7: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:128:22: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:130:18: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:134:20: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:135:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:136:12: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:138:7: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:138:7: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:138:7: throw: if ‘g_assertion_message_error’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-compression.c:138:7: danger: ‘fopen(g_strdup_printf("%s/compression/%s", g_getenv("TEST_DATA_PATH"), expected_magic[j].filename), "rbe")’ leaks here; was allocated at [(13)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/12)
# 136| fd = fileno (filestream);
# 137| result = modulemd_detect_compression (filename, fd, &error);
# 138|-> g_assert_no_error (error);
# 139| g_assert_cmpint (result, ==, expected_magic[j].type);
# 140| g_clear_error (&error);
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:480:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_defaults_v1.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:477:17: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:478:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:480:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:480:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:480:3: danger: ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_defaults_v1.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’ leaks here; was opened at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
# 478| g_assert_nonnull (yaml_stream);
# 479|
# 480|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 481|
# 482| /* The first event must be the stream start */
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:480:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_defaults_v1.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:477:17: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:478:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:480:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:480:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-defaults-v1.c:480:3: danger: ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_defaults_v1.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
# 478| g_assert_nonnull (yaml_stream);
# 479|
# 480|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 481|
# 482| /* The first event must be the stream start */
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2479:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_stream_v1.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2475:17: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2476:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2479:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2479:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2479:3: danger: ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_stream_v1.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’ leaks here; was opened at [(1)](sarif:/runs/0/results/68/codeFlows/0/threadFlows/0/locations/0)
# 2477|
# 2478| /* First parse it */
# 2479|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 2480| g_assert_true (yaml_parser_parse (&parser, &event));
# 2481| g_assert_cmpint (event.type, ==, YAML_STREAM_START_EVENT);
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2479:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_stream_v1.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2475:17: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2476:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2479:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2479:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2479:3: danger: ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_stream_v1.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/69/codeFlows/0/threadFlows/0/locations/0)
# 2477|
# 2478| /* First parse it */
# 2479|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 2480| g_assert_true (yaml_parser_parse (&parser, &event));
# 2481| g_assert_cmpint (event.type, ==, YAML_STREAM_START_EVENT);
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2647:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_stream_v2.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2643:17: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2644:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2647:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2647:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2647:3: danger: ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_stream_v2.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’ leaks here; was opened at [(1)](sarif:/runs/0/results/70/codeFlows/0/threadFlows/0/locations/0)
# 2645|
# 2646| /* First parse it */
# 2647|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 2648| g_assert_true (yaml_parser_parse (&parser, &event));
# 2649| g_assert_cmpint (event.type, ==, YAML_STREAM_START_EVENT);
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2647:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_stream_v2.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2643:17: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2644:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2647:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2647:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-modulestream.c:2647:3: danger: ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_stream_v2.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/71/codeFlows/0/threadFlows/0/locations/0)
# 2645|
# 2646| /* First parse it */
# 2647|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 2648| g_assert_true (yaml_parser_parse (&parser, &event));
# 2649| g_assert_cmpint (event.type, ==, YAML_STREAM_START_EVENT);
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:350:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_obsoletes_v1.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:347:17: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:348:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:350:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:350:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:350:3: danger: ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_obsoletes_v1.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’ leaks here; was opened at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
# 348| g_assert_nonnull (yaml_stream);
# 349|
# 350|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 351|
# 352| /* The first event must be the stream start */
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:350:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_obsoletes_v1.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:347:17: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:348:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:350:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:350:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-obsoletes.c:350:3: danger: ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_obsoletes_v1.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
# 348| g_assert_nonnull (yaml_stream);
# 349|
# 350|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 351|
# 352| /* The first event must be the stream start */
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:172:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_packager_v3.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:168:17: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:169:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:172:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:172:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:172:3: danger: ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_packager_v3.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’ leaks here; was opened at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
# 170|
# 171| /* First parse to the subdocument */
# 172|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 173|
# 174| packager = parse_yaml (&parser);
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:172:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_packager_v3.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:168:17: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:169:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:172:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:172:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-packager-v3.c:172:3: danger: ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_packager_v3.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/0)
# 170|
# 171| /* First parse to the subdocument */
# 172|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 173|
# 174| packager = parse_yaml (&parser);
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-profile.c:460:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/p.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-profile.c:457:17: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-profile.c:458:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-profile.c:460:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-profile.c:460:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-profile.c:460:3: danger: ‘fopen(g_strdup_printf("%s/p.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’ leaks here; was opened at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
# 458| g_assert_nonnull (yaml_stream);
# 459|
# 460|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 461|
# 462| parser_skip_headers (&parser);
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-profile.c:460:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/p.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-profile.c:457:17: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-profile.c:458:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-profile.c:460:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-profile.c:460:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-profile.c:460:3: danger: ‘fopen(g_strdup_printf("%s/p.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
# 458| g_assert_nonnull (yaml_stream);
# 459|
# 460|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 461|
# 462| parser_skip_headers (&parser);
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-service-level.c:360:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/sl_with_eol.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-service-level.c:357:17: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-service-level.c:358:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-service-level.c:360:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-service-level.c:360:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-service-level.c:360:3: danger: ‘fopen(g_strdup_printf("%s/sl_with_eol.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’ leaks here; was opened at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
# 358| g_assert_nonnull (yaml_stream);
# 359|
# 360|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 361|
# 362| /* Advance the parser past STREAM_START, DOCUMENT_START and MAPPING_START */
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-service-level.c:360:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/sl_with_eol.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-service-level.c:357:17: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-service-level.c:358:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-service-level.c:360:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-service-level.c:360:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-service-level.c:360:3: danger: ‘fopen(g_strdup_printf("%s/sl_with_eol.yaml", g_getenv("TEST_DATA_PATH")), "rbe")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
# 358| g_assert_nonnull (yaml_stream);
# 359|
# 360|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 361|
# 362| /* Advance the parser past STREAM_START, DOCUMENT_START and MAPPING_START */
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/modulemd/tests/test-modulemd-translation.c:272:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_translations_v1.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-translation.c:269:17: acquire_resource: opened here
modulemd-2.15.2/modulemd/tests/test-modulemd-translation.c:270:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-translation.c:272:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-translation.c:272:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-translation.c:272:3: danger: ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_translations_v1.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’ leaks here; was opened at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
# 270| g_assert_nonnull (yaml_stream);
# 271|
# 272|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 273|
# 274| /* The first event must be the stream start */
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/modulemd/tests/test-modulemd-translation.c:272:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_translations_v1.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’
modulemd-2.15.2/modulemd/tests/test-modulemd-translation.c:269:17: acquire_memory: allocated here
modulemd-2.15.2/modulemd/tests/test-modulemd-translation.c:270:3: branch_true: following ‘true’ branch...
modulemd-2.15.2/modulemd/tests/test-modulemd-translation.c:272:3: branch_true: ...to here
modulemd-2.15.2/modulemd/tests/test-modulemd-translation.c:272:3: throw: if ‘yaml_parser_set_input_file’ throws an exception...
modulemd-2.15.2/modulemd/tests/test-modulemd-translation.c:272:3: danger: ‘fopen(g_strdup_printf("%s/yaml_specs/modulemd_translations_v1.yaml", g_getenv("MESON_SOURCE_ROOT")), "rbe")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
# 270| g_assert_nonnull (yaml_stream);
# 271|
# 272|-> yaml_parser_set_input_file (&parser, yaml_stream);
# 273|
# 274| /* The first event must be the stream start */
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:183:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(signals_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:172:1: enter_function: entry to ‘output_signals’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:177:8: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:178:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:178:6: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:183:15: branch_true: following ‘true’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:184:5: branch_true: ...to here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:184:5: call_function: calling ‘output_object_signals’ from ‘output_signals’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:183:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(signals_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:172:1: enter_function: entry to ‘output_signals’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:177:8: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:178:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:178:6: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:183:15: branch_true: following ‘true’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:184:5: branch_true: ...to here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:184:5: call_function: calling ‘output_object_signals’ from ‘output_signals’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:498:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(hierarchy_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:447:1: enter_function: entry to ‘output_object_hierarchy’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:454:8: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:455:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:459:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:498:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(hierarchy_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:447:1: enter_function: entry to ‘output_object_hierarchy’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:454:8: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:455:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:459:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:500:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(hierarchy_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:447:1: enter_function: entry to ‘output_object_hierarchy’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:454:8: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:455:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:459:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:500:14: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(hierarchy_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:447:1: enter_function: entry to ‘output_object_hierarchy’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:454:8: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:455:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:459:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:502:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(hierarchy_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:447:1: enter_function: entry to ‘output_object_hierarchy’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:454:8: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:455:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:459:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:502:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(hierarchy_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:447:1: enter_function: entry to ‘output_object_hierarchy’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:454:8: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:455:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:459:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:541:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(interfaces_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:508:13: enter_function: entry to ‘output_object_interfaces’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:513:8: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:514:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:518:3: call_function: inlined call to ‘output_interfaces’ from ‘output_object_interfaces’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:541:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(interfaces_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:508:13: enter_function: entry to ‘output_object_interfaces’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:513:8: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:514:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:518:3: call_function: inlined call to ‘output_interfaces’ from ‘output_object_interfaces’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:543:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(interfaces_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:508:13: enter_function: entry to ‘output_object_interfaces’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:513:8: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:514:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:518:3: call_function: inlined call to ‘output_interfaces’ from ‘output_object_interfaces’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:543:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(interfaces_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:508:13: enter_function: entry to ‘output_object_interfaces’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:513:8: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:514:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:518:3: call_function: inlined call to ‘output_interfaces’ from ‘output_object_interfaces’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:584:19: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(prerequisites_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:559:13: enter_function: entry to ‘output_interface_prerequisites’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:563:8: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:564:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:568:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:568:3: call_function: calling ‘output_prerequisites’ from ‘output_interface_prerequisites’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:584:19: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(prerequisites_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:559:13: enter_function: entry to ‘output_interface_prerequisites’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:563:8: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:564:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:568:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:568:3: call_function: calling ‘output_prerequisites’ from ‘output_interface_prerequisites’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:586:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(prerequisites_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:559:13: enter_function: entry to ‘output_interface_prerequisites’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:563:8: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:564:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:568:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:568:3: call_function: calling ‘output_prerequisites’ from ‘output_interface_prerequisites’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:586:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(prerequisites_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:559:13: enter_function: entry to ‘output_interface_prerequisites’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:563:8: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:564:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:568:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:568:3: call_function: calling ‘output_prerequisites’ from ‘output_interface_prerequisites’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:615:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(actions_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:604:1: enter_function: entry to ‘output_actions’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:609:8: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:610:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:610:6: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:615:15: branch_true: following ‘true’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:616:5: branch_true: ...to here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:616:5: call_function: calling ‘output_object_actions’ from ‘output_actions’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:615:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(actions_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:604:1: enter_function: entry to ‘output_actions’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:609:8: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:610:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:610:6: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:615:15: branch_true: following ‘true’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:616:5: branch_true: ...to here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:616:5: call_function: calling ‘output_object_actions’ from ‘output_actions’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:680:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(args_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:669:1: enter_function: entry to ‘output_args’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:674:8: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:675:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:675:6: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:680:15: branch_true: following ‘true’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:681:5: branch_true: ...to here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:681:5: call_function: calling ‘output_object_args’ from ‘output_args’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:680:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(args_filename, "w")’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:669:1: enter_function: entry to ‘output_args’
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:674:8: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:675:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:675:6: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:680:15: branch_true: following ‘true’ branch...
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:681:5: branch_true: ...to here
modulemd-2.15.2/redhat-linux-build/modulemd-2.0-scan.c:681:5: call_function: calling ‘output_object_args’ from ‘output_args’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:68:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:68:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:68:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:68:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:81:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:81:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:81:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:81:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:93:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:93:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:93:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:93:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:99:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:99:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:99:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:99:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:102:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:102:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:102:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:102:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-404):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:120:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:599:1: enter_function: entry to ‘dump_error_quark’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:601:3: call_function: calling ‘escaped_printf’ from ‘dump_error_quark’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:138:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:138:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:138:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:138:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:686:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_true: following ‘true’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:685:25: branch_true: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:686:7: throw: if ‘g_file_error_quark’ throws an exception...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:686:7: danger: ‘fopen(input_filename, "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/199/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:686:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_true: following ‘true’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:685:25: branch_true: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:686:7: throw: if ‘g_file_error_quark’ throws an exception...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:686:7: danger: ‘fopen(input_filename, "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/200/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:686:41: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_true: following ‘true’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:685:25: branch_true: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:686:41: throw: if ‘g_file_error_from_errno’ throws an exception...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:686:41: danger: ‘fopen(input_filename, "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/203/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:686:41: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_true: following ‘true’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:685:25: branch_true: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:686:41: throw: if ‘g_file_error_from_errno’ throws an exception...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:686:41: danger: ‘fopen(input_filename, "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/204/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:699:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:699:18: throw: if ‘g_hash_table_new’ throws an exception...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:699:18: danger: ‘fopen(input_filename, "rb")’ leaks here; was opened at [(6)](sarif:/runs/0/results/205/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-775):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:699:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: acquire_resource: opened here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:699:18: throw: if ‘g_hash_table_new’ throws an exception...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:699:18: danger: ‘fopen(output_filename, "wb")’ leaks here; was opened at [(8)](sarif:/runs/0/results/206/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:699:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:699:18: throw: if ‘g_hash_table_new’ throws an exception...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:699:18: danger: ‘fopen(input_filename, "rb")’ leaks here; was allocated at [(6)](sarif:/runs/0/results/207/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401):
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:699:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:645:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:654:15: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:658:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:669:11: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:670:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:682:12: acquire_memory: allocated here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:683:6: branch_false: following ‘false’ branch...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: branch_false: ...to here
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:699:18: throw: if ‘g_hash_table_new’ throws an exception...
modulemd-2.15.2/redhat-linux-build/tmp-introspect1fgjj7x3/Modulemd-2.0.c:699:18: danger: ‘fopen(output_filename, "wb")’ leaks here; was allocated at [(8)](sarif:/runs/0/results/208/codeFlows/0/threadFlows/0/locations/7)