ostree-2025.6-3.fc44
List of Findings
Error: SHELLCHECK_WARNING (CWE-457): [#def1]
/usr/lib/dracut/modules.d/50ostree/module-setup.sh:27:14: warning[SC2154]: systemdutildir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def2]
/usr/lib/dracut/modules.d/50ostree/module-setup.sh:48:18: warning[SC2154]: systemdsystemunitdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def3]
/usr/lib/dracut/modules.d/50ostree/module-setup.sh:49:15: warning[SC2154]: initdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def4]
/usr/lib/dracut/modules.d/50ostree/module-setup.sh:49:25: warning[SC2154]: systemdsystemconfdir is referenced but not assigned.
Error: GCC_ANALYZER_WARNING (CWE-404): [#def5]
libostree-2025.6/libglnx/glnx-errors.c:102:3: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
libostree-2025.6/libglnx/glnx-errors.c:120:1: enter_function: entry to 'glnx_throw_errno_prefix'
libostree-2025.6/libglnx/glnx-errors.c:126:3: acquire_resource: 'va_start' called here
libostree-2025.6/libglnx/glnx-errors.c:127:3: call_function: calling 'glnx_real_set_prefix_error_from_errno_va' from 'glnx_throw_errno_prefix'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def6]
libostree-2025.6/libglnx/glnx-errors.c:104:24: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
libostree-2025.6/libglnx/glnx-errors.c:120:1: enter_function: entry to 'glnx_throw_errno_prefix'
libostree-2025.6/libglnx/glnx-errors.c:126:3: acquire_resource: 'va_start' called here
libostree-2025.6/libglnx/glnx-errors.c:127:3: call_function: calling 'glnx_real_set_prefix_error_from_errno_va' from 'glnx_throw_errno_prefix'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def7]
libostree-2025.6/libglnx/glnx-local-alloc.h:43:6: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘proc’
libostree-2025.6/src/ostree/ot-editor.c:59:1: enter_function: entry to ‘ot_editor_prompt’
libostree-2025.6/src/ostree/ot-editor.c:69:12: call_function: calling ‘get_editor’ from ‘ot_editor_prompt’
libostree-2025.6/src/ostree/ot-editor.c:69:12: return_function: returning to ‘ot_editor_prompt’ from ‘get_editor’
libostree-2025.6/src/ostree/ot-editor.c:70:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-editor.c:77:10: branch_false: ...to here
libostree-2025.6/src/ostree/ot-editor.c:78:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-editor.c:81:12: branch_false: ...to here
libostree-2025.6/src/ostree/ot-editor.c:62:21: call_function: inlined call to ‘glib_autoptr_cleanup_GFile’ from ‘ot_editor_prompt’
libostree-2025.6/src/ostree/ot-editor.c:61:34: call_function: inlined call to ‘glnx_local_obj_unref’ from ‘ot_editor_prompt’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def8]
libostree-2025.6/libglnx/glnx-local-alloc.h:43:6: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sepol’
libostree-2025.6/tests/test-libarchive-import.c:620:1: enter_function: entry to ‘test_libarchive_selinux’
libostree-2025.6/tests/test-libarchive-import.c:630:7: call_function: calling ‘skip_if_no_xattr’ from ‘test_libarchive_selinux’
libostree-2025.6/tests/test-libarchive-import.c:626:37: call_function: inlined call to ‘glnx_local_obj_unref’ from ‘test_libarchive_selinux’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def9]
libostree-2025.6/libglnx/glnx-local-alloc.h:43:6: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘server’
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:680:13: throw: if ‘g_option_context_new’ throws an exception...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:677:33: call_function: inlined call to ‘glnx_local_obj_unref’ from ‘run’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def10]
libostree-2025.6/libglnx/glnx-local-alloc.h:70:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libostree-2025.6/src/switchroot/ostree-remount.c:137:1: enter_function: entry to ‘main’
libostree-2025.6/src/switchroot/ostree-remount.c:142:26: acquire_resource: opened here
libostree-2025.6/src/switchroot/ostree-remount.c:143:8: branch_false: following ‘false’ branch...
libostree-2025.6/src/switchroot/ostree-remount.c:163:14: branch_false: ...to here
libostree-2025.6/src/switchroot/ostree-remount.c:163:14: throw: if ‘ot_variant_read_fd’ throws an exception...
libostree-2025.6/src/switchroot/ostree-remount.c:142:21: call_function: calling ‘glnx_close_fd’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def11]
libostree-2025.6/libglnx/glnx-local-alloc.h:74:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:667:1: enter_function: entry to ‘run’
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:685:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:688:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:693:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:696:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:696:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:703:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:703:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:710:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:710:7: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:722:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:722:6: branch_true: following ‘true’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:724:11: branch_true: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:724:10: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:730:19: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:731:10: branch_false: following ‘false’ branch (when ‘pid != -1’)...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:736:15: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:736:15: branch_true: following ‘true’ branch (when ‘pid > 0’)...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:739:11: branch_true: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:739:11: call_function: calling ‘glnx_close_fd’ from ‘run’
Error: CPPCHECK_WARNING (CWE-457): [#def12]
libostree-2025.6/libglnx/glnx-xattrs.c:384: error[uninitvar]: Uninitialized variable: bytes_read
Error: CPPCHECK_WARNING (CWE-457): [#def13]
libostree-2025.6/libglnx/glnx-xattrs.c:388: error[uninitvar]: Uninitialized variable: real_size
Error: CPPCHECK_WARNING (CWE-457): [#def14]
libostree-2025.6/libglnx/glnx-xattrs.c:409: error[uninitvar]: Uninitialized variable: bytes_read
Error: CPPCHECK_WARNING (CWE-457): [#def15]
libostree-2025.6/libglnx/glnx-xattrs.c:413: error[uninitvar]: Uninitialized variable: real_size
Error: GCC_ANALYZER_WARNING (CWE-404): [#def16]
libostree-2025.6/src/libostree/ostree-async-progress.c:203:7: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
libostree-2025.6/src/libostree/ostree-async-progress.c:196:3: acquire_resource: 'va_start' called here
libostree-2025.6/src/libostree/ostree-async-progress.c:198:84: branch_true: following 'true' branch (when 'key' is non-NULL)...
libostree-2025.6/src/libostree/ostree-async-progress.c:203:7: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-async-progress.c:203:7: branch_false: following 'false' branch (when 'format_string' is NULL)...
libostree-2025.6/src/libostree/ostree-async-progress.c:203:7: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-async-progress.c:203:7: throw: if 'g_assertion_message_expr' throws an exception...
libostree-2025.6/src/libostree/ostree-async-progress.c:203:7: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def17]
libostree-2025.6/src/libostree/ostree-async-progress.c:205:17: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
libostree-2025.6/src/libostree/ostree-async-progress.c:196:3: acquire_resource: 'va_start' called here
libostree-2025.6/src/libostree/ostree-async-progress.c:198:84: branch_true: following 'true' branch (when 'key' is non-NULL)...
libostree-2025.6/src/libostree/ostree-async-progress.c:203:7: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-async-progress.c:203:7: branch_true: following 'true' branch (when 'format_string' is non-NULL)...
libostree-2025.6/src/libostree/ostree-async-progress.c:205:52: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-async-progress.c:205:17: throw: if 'g_hash_table_lookup' throws an exception...
libostree-2025.6/src/libostree/ostree-async-progress.c:205:17: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def18]
libostree-2025.6/src/libostree/ostree-async-progress.c:205:52: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
libostree-2025.6/src/libostree/ostree-async-progress.c:196:3: acquire_resource: 'va_start' called here
libostree-2025.6/src/libostree/ostree-async-progress.c:198:84: branch_true: following 'true' branch (when 'key' is non-NULL)...
libostree-2025.6/src/libostree/ostree-async-progress.c:203:7: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-async-progress.c:203:7: branch_true: following 'true' branch (when 'format_string' is non-NULL)...
libostree-2025.6/src/libostree/ostree-async-progress.c:205:52: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-async-progress.c:205:52: throw: if 'g_quark_from_string' throws an exception...
libostree-2025.6/src/libostree/ostree-async-progress.c:205:52: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def19]
libostree-2025.6/src/libostree/ostree-async-progress.c:206:7: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
libostree-2025.6/src/libostree/ostree-async-progress.c:196:3: acquire_resource: 'va_start' called here
libostree-2025.6/src/libostree/ostree-async-progress.c:198:84: branch_true: following 'true' branch (when 'key' is non-NULL)...
libostree-2025.6/src/libostree/ostree-async-progress.c:203:7: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-async-progress.c:203:7: branch_true: following 'true' branch (when 'format_string' is non-NULL)...
libostree-2025.6/src/libostree/ostree-async-progress.c:205:52: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-async-progress.c:206:7: branch_false: following 'false' branch...
libostree-2025.6/src/libostree/ostree-async-progress.c:206:7: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-async-progress.c:206:7: throw: if 'g_assertion_message_expr' throws an exception...
libostree-2025.6/src/libostree/ostree-async-progress.c:206:7: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def20]
libostree-2025.6/src/libostree/ostree-async-progress.c:207:7: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
libostree-2025.6/src/libostree/ostree-async-progress.c:196:3: acquire_resource: 'va_start' called here
libostree-2025.6/src/libostree/ostree-async-progress.c:198:84: branch_true: following 'true' branch (when 'key' is non-NULL)...
libostree-2025.6/src/libostree/ostree-async-progress.c:203:7: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-async-progress.c:203:7: branch_true: following 'true' branch (when 'format_string' is non-NULL)...
libostree-2025.6/src/libostree/ostree-async-progress.c:205:52: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-async-progress.c:206:7: branch_true: following 'true' branch...
libostree-2025.6/src/libostree/ostree-async-progress.c:207:7: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-async-progress.c:207:7: throw: if 'g_variant_check_format_string' throws an exception...
libostree-2025.6/src/libostree/ostree-async-progress.c:207:7: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def21]
libostree-2025.6/src/libostree/ostree-async-progress.c:209:7: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
libostree-2025.6/src/libostree/ostree-async-progress.c:196:3: acquire_resource: 'va_start' called here
libostree-2025.6/src/libostree/ostree-async-progress.c:198:84: branch_true: following 'true' branch (when 'key' is non-NULL)...
libostree-2025.6/src/libostree/ostree-async-progress.c:203:7: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-async-progress.c:203:7: branch_true: following 'true' branch (when 'format_string' is non-NULL)...
libostree-2025.6/src/libostree/ostree-async-progress.c:205:52: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-async-progress.c:206:7: branch_true: following 'true' branch...
libostree-2025.6/src/libostree/ostree-async-progress.c:207:7: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-async-progress.c:207:7: branch_true: following 'true' branch...
libostree-2025.6/src/libostree/ostree-async-progress.c:209:7: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-async-progress.c:209:7: throw: if 'g_variant_get_va' throws an exception...
libostree-2025.6/src/libostree/ostree-async-progress.c:209:7: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def22]
libostree-2025.6/src/libostree/ostree-autocleanups.h:45:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘modifier’
libostree-2025.6/tests/test-libarchive-import.c:419:6: branch_false: following ‘false’ branch...
libostree-2025.6/tests/test-libarchive-import.c:422:7: branch_false: ...to here
libostree-2025.6/tests/test-libarchive-import.c:422:6: branch_false: following ‘false’ branch...
libostree-2025.6/tests/test-libarchive-import.c:428:14: branch_false: ...to here
libostree-2025.6/tests/test-libarchive-import.c:429:3: throw: if ‘ostree_repo_commit_modifier_set_xattr_callback’ throws an exception...
libostree-2025.6/tests/test-libarchive-import.c:416:40: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeRepoCommitModifier’ from ‘test_libarchive_xattr_callback’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def23]
libostree-2025.6/src/libostree/ostree-autocleanups.h:48:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘progress’
libostree-2025.6/src/ostree/ot-builtin-create-usb.c:45:1: enter_function: entry to ‘ostree_builtin_create_usb’
libostree-2025.6/src/ostree/ot-builtin-create-usb.c:54:13: throw: if ‘g_option_context_new’ throws an exception...
libostree-2025.6/src/ostree/ot-builtin-create-usb.c:50:27: call_function: inlined call to ‘glib_auto_cleanup_GLnxConsoleRef’ from ‘ostree_builtin_create_usb’
libostree-2025.6/src/ostree/ot-builtin-create-usb.c:49:35: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeAsyncProgress’ from ‘ostree_builtin_create_usb’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def24]
libostree-2025.6/src/libostree/ostree-autocleanups.h:51:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'ret_pending'
libostree-2025.6/src/libostree/ostree-sysroot.c:1803:1: enter_function: entry to 'ostree_sysroot_get_merge_deployment'
libostree-2025.6/src/libostree/ostree-sysroot.c:1805:3: branch_true: following 'true' branch...
libostree-2025.6/src/libostree/ostree-sysroot.c:1807:6: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-sysroot.c:1814:7: branch_false: following 'false' branch...
libostree-2025.6/src/libostree/ostree-sysroot.c:1819:36: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-sysroot.c:1820:7: call_function: calling 'ostree_sysroot_query_deployments_for' from 'ostree_sysroot_get_merge_deployment'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def25]
libostree-2025.6/src/libostree/ostree-autocleanups.h:51:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'ret_rollback'
libostree-2025.6/src/libostree/ostree-sysroot.c:1765:21: branch_true: following 'true' branch...
libostree-2025.6/src/libostree/ostree-sysroot.c:1767:38: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-sysroot.c:1770:11: throw: if 'ostree_deployment_get_osname' throws an exception...
libostree-2025.6/src/libostree/ostree-sysroot.c:1759:32: call_function: inlined call to 'glib_autoptr_cleanup_OstreeDeployment' from 'ostree_sysroot_query_deployments_for'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def26]
libostree-2025.6/src/libostree/ostree-autocleanups.h:51:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘deployment’
libostree-2025.6/src/ostree/ot-admin-builtin-diff.c:44:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-diff.c:50:8: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-diff.c:50:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-diff.c:54:7: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-diff.c:54:6: branch_true: following ‘true’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-diff.c:56:20: branch_true: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-diff.c:57:10: branch_true: following ‘true’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-diff.c:59:11: branch_true: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-diff.c:59:11: throw: if ‘g_io_error_quark’ throws an exception...
libostree-2025.6/src/ostree/ot-admin-builtin-diff.c:53:32: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeDeployment’ from ‘ot_admin_builtin_diff’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def27]
libostree-2025.6/src/libostree/ostree-autocleanups.h:51:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘target_deployment’
libostree-2025.6/src/ostree/ot-admin-builtin-set-origin.c:47:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-set-origin.c:52:7: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-set-origin.c:52:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-set-origin.c:58:15: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-set-origin.c:65:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-set-origin.c:69:7: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-set-origin.c:69:6: branch_true: following ‘true’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-set-origin.c:71:27: branch_true: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-set-origin.c:72:10: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-set-origin.c:75:27: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-set-origin.c:75:27: throw: if ‘g_object_ref’ throws an exception...
libostree-2025.6/src/ostree/ot-admin-builtin-set-origin.c:68:32: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeDeployment’ from ‘ot_admin_builtin_set_origin’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def28]
libostree-2025.6/src/libostree/ostree-autocleanups.h:52:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘result’
libostree-2025.6/src/ostree/ot-builtin-show.c:333:1: enter_function: entry to ‘print_if_found’
libostree-2025.6/src/ostree/ot-builtin-show.c:338:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-builtin-show.c:341:8: branch_false: ...to here
libostree-2025.6/src/ostree/ot-builtin-show.c:341:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-builtin-show.c:343:7: branch_false: ...to here
libostree-2025.6/src/ostree/ot-builtin-show.c:343:6: branch_true: following ‘true’ branch...
libostree-2025.6/src/ostree/ot-builtin-show.c:345:12: branch_true: ...to here
libostree-2025.6/src/ostree/ot-builtin-show.c:345:12: call_function: calling ‘print_object’ from ‘print_if_found’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def29]
libostree-2025.6/src/libostree/ostree-autocleanups.h:53:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘<unknown>’
libostree-2025.6/src/ostree/ot-admin-kargs-builtin-edit-in-place.c:39:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-kargs-builtin-edit-in-place.c:44:39: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-kargs-builtin-edit-in-place.c:45:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-kargs-builtin-edit-in-place.c:45:6: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-kargs-builtin-edit-in-place.c:52:21: branch_true: following ‘true’ branch...
libostree-2025.6/src/ostree/ot-admin-kargs-builtin-edit-in-place.c:54:38: branch_true: ...to here
libostree-2025.6/src/ostree/ot-admin-kargs-builtin-edit-in-place.c:68:38: throw: if ‘ostree_kernel_args_to_string’ throws an exception...
libostree-2025.6/src/ostree/ot-admin-kargs-builtin-edit-in-place.c:56:36: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeKernelArgs’ from ‘ot_admin_kargs_builtin_edit_in_place’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def30]
libostree-2025.6/src/libostree/ostree-autocleanups.h:53:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘kargs’
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:95:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:100:7: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:100:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:106:7: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:106:7: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:113:7: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:136:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:140:7: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:153:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:157:22: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:157:9: branch_true: following ‘true’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:157:31: branch_true: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:166:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:173:7: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:173:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:177:12: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:177:11: branch_true: following ‘true’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:179:15: branch_true: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:180:12: throw: if ‘ostree_kernel_args_append_proc_cmdline’ throws an exception...
libostree-2025.6/src/ostree/ot-admin-builtin-deploy.c:172:32: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeKernelArgs’ from ‘ot_admin_builtin_deploy’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def31]
libostree-2025.6/src/libostree/ostree-autocleanups.h:54:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘mtree’
libostree-2025.6/tests/test-repo-finder-config.c:153:1: enter_function: entry to ‘assert_create_remote’
libostree-2025.6/tests/test-repo-finder-config.c:175:62: branch_true: following ‘true’ branch (when ‘ref_name’ is non-NULL)...
libostree-2025.6/tests/test-repo-finder-config.c:178:27: branch_true: ...to here
libostree-2025.6/tests/test-repo-finder-config.c:183:15: throw: if ‘ostree_mutable_tree_new’ throws an exception...
libostree-2025.6/tests/test-repo-finder-config.c:181:34: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeRepoFile’ from ‘assert_create_remote’
libostree-2025.6/tests/test-repo-finder-config.c:180:37: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeMutableTree’ from ‘assert_create_remote’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def32]
libostree-2025.6/src/libostree/ostree-autocleanups.h:55:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'repo'
libostree-2025.6/src/libostree/ostree-repo-finder-mount.c:266:1: enter_function: entry to 'scan_and_add_repo'
libostree-2025.6/src/libostree/ostree-repo-finder-mount.c:273:7: call_function: calling 'scan_repo' from 'scan_and_add_repo'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def33]
libostree-2025.6/src/libostree/ostree-autocleanups.h:55:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘repo2_repo_a’
libostree-2025.6/tests/test-repo-finder-mount.c:287:1: enter_function: entry to ‘test_repo_finder_mount_mixed_mounts’
libostree-2025.6/tests/test-repo-finder-mount.c:323:13: throw: if ‘g_main_context_new’ throws an exception...
libostree-2025.6/tests/test-repo-finder-mount.c:312:50: call_function: inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘test_repo_finder_mount_mixed_mounts’
libostree-2025.6/tests/test-repo-finder-mount.c:312:21: call_function: inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘test_repo_finder_mount_mixed_mounts’
libostree-2025.6/tests/test-repo-finder-mount.c:311:21: call_function: inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘test_repo_finder_mount_mixed_mounts’
libostree-2025.6/tests/test-repo-finder-mount.c:310:50: call_function: inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘test_repo_finder_mount_mixed_mounts’
libostree-2025.6/tests/test-repo-finder-mount.c:310:21: call_function: inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘test_repo_finder_mount_mixed_mounts’
libostree-2025.6/tests/test-repo-finder-mount.c:309:21: call_function: inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘test_repo_finder_mount_mixed_mounts’
libostree-2025.6/tests/test-repo-finder-mount.c:308:50: call_function: inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘test_repo_finder_mount_mixed_mounts’
libostree-2025.6/tests/test-repo-finder-mount.c:308:21: call_function: inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘test_repo_finder_mount_mixed_mounts’
libostree-2025.6/tests/test-repo-finder-mount.c:307:21: call_function: inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘test_repo_finder_mount_mixed_mounts’
libostree-2025.6/tests/test-repo-finder-mount.c:306:47: call_function: inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘test_repo_finder_mount_mixed_mounts’
libostree-2025.6/tests/test-repo-finder-mount.c:306:21: call_function: inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘test_repo_finder_mount_mixed_mounts’
libostree-2025.6/tests/test-repo-finder-mount.c:305:26: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeRepo’ from ‘test_repo_finder_mount_mixed_mounts’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def34]
libostree-2025.6/src/libostree/ostree-autocleanups.h:55:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘repo_a’
libostree-2025.6/tests/test-repo-finder-mount.c:442:1: enter_function: entry to ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:468:3: call_function: calling ‘assert_create_repos_dir’ from ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:468:3: return_function: returning to ‘test_repo_finder_mount_well_known’ from ‘assert_create_repos_dir’
libostree-2025.6/tests/test-repo-finder-mount.c:469:12: call_function: calling ‘assert_create_repo_dir’ from ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:469:12: return_function: returning to ‘test_repo_finder_mount_well_known’ from ‘assert_create_repo_dir’
libostree-2025.6/tests/test-repo-finder-mount.c:471:12: call_function: calling ‘assert_create_repo_dir’ from ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:471:12: return_function: returning to ‘test_repo_finder_mount_well_known’ from ‘assert_create_repo_dir’
libostree-2025.6/tests/test-repo-finder-mount.c:480:3: call_function: calling ‘assert_create_remote_config’ from ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:480:3: return_function: returning to ‘test_repo_finder_mount_well_known’ from ‘assert_create_remote_config’
libostree-2025.6/tests/test-repo-finder-mount.c:482:3: call_function: calling ‘assert_create_remote_config’ from ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:482:3: return_function: returning to ‘test_repo_finder_mount_well_known’ from ‘assert_create_remote_config’
libostree-2025.6/tests/test-repo-finder-mount.c:453:41: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeRepo’ from ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:453:26: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeRepo’ from ‘test_repo_finder_mount_well_known’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def35]
libostree-2025.6/src/libostree/ostree-autocleanups.h:55:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘repo_b’
libostree-2025.6/tests/test-repo-finder-mount.c:442:1: enter_function: entry to ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:461:13: throw: if ‘g_main_context_new’ throws an exception...
libostree-2025.6/tests/test-repo-finder-mount.c:455:45: call_function: inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:455:21: call_function: inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:454:41: call_function: inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:454:21: call_function: inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:453:41: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeRepo’ from ‘test_repo_finder_mount_well_known’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def36]
libostree-2025.6/src/libostree/ostree-autocleanups.h:55:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘repo’
libostree-2025.6/tests/test-repo-finder-mount.c:228:1: enter_function: entry to ‘assert_create_repo_dir’
libostree-2025.6/tests/test-repo-finder-mount.c:236:3: throw: if ‘glnx_shutil_mkdir_p_at_open’ throws an exception...
libostree-2025.6/tests/test-repo-finder-mount.c:233:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘assert_create_repo_dir’
libostree-2025.6/tests/test-repo-finder-mount.c:232:26: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeRepo’ from ‘assert_create_repo_dir’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def37]
libostree-2025.6/src/libostree/ostree-autocleanups.h:57:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘policy’
libostree-2025.6/src/ostree/ot-builtin-checkout.c:346:1: enter_function: entry to ‘ostree_builtin_checkout’
libostree-2025.6/src/ostree/ot-builtin-checkout.c:351:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-builtin-checkout.c:355:7: branch_false: ...to here
libostree-2025.6/src/ostree/ot-builtin-checkout.c:358:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-builtin-checkout.c:365:7: branch_false: ...to here
libostree-2025.6/src/ostree/ot-builtin-checkout.c:365:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-builtin-checkout.c:382:10: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-builtin-checkout.c:385:12: branch_false: ...to here
libostree-2025.6/src/ostree/ot-builtin-checkout.c:385:12: call_function: calling ‘process_one_checkout’ from ‘ostree_builtin_checkout’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def38]
libostree-2025.6/src/libostree/ostree-autocleanups.h:57:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sepolicy’
libostree-2025.6/src/ostree/ot-admin-instutil-builtin-selinux-ensure-labeled.c:154:1: enter_function: entry to ‘ot_admin_instutil_builtin_selinux_ensure_labeled’
libostree-2025.6/src/ostree/ot-admin-instutil-builtin-selinux-ensure-labeled.c:171:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-instutil-builtin-selinux-ensure-labeled.c:177:17: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-instutil-builtin-selinux-ensure-labeled.c:163:25: call_function: inlined call to ‘glib_autoptr_cleanup_GPtrArray’ from ‘ot_admin_instutil_builtin_selinux_ensure_labeled’
libostree-2025.6/src/ostree/ot-admin-instutil-builtin-selinux-ensure-labeled.c:162:30: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeSePolicy’ from ‘ot_admin_instutil_builtin_selinux_ensure_labeled’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def39]
libostree-2025.6/src/libostree/ostree-autocleanups.h:58:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sysroot’
libostree-2025.6/src/ostree/ot-main.c:419:1: enter_function: entry to ‘ostree_parse_sysroot_or_repo_option’
libostree-2025.6/src/ostree/ot-main.c:426:6: branch_true: following ‘true’ branch (when ‘sysroot_path’ is non-NULL)...
libostree-2025.6/src/ostree/ot-main.c:428:40: branch_true: ...to here
libostree-2025.6/src/ostree/ot-main.c:428:40: throw: if ‘g_file_new_for_path’ throws an exception...
libostree-2025.6/src/ostree/ot-main.c:425:26: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeRepo’ from ‘ostree_parse_sysroot_or_repo_option’
libostree-2025.6/src/ostree/ot-main.c:424:29: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeSysroot’ from ‘ostree_parse_sysroot_or_repo_option’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def40]
libostree-2025.6/src/libostree/ostree-autocleanups.h:66:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'remote'
libostree-2025.6/src/libostree/ostree-repo-finder-config.c:173:10: branch_true: following 'true' branch...
libostree-2025.6/src/libostree/ostree-repo-finder-config.c:176:26: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-repo-finder-config.c:184:16: throw: if '_ostree_repo_get_remote_inherited' throws an exception...
libostree-2025.6/src/libostree/ostree-repo-finder-config.c:177:32: call_function: inlined call to 'glib_autoptr_cleanup_OstreeRemote' from 'ostree_repo_finder_config_resolve_async'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def41]
libostree-2025.6/src/libostree/ostree-autocleanups.h:68:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘results’
libostree-2025.6/tests/test-repo-finder-config.c:293:1: enter_function: entry to ‘test_repo_finder_config_find_remotes’
libostree-2025.6/tests/test-repo-finder-config.c:310:13: throw: if ‘g_main_context_new’ throws an exception...
libostree-2025.6/tests/test-repo-finder-config.c:298:22: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘test_repo_finder_config_find_remotes’
libostree-2025.6/tests/test-repo-finder-config.c:297:36: call_function: inlined call to ‘glib_auto_cleanup_OstreeRepoFinderResultv’ from ‘test_repo_finder_config_find_remotes’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def42]
libostree-2025.6/src/libostree/ostree-bloom-private.h:76:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘bloom’
libostree-2025.6/tests/test-bloom.c:37:11: throw: if ‘ostree_bloom_new’ throws an exception...
libostree-2025.6/tests/test-bloom.c:34:27: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeBloom’ from ‘test_bloom_init’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def43]
libostree-2025.6/src/libostree/ostree-bloom-private.h:76:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘immutable_bloom’
libostree-2025.6/tests/test-bloom.c:67:11: throw: if ‘ostree_bloom_new’ throws an exception...
libostree-2025.6/tests/test-bloom.c:57:27: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeBloom’ from ‘test_bloom_construction’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def44]
libostree-2025.6/src/libostree/ostree-diff.c:129:7: warning[-Wanalyzer-null-argument]: use of NULL 'checksum_a' where non-null expected
libostree-2025.6/src/libostree/ostree-diff.c:211:1: enter_function: entry to 'ostree_diff_dirs_with_options'
libostree-2025.6/src/libostree/ostree-diff.c:243:6: branch_false: following 'false' branch (when 'a' is non-NULL)...
libostree-2025.6/src/libostree/ostree-diff.c:252:18: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-diff.c:254:6: branch_false: following 'false' branch...
libostree-2025.6/src/libostree/ostree-diff.c:257:18: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-diff.c:259:6: branch_false: following 'false' branch...
libostree-2025.6/src/libostree/ostree-diff.c:263:7: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-diff.c:284:6: branch_false: following 'false' branch...
libostree-2025.6/src/libostree/ostree-diff.c:284:6: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-diff.c:287:10: branch_true: following 'true' branch...
libostree-2025.6/src/libostree/ostree-diff.c:293:14: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-diff.c:295:7: branch_false: following 'false' branch (when 'child_a' is NULL)...
libostree-2025.6/src/libostree/ostree-diff.c:296:17: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-diff.c:299:7: branch_false: following 'false' branch (when 'child_b' is NULL)...
libostree-2025.6/src/libostree/ostree-diff.c:300:17: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-diff.c:302:7: branch_false: following 'false' branch (when 'child_b_info' is NULL)...
libostree-2025.6/src/libostree/ostree-diff.c:304:13: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-diff.c:327:14: branch_false: following 'false' branch...
libostree-2025.6/src/libostree/ostree-diff.c:336:31: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-diff.c:338:20: call_function: calling 'diff_files' from 'ostree_diff_dirs_with_options'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def45]
libostree-2025.6/src/libostree/ostree-diff.c:129:7: warning[-Wanalyzer-null-argument]: use of NULL 'checksum_b' where non-null expected
libostree-2025.6/src/libostree/ostree-diff.c:211:1: enter_function: entry to 'ostree_diff_dirs_with_options'
libostree-2025.6/src/libostree/ostree-diff.c:243:6: branch_false: following 'false' branch (when 'a' is non-NULL)...
libostree-2025.6/src/libostree/ostree-diff.c:252:18: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-diff.c:254:6: branch_false: following 'false' branch...
libostree-2025.6/src/libostree/ostree-diff.c:257:18: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-diff.c:259:6: branch_false: following 'false' branch...
libostree-2025.6/src/libostree/ostree-diff.c:263:7: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-diff.c:284:6: branch_false: following 'false' branch...
libostree-2025.6/src/libostree/ostree-diff.c:284:6: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-diff.c:287:10: branch_true: following 'true' branch...
libostree-2025.6/src/libostree/ostree-diff.c:293:14: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-diff.c:295:7: branch_false: following 'false' branch (when 'child_a' is NULL)...
libostree-2025.6/src/libostree/ostree-diff.c:296:17: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-diff.c:299:7: branch_false: following 'false' branch (when 'child_b' is NULL)...
libostree-2025.6/src/libostree/ostree-diff.c:300:17: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-diff.c:302:7: branch_false: following 'false' branch (when 'child_b_info' is NULL)...
libostree-2025.6/src/libostree/ostree-diff.c:304:13: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-diff.c:327:14: branch_false: following 'false' branch...
libostree-2025.6/src/libostree/ostree-diff.c:336:31: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-diff.c:338:20: call_function: calling 'diff_files' from 'ostree_diff_dirs_with_options'
Error: COMPILER_WARNING (CWE-9001): [#def46]
libostree-2025.6/src/libostree/ostree-fetcher-curl.c: scope_hint: In function '_ostree_fetcher_init'
libostree-2025.6/src/libostree/ostree-fetcher-curl.c:255:8: warning[-Wattribute-warning]: call to 'Wcurl_multi_setopt_err_long' declared with attribute warning: curl_multi_setopt expects a long argument
Error: COMPILER_WARNING (CWE-477): [#def47]
libostree-2025.6/src/libostree/ostree-fetcher-curl.c: scope_hint: In function 'initiate_next_curl_request'
libostree-2025.6/src/libostree/ostree-fetcher-curl.c:935:3: warning[-Wdeprecated-declarations]: 'CURLOPT_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_PROTOCOLS_STR
libostree-2025.6/src/libostree/ostree-fetcher-curl.c:23: included_from: Included from here.
/usr/include/curl/curl.h:1783:3: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def48]
libostree-2025.6/src/libostree/ostree-fetcher-curl.c:935:3: warning[-Wdeprecated-declarations]: 'CURLOPT_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_PROTOCOLS_STR
Error: COMPILER_WARNING (CWE-477): [#def49]
libostree-2025.6/src/libostree/ostree-fetcher-curl.c:979:3: warning[-Wdeprecated-declarations]: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION
/usr/include/curl/curl.h:1330:3: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def50]
libostree-2025.6/src/libostree/ostree-fetcher-curl.c:979:3: warning[-Wdeprecated-declarations]: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION
Error: COMPILER_WARNING (CWE-9001): [#def51]
libostree-2025.6/src/libostree/ostree-fetcher-curl.c: scope_hint: In function 'initiate_next_curl_request'
libostree-2025.6/src/libostree/ostree-fetcher-curl.c:985:8: warning[-Wattribute-warning]: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument
Error: COMPILER_WARNING (CWE-9001): [#def52]
libostree-2025.6/src/libostree/ostree-fetcher-curl.c:987:8: warning[-Wattribute-warning]: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument
Error: GCC_ANALYZER_WARNING (CWE-457): [#def53]
libostree-2025.6/src/libostree/ostree-libarchive-private.h:40:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘a’
libostree-2025.6/tests/test-libarchive-import.c:42:1: enter_function: entry to ‘test_data_init’
libostree-2025.6/tests/test-libarchive-import.c:50:25: call_function: inlined call to ‘g_strdup_inline’ from ‘test_data_init’
libostree-2025.6/tests/test-libarchive-import.c:45:34: call_function: inlined call to ‘glib_autoptr_cleanup_OtAutoArchiveWrite’ from ‘test_data_init’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def54]
libostree-2025.6/src/libostree/ostree-libarchive-private.h:42:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '<unknown>'
libostree-2025.6/src/libostree/ostree-bootloader-zipl.c:330:1: enter_function: entry to '_ostree_secure_execution_generate_sdboot'
libostree-2025.6/src/libostree/ostree-bootloader-zipl.c:334:3: branch_true: following 'true' branch...
libostree-2025.6/src/libostree/ostree-bootloader-zipl.c:345:6: branch_false: following 'false' branch...
libostree-2025.6/src/libostree/ostree-bootloader-zipl.c:347:7: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-bootloader-zipl.c:347:6: branch_false: following 'false' branch...
libostree-2025.6/src/libostree/ostree-bootloader-zipl.c:349:40: branch_false: ...to here
libostree-2025.6/src/libostree/ostree-bootloader-zipl.c:355:8: call_function: calling '_ostree_secure_execution_generate_initrd' from '_ostree_secure_execution_generate_sdboot'
Error: CPPCHECK_WARNING (CWE-457): [#def55]
libostree-2025.6/src/libostree/ostree-repo-checkout.c:828: error[uninitvar]: Uninitialized variable: stbuf
Error: CPPCHECK_WARNING (CWE-457): [#def56]
libostree-2025.6/src/libostree/ostree-repo-commit.c:1654: error[uninitvar]: Uninitialized variable: stvfsbuf
Error: GCC_ANALYZER_WARNING (CWE-688): [#def57]
libostree-2025.6/src/libostree/ostree-repo-file.c:135:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
libostree-2025.6/src/libostree/ostree-repo-file.c:554:1: enter_function: entry to 'ostree_repo_file_dup'
libostree-2025.6/src/libostree/ostree-repo-file.c:558:6: branch_true: following 'true' branch...
libostree-2025.6/src/libostree/ostree-repo-file.c:559:12: branch_true: ...to here
libostree-2025.6/src/libostree/ostree-repo-file.c:559:12: call_function: calling 'ostree_repo_file_new_child' from 'ostree_repo_file_dup'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def58]
libostree-2025.6/src/libostree/ostree-repo-finder-config.h:37:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘finder’
libostree-2025.6/tests/test-repo-finder-config.c:212:1: enter_function: entry to ‘test_repo_finder_config_mixed_configs’
libostree-2025.6/tests/test-repo-finder-config.c:231:39: call_function: calling ‘assert_create_remote’ from ‘test_repo_finder_config_mixed_configs’
libostree-2025.6/tests/test-repo-finder-config.c:231:39: return_function: returning to ‘test_repo_finder_config_mixed_configs’ from ‘assert_create_remote’
libostree-2025.6/tests/test-repo-finder-config.c:234:9: call_function: calling ‘assert_create_remote’ from ‘test_repo_finder_config_mixed_configs’
libostree-2025.6/tests/test-repo-finder-config.c:234:9: return_function: returning to ‘test_repo_finder_config_mixed_configs’ from ‘assert_create_remote’
libostree-2025.6/tests/test-repo-finder-config.c:236:9: call_function: calling ‘assert_create_remote’ from ‘test_repo_finder_config_mixed_configs’
libostree-2025.6/tests/test-repo-finder-config.c:236:9: return_function: returning to ‘test_repo_finder_config_mixed_configs’ from ‘assert_create_remote’
libostree-2025.6/tests/test-repo-finder-config.c:238:3: call_function: calling ‘assert_create_remote_config’ from ‘test_repo_finder_config_mixed_configs’
libostree-2025.6/tests/test-repo-finder-config.c:238:3: return_function: returning to ‘test_repo_finder_config_mixed_configs’ from ‘assert_create_remote_config’
libostree-2025.6/tests/test-repo-finder-config.c:240:3: call_function: calling ‘assert_create_remote_config’ from ‘test_repo_finder_config_mixed_configs’
libostree-2025.6/tests/test-repo-finder-config.c:240:3: return_function: returning to ‘test_repo_finder_config_mixed_configs’ from ‘assert_create_remote_config’
libostree-2025.6/tests/test-repo-finder-config.c:242:3: call_function: calling ‘assert_create_remote_config’ from ‘test_repo_finder_config_mixed_configs’
libostree-2025.6/tests/test-repo-finder-config.c:242:3: return_function: returning to ‘test_repo_finder_config_mixed_configs’ from ‘assert_create_remote_config’
libostree-2025.6/tests/test-repo-finder-config.c:244:3: call_function: calling ‘assert_create_remote_config’ from ‘test_repo_finder_config_mixed_configs’
libostree-2025.6/tests/test-repo-finder-config.c:244:3: return_function: returning to ‘test_repo_finder_config_mixed_configs’ from ‘assert_create_remote_config’
libostree-2025.6/tests/test-repo-finder-config.c:246:3: call_function: calling ‘assert_create_remote_config’ from ‘test_repo_finder_config_mixed_configs’
libostree-2025.6/tests/test-repo-finder-config.c:246:3: return_function: returning to ‘test_repo_finder_config_mixed_configs’ from ‘assert_create_remote_config’
libostree-2025.6/tests/test-repo-finder-config.c:215:28: call_function: inlined call to ‘glib_autoptr_cleanup_GMainContext’ from ‘test_repo_finder_config_mixed_configs’
libostree-2025.6/tests/test-repo-finder-config.c:214:38: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeRepoFinderConfig’ from ‘test_repo_finder_config_mixed_configs’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def59]
libostree-2025.6/src/libostree/ostree-repo-finder-mount.h:37:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘finder’
libostree-2025.6/tests/test-repo-finder-mount.c:442:1: enter_function: entry to ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:468:3: call_function: calling ‘assert_create_repos_dir’ from ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:468:3: return_function: returning to ‘test_repo_finder_mount_well_known’ from ‘assert_create_repos_dir’
libostree-2025.6/tests/test-repo-finder-mount.c:469:12: call_function: calling ‘assert_create_repo_dir’ from ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:469:12: return_function: returning to ‘test_repo_finder_mount_well_known’ from ‘assert_create_repo_dir’
libostree-2025.6/tests/test-repo-finder-mount.c:471:12: call_function: calling ‘assert_create_repo_dir’ from ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:471:12: return_function: returning to ‘test_repo_finder_mount_well_known’ from ‘assert_create_repo_dir’
libostree-2025.6/tests/test-repo-finder-mount.c:480:3: call_function: calling ‘assert_create_remote_config’ from ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:480:3: return_function: returning to ‘test_repo_finder_mount_well_known’ from ‘assert_create_remote_config’
libostree-2025.6/tests/test-repo-finder-mount.c:482:3: call_function: calling ‘assert_create_remote_config’ from ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:482:3: return_function: returning to ‘test_repo_finder_mount_well_known’ from ‘assert_create_remote_config’
libostree-2025.6/tests/test-repo-finder-mount.c:452:19: call_function: calling ‘glnx_close_fd’ from ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:452:19: return_function: returning to ‘test_repo_finder_mount_well_known’ from ‘glnx_close_fd’
libostree-2025.6/tests/test-repo-finder-mount.c:445:30: call_function: inlined call to ‘glib_autoptr_cleanup_GVolumeMonitor’ from ‘test_repo_finder_mount_well_known’
libostree-2025.6/tests/test-repo-finder-mount.c:444:37: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeRepoFinderMount’ from ‘test_repo_finder_mount_well_known’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def60]
libostree-2025.6/src/libostree/ostree-repo-finder.c:227:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'data'
libostree-2025.6/src/libostree/ostree-repo-finder.c:248:1: enter_function: entry to 'ostree_repo_finder_resolve_all_async'
libostree-2025.6/src/libostree/ostree-repo-finder.c:259:3: throw: if 'g_return_if_fail_warning' throws an exception...
libostree-2025.6/src/libostree/ostree-repo-finder.c:257:23: call_function: calling 'glib_autoptr_cleanup_GString' from 'ostree_repo_finder_resolve_all_async'
libostree-2025.6/src/libostree/ostree-repo-finder.c:257:23: return_function: returning to 'ostree_repo_finder_resolve_all_async' from 'glib_autoptr_cleanup_GString'
libostree-2025.6/src/libostree/ostree-repo-finder.c:256:23: call_function: calling 'glib_autoptr_cleanup_GString' from 'ostree_repo_finder_resolve_all_async'
libostree-2025.6/src/libostree/ostree-repo-finder.c:256:23: return_function: returning to 'ostree_repo_finder_resolve_all_async' from 'glib_autoptr_cleanup_GString'
libostree-2025.6/src/libostree/ostree-repo-finder.c:254:30: call_function: inlined call to 'glib_autoptr_cleanup_ResolveAllData' from 'ostree_repo_finder_resolve_all_async'
Error: COMPILER_WARNING: [#def61]
libostree-2025.6/src/libostree/ostree-repo-static-delta-core.c: scope_hint: In function '_ostree_delta_get_endianness'
libostree-2025.6/src/libostree/ostree-repo-static-delta-core.c:820:11: warning[-Wunused-but-set-variable=]: variable 'total_usize' set but not used
Error: CPPCHECK_WARNING (CWE-457): [#def62]
libostree-2025.6/src/libostree/ostree-repo.c:2983: error[uninitvar]: Uninitialized variable: stvfsbuf
Error: GCC_ANALYZER_WARNING (CWE-457): [#def63]
libostree-2025.6/src/libostree/ostree-sign.h:56:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sign’
libostree-2025.6/src/ostree/ot-builtin-commit.c:461:13: throw: if ‘g_option_context_new’ throws an exception...
libostree-2025.6/src/ostree/ot-builtin-commit.c:459:26: call_function: inlined call to ‘glib_autoptr_cleanup_OstreeSign’ from ‘ostree_builtin_commit’
Error: CPPCHECK_WARNING (CWE-457): [#def64]
libostree-2025.6/src/libostree/ostree-sysroot-deploy.c:1590: error[uninitvar]: Uninitialized variable: wstatus
Error: CPPCHECK_WARNING (CWE-457): [#def65]
libostree-2025.6/src/libostree/ostree-sysroot.c:2407: error[uninitvar]: Uninitialized variable: estatus
Error: GCC_ANALYZER_WARNING (CWE-401): [#def66]
libostree-2025.6/src/libotcore/otcore-prepare-root.c:70:52: warning[-Wanalyzer-malloc-leak]: leak of 'otcore_find_proc_cmdline_key(cmdline, "androidboot.slot_suffix")'
libostree-2025.6/src/libotcore/otcore-prepare-root.c:93:1: enter_function: entry to 'otcore_get_ostree_target'
libostree-2025.6/src/libotcore/otcore-prepare-root.c:96:3: branch_true: following 'true' branch (when 'cmdline' is non-NULL)...
libostree-2025.6/src/libotcore/otcore-prepare-root.c:97:3: branch_true: ...to here
libostree-2025.6/src/libotcore/otcore-prepare-root.c:97:3: branch_true: following 'true' branch...
libostree-2025.6/src/libotcore/otcore-prepare-root.c:102:34: call_function: calling 'otcore_find_proc_cmdline_key' from 'otcore_get_ostree_target'
libostree-2025.6/src/libotcore/otcore-prepare-root.c:102:34: return_function: returning to 'otcore_get_ostree_target' from 'otcore_find_proc_cmdline_key'
libostree-2025.6/src/libotcore/otcore-prepare-root.c:106:6: branch_true: following 'true' branch...
libostree-2025.6/src/libotcore/otcore-prepare-root.c:108:10: branch_true: ...to here
libostree-2025.6/src/libotcore/otcore-prepare-root.c:111:10: branch_true: following 'true' branch (when the strings are equal)...
libostree-2025.6/src/libotcore/otcore-prepare-root.c:113:25: call_function: inlined call to 'g_strdup_inline' from 'otcore_get_ostree_target'
libostree-2025.6/src/libotcore/otcore-prepare-root.c:70:52: danger: 'otcore_find_proc_cmdline_key(cmdline, "androidboot.slot_suffix")' leaks here; was allocated at [(15)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def67]
libostree-2025.6/src/libotcore/otcore-prepare-root.c:70:52: warning[-Wanalyzer-malloc-leak]: leak of 'otcore_find_proc_cmdline_key(cmdline, "ostree.prepare-root.composefs")'
libostree-2025.6/src/libotcore/otcore-prepare-root.c:179:1: enter_function: entry to 'otcore_load_rootfs_config'
libostree-2025.6/src/libotcore/otcore-prepare-root.c:182:3: branch_true: following 'true' branch (when 'cmdline' is non-NULL)...
libostree-2025.6/src/libotcore/otcore-prepare-root.c:183:3: branch_true: ...to here
libostree-2025.6/src/libotcore/otcore-prepare-root.c:183:3: branch_true: following 'true' branch (when 'config' is non-NULL)...
libostree-2025.6/src/libotcore/otcore-prepare-root.c:185:3: branch_true: ...to here
libostree-2025.6/src/libotcore/otcore-prepare-root.c:189:6: branch_false: following 'false' branch...
libostree-2025.6/src/libotcore/otcore-prepare-root.c:192:8: branch_false: ...to here
libostree-2025.6/src/libotcore/otcore-prepare-root.c:192:6: branch_false: following 'false' branch...
libostree-2025.6/src/libotcore/otcore-prepare-root.c:195:7: branch_false: ...to here
libostree-2025.6/src/libotcore/otcore-prepare-root.c:225:6: branch_false: following 'false' branch...
libostree-2025.6/src/libotcore/otcore-prepare-root.c:230:7: branch_false: ...to here
libostree-2025.6/src/libotcore/otcore-prepare-root.c:259:39: call_function: calling 'otcore_find_proc_cmdline_key' from 'otcore_load_rootfs_config'
libostree-2025.6/src/libotcore/otcore-prepare-root.c:259:39: return_function: returning to 'otcore_load_rootfs_config' from 'otcore_find_proc_cmdline_key'
libostree-2025.6/src/libotcore/otcore-prepare-root.c:260:6: branch_true: following 'true' branch...
libostree-2025.6/src/libotcore/otcore-prepare-root.c:262:11: branch_true: ...to here
libostree-2025.6/src/libotcore/otcore-prepare-root.c:262:11: throw: if 'g_strcmp0' throws an exception...
libostree-2025.6/src/libotcore/otcore-prepare-root.c:70:52: danger: 'otcore_find_proc_cmdline_key(cmdline, "ostree.prepare-root.composefs")' leaks here; was allocated at [(21)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def68]
libostree-2025.6/src/libotcore/otcore.h:78:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'ret'
libostree-2025.6/src/libotcore/otcore-prepare-root.c:182:3: branch_true: following 'true' branch (when 'cmdline' is non-NULL)...
libostree-2025.6/src/libotcore/otcore-prepare-root.c:183:3: branch_true: ...to here
libostree-2025.6/src/libotcore/otcore-prepare-root.c:183:3: branch_true: following 'true' branch (when 'config' is non-NULL)...
libostree-2025.6/src/libotcore/otcore-prepare-root.c:185:3: branch_true: ...to here
libostree-2025.6/src/libotcore/otcore-prepare-root.c:189:8: throw: if 'ot_keyfile_get_boolean_with_default' throws an exception...
libostree-2025.6/src/libotcore/otcore-prepare-root.c:187:26: call_function: inlined call to 'glib_autoptr_cleanup_RootConfig' from 'otcore_load_rootfs_config'
Error: CPPCHECK_WARNING (CWE-457): [#def69]
libostree-2025.6/src/libotutil/ot-fs-utils.c:51: error[uninitvar]: Uninitialized variable: len
Error: GCC_ANALYZER_WARNING (CWE-404): [#def70]
libostree-2025.6/src/libotutil/ot-gpg-utils.c:68:3: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
libostree-2025.6/src/libotutil/ot-gpg-utils.c:33:1: enter_function: entry to 'ot_gpgme_throw'
libostree-2025.6/src/libotutil/ot-gpg-utils.c:35:6: branch_false: following 'false' branch (when 'error' is non-NULL)...
libostree-2025.6/src/libotutil/ot-gpg-utils.c:42:11: call_function: inlined call to 'gpgme_err_code' from 'ot_gpgme_throw'
libostree-2025.6/src/libotutil/ot-gpg-utils.c:67:3: acquire_resource: 'va_start' called here
libostree-2025.6/src/libotutil/ot-gpg-utils.c:68:3: throw: if 'glnx_real_set_prefix_error_va' throws an exception...
libostree-2025.6/src/libotutil/ot-gpg-utils.c:68:3: danger: missing call to 'va_end' to match 'va_start' at [(6)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def71]
libostree-2025.6/src/libotutil/ot-gpg-utils.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'context'
libostree-2025.6/src/libostree/ostree-gpg-verifier.c:185:1: enter_function: entry to '_ostree_gpg_verifier_list_keys'
libostree-2025.6/src/libostree/ostree-gpg-verifier.c:255:6: branch_false: following 'false' branch...
libostree-2025.6/src/libostree/ostree-gpg-verifier.c:192:25: call_function: inlined call to 'glib_autoptr_cleanup_GPtrArray' from '_ostree_gpg_verifier_list_keys'
libostree-2025.6/src/libostree/ostree-gpg-verifier.c:191:20: call_function: inlined call to 'g_autoptr_cleanup_generic_gfree' from '_ostree_gpg_verifier_list_keys'
libostree-2025.6/src/libostree/ostree-gpg-verifier.c:190:29: call_function: inlined call to 'glib_autoptr_cleanup_GOutputStream' from '_ostree_gpg_verifier_list_keys'
libostree-2025.6/src/libostree/ostree-gpg-verifier.c:189:24: call_function: inlined call to 'glib_auto_cleanup_gpgme_ctx_t' from '_ostree_gpg_verifier_list_keys'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def72]
libostree-2025.6/src/libotutil/ot-variant-builder.c:1018:13: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
libostree-2025.6/src/libotutil/ot-variant-builder.c:1017:3: acquire_resource: 'va_start' called here
libostree-2025.6/src/libotutil/ot-variant-builder.c:1018:13: throw: if 'g_variant_new_va' throws an exception...
libostree-2025.6/src/libotutil/ot-variant-builder.c:1018:13: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-704): [#def73]
libostree-2025.6/src/ostree/ostree-trivial-httpd.c: scope_hint: In function ‘do_get’
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:402:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def74]
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:402:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING: [#def75]
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:874:11: warning[-Wanalyzer-fd-use-without-check]: ‘write’ on possibly invalid file descriptor ‘-1’
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:956:1: enter_function: entry to ‘main’
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:965:8: call_function: calling ‘run’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def76]
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:953:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[(int)ret]’
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:667:1: enter_function: entry to ‘run’
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:685:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:688:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:693:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:696:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:696:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:703:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:703:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:710:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:710:7: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:722:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:722:6: branch_true: following ‘true’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:724:11: branch_true: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:724:10: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:730:19: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:731:10: branch_true: following ‘true’ branch (when ‘pid == -1’)...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:733:11: branch_true: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:934:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:940:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:940:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:949:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:678:28: call_function: inlined call to ‘glib_autoptr_cleanup_GFileMonitor’ from ‘run’
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:677:33: call_function: inlined call to ‘glnx_local_obj_unref’ from ‘run’
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:670:30: call_function: inlined call to ‘glib_autoptr_cleanup_GOptionContext’ from ‘run’
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:953:1: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:953:1: danger: ‘pipefd[(int)ret]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def77]
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:953:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:667:1: enter_function: entry to ‘run’
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:685:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:688:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:693:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:696:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:696:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:703:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:703:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:710:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:710:7: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:722:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:722:6: branch_true: following ‘true’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:724:11: branch_true: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:724:10: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:730:19: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:731:10: branch_true: following ‘true’ branch (when ‘pid == -1’)...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:733:11: branch_true: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:934:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:940:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:940:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:949:7: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:678:28: call_function: inlined call to ‘glib_autoptr_cleanup_GFileMonitor’ from ‘run’
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:677:33: call_function: inlined call to ‘glnx_local_obj_unref’ from ‘run’
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:670:30: call_function: inlined call to ‘glib_autoptr_cleanup_GOptionContext’ from ‘run’
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:953:1: branch_false: ...to here
libostree-2025.6/src/ostree/ostree-trivial-httpd.c:953:1: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def78]
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:83:18: warning[-Wanalyzer-null-argument]: use of NULL ‘new_remote’ where non-null expected
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:43:1: enter_function: entry to ‘ot_admin_builtin_switch’
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:48:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:53:7: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:53:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:59:15: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:67:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:70:26: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:72:20: release_memory: ‘origin_remote’ is NULL
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:73:20: release_memory: ‘origin_remote’ is NULL
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:74:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:77:20: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:77:20: release_memory: ‘new_remote’ is NULL
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:78:20: release_memory: ‘new_remote’ is NULL
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:80:6: branch_true: following ‘true’ branch (when ‘__result != 0’)...
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:82:20: call_function: inlined call to ‘g_strdup_inline’ from ‘ot_admin_builtin_switch’
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:83:18: danger: argument 1 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def79]
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:99:7: warning[-Wanalyzer-null-argument]: use of NULL ‘new_refspec’ where non-null expected
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:43:1: enter_function: entry to ‘ot_admin_builtin_switch’
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:48:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:53:7: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:53:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:59:15: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:67:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:70:26: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:72:20: release_memory: ‘origin_remote’ is NULL
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:73:20: release_memory: ‘origin_remote’ is NULL
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:74:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:77:20: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:77:20: release_memory: ‘new_remote’ is NULL
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:78:20: release_memory: ‘new_remote’ is NULL
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:88:10: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:92:35: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:92:15: branch_false: following ‘false’ branch...
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:92:15: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:94:6: branch_false: following ‘false’ branch (when ‘remote’ is NULL)...
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:97:19: branch_false: ...to here
libostree-2025.6/src/ostree/ot-admin-builtin-switch.c:99:7: danger: argument 2 (‘new_refspec’) NULL where non-null expected
Error: COMPILER_WARNING: [#def80]
libostree-2025.6/src/ostree/parse-datetime.c: scope_hint: In function ‘yyparse’
libostree-2025.6/src/ostree/parse-datetime.c:1348:9: warning[-Wunused-but-set-variable=]: variable ‘yynerrs’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
libostree-2025.6/src/rofiles-fuse/main.c:134:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopendir(dfd)’
libostree-2025.6/src/rofiles-fuse/main.c:125:10: branch_false: following ‘false’ branch...
libostree-2025.6/src/rofiles-fuse/main.c:130:8: branch_false: ...to here
libostree-2025.6/src/rofiles-fuse/main.c:130:8: acquire_memory: allocated here
libostree-2025.6/src/rofiles-fuse/main.c:131:6: branch_false: following ‘false’ branch...
libostree-2025.6/src/rofiles-fuse/main.c:131:6: branch_false: ...to here
libostree-2025.6/src/rofiles-fuse/main.c:134:16: throw: if ‘readdir’ throws an exception...
libostree-2025.6/src/rofiles-fuse/main.c:134:16: danger: ‘fdopendir(dfd)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def82]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:68:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: acquire_resource: opened here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def83]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:68:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: acquire_resource: opened here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:68:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: acquire_memory: allocated here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:68:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: acquire_memory: allocated here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def86]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:81:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: acquire_resource: opened here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def87]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:81:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: acquire_resource: opened here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:81:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: acquire_memory: allocated here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:81:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: acquire_memory: allocated here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def90]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:93:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: acquire_resource: opened here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def91]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:93:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: acquire_resource: opened here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:93:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: acquire_memory: allocated here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:93:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: acquire_memory: allocated here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def94]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:99:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: acquire_resource: opened here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def95]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:99:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: acquire_resource: opened here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:99:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: acquire_memory: allocated here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def97]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:99:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: acquire_memory: allocated here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def98]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:102:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: acquire_resource: opened here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def99]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:102:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: acquire_resource: opened here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:102:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: acquire_memory: allocated here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:102:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: acquire_memory: allocated here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def102]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:120:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:599:1: enter_function: entry to ‘dump_error_quark’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:601:3: call_function: calling ‘escaped_printf’ from ‘dump_error_quark’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def103]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:138:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: acquire_resource: opened here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def104]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:138:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: acquire_resource: opened here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:138:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: acquire_memory: allocated here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:138:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: acquire_memory: allocated here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def107]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:686:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: acquire_resource: opened here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_true: following ‘true’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:685:25: branch_true: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:686:7: throw: if ‘g_file_error_quark’ throws an exception...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.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): [#def108]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:686:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: acquire_memory: allocated here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_true: following ‘true’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:685:25: branch_true: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:686:7: throw: if ‘g_file_error_quark’ throws an exception...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.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): [#def109]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:686:41: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: acquire_resource: opened here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_true: following ‘true’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:685:25: branch_true: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:686:41: throw: if ‘g_file_error_from_errno’ throws an exception...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.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): [#def110]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:686:41: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: acquire_memory: allocated here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_true: following ‘true’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:685:25: branch_true: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:686:41: throw: if ‘g_file_error_from_errno’ throws an exception...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.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): [#def111]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:699:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: acquire_resource: opened here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:699:18: throw: if ‘g_hash_table_new’ throws an exception...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.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): [#def112]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:699:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: acquire_resource: opened here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:699:18: throw: if ‘g_hash_table_new’ throws an exception...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.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): [#def113]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:699:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: acquire_memory: allocated here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:699:18: throw: if ‘g_hash_table_new’ throws an exception...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.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): [#def114]
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:699:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:645:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:654:15: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:658:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:669:11: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:670:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:682:12: acquire_memory: allocated here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:683:6: branch_false: following ‘false’ branch...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: branch_false: ...to here
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.0.c:699:18: throw: if ‘g_hash_table_new’ throws an exception...
libostree-2025.6/tmp-introspectkmemf7de/OSTree-1.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)
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-203.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | ostree-2025.6-3.fc44 |
| store-results-to | /tmp/tmppeaw3mng/ostree-2025.6-3.fc44.tar.xz |
| time-created | 2026-01-08 20:13:49 |
| time-finished | 2026-01-08 20:17:59 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmppeaw3mng/ostree-2025.6-3.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmppeaw3mng/ostree-2025.6-3.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |