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.
#   25|   
#   26|   check() {
#   27|->     if [[ -x $systemdutildir/systemd ]] && [[ -x /usr/lib/ostree/ostree-prepare-root ]]; then
#   28|          return 255
#   29|       fi

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.
#   46|           inst_simple "/etc/ostree/initramfs-root-binding.key"
#   47|       fi
#   48|->     inst_simple "${systemdsystemunitdir}/ostree-prepare-root.service"
#   49|       mkdir -p "${initdir}${systemdsystemconfdir}/initrd-root-fs.target.wants"
#   50|       ln_r "${systemdsystemunitdir}/ostree-prepare-root.service" \

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.
#   47|       fi
#   48|       inst_simple "${systemdsystemunitdir}/ostree-prepare-root.service"
#   49|->     mkdir -p "${initdir}${systemdsystemconfdir}/initrd-root-fs.target.wants"
#   50|       ln_r "${systemdsystemunitdir}/ostree-prepare-root.service" \
#   51|           "${systemdsystemconfdir}/initrd-root-fs.target.wants/ostree-prepare-root.service"

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.
#   47|       fi
#   48|       inst_simple "${systemdsystemunitdir}/ostree-prepare-root.service"
#   49|->     mkdir -p "${initdir}${systemdsystemconfdir}/initrd-root-fs.target.wants"
#   50|       ln_r "${systemdsystemunitdir}/ostree-prepare-root.service" \
#   51|           "${systemdsystemconfdir}/initrd-root-fs.target.wants/ostree-prepare-root.service"

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'
#  100|       return;
#  101|   
#  102|->   g_set_error_literal (error,
#  103|                          G_IO_ERROR,
#  104|                          g_io_error_from_errno (errsv),

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'
#  102|     g_set_error_literal (error,
#  103|                          G_IO_ERROR,
#  104|->                        g_io_error_from_errno (errsv),
#  105|                          g_strerror (errsv));
#  106|     glnx_real_set_prefix_error_va (*error, format, args);

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’
#   41|   {
#   42|     GObject *o = *(GObject **)v;
#   43|->   if (o)
#   44|       g_object_unref (o);
#   45|   }

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’
#   41|   {
#   42|     GObject *o = *(GObject **)v;
#   43|->   if (o)
#   44|       g_object_unref (o);
#   45|   }

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’
#   41|   {
#   42|     GObject *o = *(GObject **)v;
#   43|->   if (o)
#   44|       g_object_unref (o);
#   45|   }

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’
#   68|       {
#   69|         errsv = errno;
#   70|->       if (close (fd) < 0)
#   71|           g_assert (errno != EBADF);
#   72|         errno = errsv;

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’
#   72|         errno = errsv;
#   73|       }
#   74|-> }
#   75|   
#   76|   /**

Error: CPPCHECK_WARNING (CWE-457): [#def12]
libostree-2025.6/libglnx/glnx-xattrs.c:384: error[uninitvar]: Uninitialized variable: bytes_read
#  382|       return glnx_null_throw_errno_prefix (error, "lgetxattr(%s)", attribute);
#  383|   
#  384|->   g_autofree guint8 *buf = g_malloc (bytes_read);
#  385|     if (TEMP_FAILURE_RETRY (real_size = lgetxattr (pathbuf, attribute, buf, bytes_read)) < 0)
#  386|       return glnx_null_throw_errno_prefix (error, "lgetxattr(%s)", attribute);

Error: CPPCHECK_WARNING (CWE-457): [#def13]
libostree-2025.6/libglnx/glnx-xattrs.c:388: error[uninitvar]: Uninitialized variable: real_size
#  386|       return glnx_null_throw_errno_prefix (error, "lgetxattr(%s)", attribute);
#  387|   
#  388|->   return g_bytes_new_take (g_steal_pointer (&buf), real_size);
#  389|   }
#  390|   

Error: CPPCHECK_WARNING (CWE-457): [#def14]
libostree-2025.6/libglnx/glnx-xattrs.c:409: error[uninitvar]: Uninitialized variable: bytes_read
#  407|       return glnx_null_throw_errno_prefix (error, "fgetxattr(%s)", attribute);
#  408|   
#  409|->   g_autofree guint8 *buf = g_malloc (bytes_read);
#  410|     if (TEMP_FAILURE_RETRY (real_size = fgetxattr (fd, attribute, buf, bytes_read)) < 0)
#  411|       return glnx_null_throw_errno_prefix (error, "fgetxattr(%s)", attribute);

Error: CPPCHECK_WARNING (CWE-457): [#def15]
libostree-2025.6/libglnx/glnx-xattrs.c:413: error[uninitvar]: Uninitialized variable: real_size
#  411|       return glnx_null_throw_errno_prefix (error, "fgetxattr(%s)", attribute);
#  412|   
#  413|->   return g_bytes_new_take (g_steal_pointer (&buf), real_size);
#  414|   }
#  415|   

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)
#  201|         GVariant *variant;
#  202|   
#  203|->       g_assert (format_string != NULL);
#  204|   
#  205|         variant = g_hash_table_lookup (self->values, GUINT_TO_POINTER (g_quark_from_string (key)));

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)
#  203|         g_assert (format_string != NULL);
#  204|   
#  205|->       variant = g_hash_table_lookup (self->values, GUINT_TO_POINTER (g_quark_from_string (key)));
#  206|         g_assert (variant != NULL);
#  207|         g_assert (g_variant_check_format_string (variant, format_string, TRUE));

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)
#  203|         g_assert (format_string != NULL);
#  204|   
#  205|->       variant = g_hash_table_lookup (self->values, GUINT_TO_POINTER (g_quark_from_string (key)));
#  206|         g_assert (variant != NULL);
#  207|         g_assert (g_variant_check_format_string (variant, format_string, TRUE));

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)
#  204|   
#  205|         variant = g_hash_table_lookup (self->values, GUINT_TO_POINTER (g_quark_from_string (key)));
#  206|->       g_assert (variant != NULL);
#  207|         g_assert (g_variant_check_format_string (variant, format_string, TRUE));
#  208|   

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)
#  205|         variant = g_hash_table_lookup (self->values, GUINT_TO_POINTER (g_quark_from_string (key)));
#  206|         g_assert (variant != NULL);
#  207|->       g_assert (g_variant_check_format_string (variant, format_string, TRUE));
#  208|   
#  209|         g_variant_get_va (variant, format_string, NULL, &ap);

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)
#  207|         g_assert (g_variant_check_format_string (variant, format_string, TRUE));
#  208|   
#  209|->       g_variant_get_va (variant, format_string, NULL, &ap);
#  210|       }
#  211|   

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’
#   43|   
#   44|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeDiffItem, ostree_diff_item_unref)
#   45|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepoCommitModifier, ostree_repo_commit_modifier_unref)
#   46|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepoDevInoCache, ostree_repo_devino_cache_unref)
#   47|   

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’
#   46|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepoDevInoCache, ostree_repo_devino_cache_unref)
#   47|   
#   48|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeAsyncProgress, g_object_unref)
#   49|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeBootconfigParser, g_object_unref)
#   50|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeCommitSizesEntry, ostree_commit_sizes_entry_free)

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'
#   49|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeBootconfigParser, g_object_unref)
#   50|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeCommitSizesEntry, ostree_commit_sizes_entry_free)
#   51|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeDeployment, g_object_unref)
#   52|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeGpgVerifyResult, g_object_unref)
#   53|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeKernelArgs, ostree_kernel_args_free)

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'
#   49|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeBootconfigParser, g_object_unref)
#   50|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeCommitSizesEntry, ostree_commit_sizes_entry_free)
#   51|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeDeployment, g_object_unref)
#   52|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeGpgVerifyResult, g_object_unref)
#   53|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeKernelArgs, ostree_kernel_args_free)

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’
#   49|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeBootconfigParser, g_object_unref)
#   50|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeCommitSizesEntry, ostree_commit_sizes_entry_free)
#   51|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeDeployment, g_object_unref)
#   52|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeGpgVerifyResult, g_object_unref)
#   53|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeKernelArgs, ostree_kernel_args_free)

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’
#   49|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeBootconfigParser, g_object_unref)
#   50|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeCommitSizesEntry, ostree_commit_sizes_entry_free)
#   51|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeDeployment, g_object_unref)
#   52|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeGpgVerifyResult, g_object_unref)
#   53|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeKernelArgs, ostree_kernel_args_free)

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’
#   50|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeCommitSizesEntry, ostree_commit_sizes_entry_free)
#   51|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeDeployment, g_object_unref)
#   52|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeGpgVerifyResult, g_object_unref)
#   53|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeKernelArgs, ostree_kernel_args_free)
#   54|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeMutableTree, g_object_unref)

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’
#   51|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeDeployment, g_object_unref)
#   52|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeGpgVerifyResult, g_object_unref)
#   53|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeKernelArgs, ostree_kernel_args_free)
#   54|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeMutableTree, g_object_unref)
#   55|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepo, g_object_unref)

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’
#   51|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeDeployment, g_object_unref)
#   52|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeGpgVerifyResult, g_object_unref)
#   53|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeKernelArgs, ostree_kernel_args_free)
#   54|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeMutableTree, g_object_unref)
#   55|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepo, g_object_unref)

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’
#   52|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeGpgVerifyResult, g_object_unref)
#   53|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeKernelArgs, ostree_kernel_args_free)
#   54|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeMutableTree, g_object_unref)
#   55|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepo, g_object_unref)
#   56|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepoFile, g_object_unref)

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'
#   53|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeKernelArgs, ostree_kernel_args_free)
#   54|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeMutableTree, g_object_unref)
#   55|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepo, g_object_unref)
#   56|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepoFile, g_object_unref)
#   57|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeSePolicy, g_object_unref)

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’
#   53|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeKernelArgs, ostree_kernel_args_free)
#   54|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeMutableTree, g_object_unref)
#   55|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepo, g_object_unref)
#   56|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepoFile, g_object_unref)
#   57|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeSePolicy, g_object_unref)

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’
#   53|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeKernelArgs, ostree_kernel_args_free)
#   54|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeMutableTree, g_object_unref)
#   55|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepo, g_object_unref)
#   56|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepoFile, g_object_unref)
#   57|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeSePolicy, g_object_unref)

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’
#   53|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeKernelArgs, ostree_kernel_args_free)
#   54|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeMutableTree, g_object_unref)
#   55|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepo, g_object_unref)
#   56|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepoFile, g_object_unref)
#   57|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeSePolicy, g_object_unref)

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’
#   53|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeKernelArgs, ostree_kernel_args_free)
#   54|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeMutableTree, g_object_unref)
#   55|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepo, g_object_unref)
#   56|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepoFile, g_object_unref)
#   57|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeSePolicy, g_object_unref)

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’
#   55|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepo, g_object_unref)
#   56|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepoFile, g_object_unref)
#   57|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeSePolicy, g_object_unref)
#   58|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeSysroot, g_object_unref)
#   59|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeSysrootUpgrader, g_object_unref)

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’
#   55|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepo, g_object_unref)
#   56|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepoFile, g_object_unref)
#   57|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeSePolicy, g_object_unref)
#   58|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeSysroot, g_object_unref)
#   59|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeSysrootUpgrader, g_object_unref)

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’
#   56|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepoFile, g_object_unref)
#   57|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeSePolicy, g_object_unref)
#   58|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeSysroot, g_object_unref)
#   59|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeSysrootUpgrader, g_object_unref)
#   60|   

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'
#   64|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeCollectionRef, ostree_collection_ref_free)
#   65|   G_DEFINE_AUTO_CLEANUP_FREE_FUNC (OstreeCollectionRefv, ostree_collection_ref_freev, NULL)
#   66|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRemote, ostree_remote_unref)
#   67|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepoFinderResult, ostree_repo_finder_result_free)
#   68|   G_DEFINE_AUTO_CLEANUP_FREE_FUNC (OstreeRepoFinderResultv, ostree_repo_finder_result_freev, NULL)

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’
#   66|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRemote, ostree_remote_unref)
#   67|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRepoFinderResult, ostree_repo_finder_result_free)
#   68|-> G_DEFINE_AUTO_CLEANUP_FREE_FUNC (OstreeRepoFinderResultv, ostree_repo_finder_result_freev, NULL)
#   69|   
#   70|   #endif

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’
#   74|   void ostree_bloom_unref (OstreeBloom *bloom);
#   75|   
#   76|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeBloom, ostree_bloom_unref)
#   77|   
#   78|   G_GNUC_INTERNAL

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’
#   74|   void ostree_bloom_unref (OstreeBloom *bloom);
#   75|   
#   76|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeBloom, ostree_bloom_unref)
#   77|   
#   78|   G_GNUC_INTERNAL

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'
#  127|   
#  128|     g_autoptr (OstreeDiffItem) ret_item = NULL;
#  129|->   if (strcmp (checksum_a, checksum_b) != 0)
#  130|       {
#  131|         ret_item = diff_item_new (a, a_info, b, b_info, checksum_a, checksum_b);

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'
#  127|   
#  128|     g_autoptr (OstreeDiffItem) ret_item = NULL;
#  129|->   if (strcmp (checksum_a, checksum_b) != 0)
#  130|       {
#  131|         ret_item = diff_item_new (a, a_info, b, b_info, checksum_a, checksum_b);

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
#  255 |   rc = curl_multi_setopt (self->multi, CURLMOPT_MAX_TOTAL_CONNECTIONS, 8);
#      |        ^
#  253|   #if CURL_AT_LEAST_VERSION(7, 30, 0)
#  254|     /* Let's do something reasonable here. */
#  255|->   rc = curl_multi_setopt (self->multi, CURLMOPT_MAX_TOTAL_CONNECTIONS, 8);
#  256|     g_assert_cmpint (rc, ==, CURLM_OK);
#  257|   #endif

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
#  935 |   rc = curl_easy_setopt (req->easy, CURLOPT_PROTOCOLS,
#      |   ^~
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
# 1783 |   CURLOPTDEPRECATED(CURLOPT_PROTOCOLS, CURLOPTTYPE_LONG, 181,
#      |   ^~~~~~~~~~~~~~~~~
#  933|   
#  934|     /* We should only speak HTTP; TODO: only enable file if specified */
#  935|->   rc = curl_easy_setopt (req->easy, CURLOPT_PROTOCOLS,
#  936|                            (long)(CURLPROTO_HTTP | CURLPROTO_HTTPS | CURLPROTO_FILE));
#  937|     g_assert_cmpint (rc, ==, CURLM_OK);

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
#  933|   
#  934|     /* We should only speak HTTP; TODO: only enable file if specified */
#  935|->   rc = curl_easy_setopt (req->easy, CURLOPT_PROTOCOLS,
#  936|                            (long)(CURLPROTO_HTTP | CURLPROTO_HTTPS | CURLPROTO_FILE));
#  937|     g_assert_cmpint (rc, ==, CURLM_OK);

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
#  979 |   rc = curl_easy_setopt (req->easy, CURLOPT_PROGRESSFUNCTION, prog_cb);
#      |   ^~
/usr/include/curl/curl.h:1330:3: note: declared here
# 1330 |   CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56,
#      |   ^~~~~~~~~~~~~~~~~
#  977|     rc = curl_easy_setopt (req->easy, CURLOPT_NOPROGRESS, 1L);
#  978|     g_assert_cmpint (rc, ==, CURLM_OK);
#  979|->   rc = curl_easy_setopt (req->easy, CURLOPT_PROGRESSFUNCTION, prog_cb);
#  980|     g_assert_cmpint (rc, ==, CURLM_OK);
#  981|     rc = curl_easy_setopt (req->easy, CURLOPT_FOLLOWLOCATION, 1L);

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
#  977|     rc = curl_easy_setopt (req->easy, CURLOPT_NOPROGRESS, 1L);
#  978|     g_assert_cmpint (rc, ==, CURLM_OK);
#  979|->   rc = curl_easy_setopt (req->easy, CURLOPT_PROGRESSFUNCTION, prog_cb);
#  980|     g_assert_cmpint (rc, ==, CURLM_OK);
#  981|     rc = curl_easy_setopt (req->easy, CURLOPT_FOLLOWLOCATION, 1L);

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
#  985 |   rc = curl_easy_setopt (req->easy, CURLOPT_LOW_SPEED_LIMIT, req->fetcher->opt_low_speed_limit);
#      |        ^
#  983|     rc = curl_easy_setopt (req->easy, CURLOPT_CONNECTTIMEOUT, 30L);
#  984|     g_assert_cmpint (rc, ==, CURLM_OK);
#  985|->   rc = curl_easy_setopt (req->easy, CURLOPT_LOW_SPEED_LIMIT, req->fetcher->opt_low_speed_limit);
#  986|     g_assert_cmpint (rc, ==, CURLM_OK);
#  987|     rc = curl_easy_setopt (req->easy, CURLOPT_LOW_SPEED_TIME, req->fetcher->opt_low_speed_time);

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
#  987 |   rc = curl_easy_setopt (req->easy, CURLOPT_LOW_SPEED_TIME, req->fetcher->opt_low_speed_time);
#      |        ^
#  985|     rc = curl_easy_setopt (req->easy, CURLOPT_LOW_SPEED_LIMIT, req->fetcher->opt_low_speed_limit);
#  986|     g_assert_cmpint (rc, ==, CURLM_OK);
#  987|->   rc = curl_easy_setopt (req->easy, CURLOPT_LOW_SPEED_TIME, req->fetcher->opt_low_speed_time);
#  988|     g_assert_cmpint (rc, ==, CURLM_OK);
#  989|     /* closure bindings -> task */

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’
#   38|   #ifdef HAVE_LIBARCHIVE
#   39|   typedef struct archive OtAutoArchiveWrite;
#   40|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OtAutoArchiveWrite, archive_write_free)
#   41|   typedef struct archive_entry OtArchiveEntry;
#   42|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OtArchiveEntry, archive_entry_free)

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'
#   40|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OtAutoArchiveWrite, archive_write_free)
#   41|   typedef struct archive_entry OtArchiveEntry;
#   42|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OtArchiveEntry, archive_entry_free)
#   43|   typedef struct archive OtAutoArchiveRead;
#   44|   G_DEFINE_AUTOPTR_CLEANUP_FUNC (OtAutoArchiveRead, archive_read_free)

Error: CPPCHECK_WARNING (CWE-457): [#def55]
libostree-2025.6/src/libostree/ostree-repo-checkout.c:828: error[uninitvar]: Uninitialized variable: stbuf
#  826|   
#  827|                     key = g_new (OstreeDevIno, 1);
#  828|->                   key->dev = stbuf.st_dev;
#  829|                     key->ino = stbuf.st_ino;
#  830|                     memcpy (key->checksum, checksum, OSTREE_SHA256_STRING_LEN + 1);

Error: CPPCHECK_WARNING (CWE-457): [#def56]
libostree-2025.6/src/libostree/ostree-repo-commit.c:1654: error[uninitvar]: Uninitialized variable: stvfsbuf
# 1652|   
# 1653|     g_mutex_lock (&self->txn_lock);
# 1654|->   self->txn.blocksize = stvfsbuf.f_bsize;
# 1655|     guint64 reserved_bytes = 0;
# 1656|     if (!ostree_repo_get_min_free_space_bytes (self, &reserved_bytes, error))

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'
#  133|     self->parent = g_object_ref (parent);
#  134|     self->name = g_strdup (name);
#  135|->   len = strlen (self->name);
#  136|     if (self->name[len - 1] == '/')
#  137|       self->name[len - 1] = '\0';

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’
#   35|   
#   36|   _OSTREE_PUBLIC
#   37|-> G_DECLARE_FINAL_TYPE (OstreeRepoFinderConfig, ostree_repo_finder_config, OSTREE, REPO_FINDER_CONFIG,
#   38|                         GObject)
#   39|   

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’
#   35|   
#   36|   _OSTREE_PUBLIC
#   37|-> G_DECLARE_FINAL_TYPE (OstreeRepoFinderMount, ostree_repo_finder_mount, OSTREE, REPO_FINDER_MOUNT,
#   38|                         GObject)
#   39|   

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'
#  225|   }
#  226|   
#  227|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (ResolveAllData, resolve_all_data_free)
#  228|   
#  229|   static void resolve_all_cb (GObject *obj, GAsyncResult *result, gpointer user_data);

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
#  820 |   guint64 total_usize = 0;
#      |           ^~~~~~~~~~~
#  818|   
#  819|     guint64 total_size = 0;
#  820|->   guint64 total_usize = 0;
#  821|     guint total_objects = 0;
#  822|     {

Error: CPPCHECK_WARNING (CWE-457): [#def62]
libostree-2025.6/src/libostree/ostree-repo.c:2983: error[uninitvar]: Uninitialized variable: stvfsbuf
# 2981|     else if (self->min_free_space_percent > 0)
# 2982|       {
# 2983|->       if (stvfsbuf.f_frsize > (G_MAXUINT64 / stvfsbuf.f_blocks))
# 2984|           return glnx_throw (
# 2985|               error,

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’
#   54|   
#   55|   _OSTREE_PUBLIC
#   56|-> G_DECLARE_INTERFACE (OstreeSign, ostree_sign, OSTREE, SIGN, GObject)
#   57|   
#   58|   struct _OstreeSignInterface

Error: CPPCHECK_WARNING (CWE-457): [#def64]
libostree-2025.6/src/libostree/ostree-sysroot-deploy.c:1590: error[uninitvar]: Uninitialized variable: wstatus
# 1588|             if (TEMP_FAILURE_RETRY (waitpid (pid, &wstatus, 0)) < 0)
# 1589|               return glnx_throw_errno_prefix (error, "waitpid(test-fifreeze)");
# 1590|->           if (!g_spawn_check_exit_status (wstatus, error))
# 1591|               return glnx_prefix_error (error, "test-fifreeze: ");
# 1592|             return glnx_throw (error, "aborting due to test-fifreeze");

Error: CPPCHECK_WARNING (CWE-457): [#def65]
libostree-2025.6/src/libostree/ostree-sysroot.c:2407: error[uninitvar]: Uninitialized variable: estatus
# 2405|           if (TEMP_FAILURE_RETRY (waitpid (mount_child, &estatus, 0)) < 0)
# 2406|             return glnx_throw_errno_prefix (error, "waitpid() on mount helper");
# 2407|->         if (!g_spawn_check_exit_status (estatus, error))
# 2408|             return glnx_prefix_error (error, "Failed overlayfs mount");
# 2409|         }

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)
#   68|       {
#   69|         const char *next = strchr (iter, ' ');
#   70|->       if (strncmp (iter, key, key_len) == 0 && iter[key_len] == '=')
#   71|           {
#   72|             const char *start = iter + key_len + 1;

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)
#   68|       {
#   69|         const char *next = strchr (iter, ' ');
#   70|->       if (strncmp (iter, key, key_len) == 0 && iter[key_len] == '=')
#   71|           {
#   72|             const char *start = iter + key_len + 1;

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'
#   76|   } RootConfig;
#   77|   void otcore_free_rootfs_config (RootConfig *config);
#   78|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (RootConfig, otcore_free_rootfs_config)
#   79|   
#   80|   RootConfig *otcore_load_rootfs_config (const char *cmdline, GKeyFile *config, gboolean load_keys,

Error: CPPCHECK_WARNING (CWE-457): [#def69]
libostree-2025.6/src/libotutil/ot-fs-utils.c:51: error[uninitvar]: Uninitialized variable: len
#   49|     if (TEMP_FAILURE_RETRY (len = readlinkat (dfd, path, targetbuf, sizeof (targetbuf) - 1)) < 0)
#   50|       return glnx_throw_errno_prefix (error, "readlinkat");
#   51|->   targetbuf[len] = '\0';
#   52|     g_file_info_set_symlink_target (target_info, targetbuf);
#   53|   

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)
#   66|     va_list args;
#   67|     va_start (args, fmt);
#   68|->   glnx_real_set_prefix_error_va (*error, fmt, args);
#   69|     va_end (args);
#   70|   

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'
#   27|   
#   28|   G_DEFINE_AUTO_CLEANUP_FREE_FUNC (gpgme_data_t, gpgme_data_release, NULL)
#   29|-> G_DEFINE_AUTO_CLEANUP_FREE_FUNC (gpgme_ctx_t, gpgme_release, NULL)
#   30|   G_DEFINE_AUTO_CLEANUP_FREE_FUNC (gpgme_key_t, gpgme_key_unref, NULL)
#   31|   

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)
# 1016|   
# 1017|     va_start (ap, format_string);
# 1018|->   variant = g_variant_new_va (format_string, NULL, &ap);
# 1019|     va_end (ap);
# 1020|   

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
#  402 |       slash = strrchr (path, '/');
#      |             ^
#  400|     if (S_ISDIR (stbuf.st_mode))
#  401|       {
#  402|->       slash = strrchr (path, '/');
#  403|         if (!slash || slash[1])
#  404|           {

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
#  400|     if (S_ISDIR (stbuf.st_mode))
#  401|       {
#  402|->       slash = strrchr (path, '/');
#  403|         if (!slash || slash[1])
#  404|           {

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’
#  872|         guint8 buf = 0;
#  873|         g_debug ("Writing %u to parent", buf);
#  874|->       if (TEMP_FAILURE_RETRY (write (pipefd[1], &buf, 1)) == -1)
#  875|           {
#  876|             glnx_set_error_from_errno (error);

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
#  951|     g_clear_object (&app->log);
#  952|     return ret;
#  953|-> }
#  954|   
#  955|   int

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
#  951|     g_clear_object (&app->log);
#  952|     return ret;
#  953|-> }
#  954|   
#  955|   int

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
#   81|       {
#   82|         new_remote = g_strdup (new_provided_refspec);
#   83|->       new_remote[strlen (new_remote) - 1] = '\0';
#   84|         new_ref = g_strdup (origin_ref);
#   85|       }

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
#   97|       new_refspec = g_strdup (new_ref);
#   98|   
#   99|->   if (strcmp (origin_refspec, new_refspec) == 0)
#  100|       {
#  101|         g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "Old and new refs are equal: %s",

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
# 1348 |     int yynerrs = 0;
#      |         ^~~~~~~
# 1346|   
# 1347|       /* Number of syntax errors so far.  */
# 1348|->     int yynerrs = 0;
# 1349|   
# 1350|       yy_state_fast_t yystate = 0;

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)
#  132|       return -errno;
#  133|   
#  134|->   while ((de = readdir (dp)) != NULL)
#  135|       {
#  136|         struct stat st;

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-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-203.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameostree-2025.6-3.fc44
store-results-to/tmp/tmppeaw3mng/ostree-2025.6-3.fc44.tar.xz
time-created2026-01-08 20:13:49
time-finished2026-01-08 20:17:59
toolcsmock
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-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9