flatpak-1.16.0-3.fc43
List of Findings
Error: SHELLCHECK_WARNING (CWE-758): [#def1]
/etc/profile.d/flatpak.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Error: SHELLCHECK_WARNING (CWE-758): [#def2]
/usr/libexec/installed-tests/Flatpak/installed-tests.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Error: SHELLCHECK_WARNING (CWE-563): [#def3]
/usr/libexec/installed-tests/Flatpak/installed-tests.sh:4:1: warning[SC2034]: FUSERMOUNT appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-758): [#def4]
/usr/libexec/installed-tests/Flatpak/libtest.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Error: SHELLCHECK_WARNING (CWE-88): [#def5]
/usr/libexec/installed-tests/Flatpak/libtest.sh:52:10: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-138): [#def6]
/usr/libexec/installed-tests/Flatpak/libtest.sh:58:18: error[SC2145]: Argument mixes string and array. Use * or separate argument.
Error: SHELLCHECK_WARNING (CWE-138): [#def7]
/usr/libexec/installed-tests/Flatpak/libtest.sh:59:82: error[SC2145]: Argument mixes string and array. Use * or separate argument.
Error: SHELLCHECK_WARNING (CWE-571): [#def8]
/usr/libexec/installed-tests/Flatpak/libtest.sh:128:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-569): [#def9]
/usr/libexec/installed-tests/Flatpak/libtest.sh:278:77: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-569): [#def10]
/usr/libexec/installed-tests/Flatpak/libtest.sh:278:90: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-156): [#def11]
/usr/libexec/installed-tests/Flatpak/libtest.sh:290:4: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def12]
/usr/libexec/installed-tests/Flatpak/libtest.sh:291:4: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def13]
/usr/libexec/installed-tests/Flatpak/libtest.sh:316:17: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-685): [#def14]
/usr/libexec/installed-tests/Flatpak/libtest.sh:334:1: warning[SC2120]: httpd references arguments, but none are ever passed.
Error: SHELLCHECK_WARNING (CWE-156): [#def15]
/usr/libexec/installed-tests/Flatpak/libtest.sh:340:24: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def16]
/usr/libexec/installed-tests/Flatpak/libtest.sh:358:41: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def17]
/usr/libexec/installed-tests/Flatpak/libtest.sh:448:72: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def18]
/usr/libexec/installed-tests/Flatpak/libtest.sh:462:41: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def19]
/usr/libexec/installed-tests/Flatpak/libtest.sh:475:43: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def20]
/usr/libexec/installed-tests/Flatpak/libtest.sh:500:114: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-571): [#def21]
/usr/libexec/installed-tests/Flatpak/libtest.sh:595:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-156): [#def22]
/usr/libexec/installed-tests/Flatpak/libtest.sh:616:10: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def23]
/usr/libexec/installed-tests/Flatpak/make-multi-collection-id-repo.sh:28:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-563): [#def24]
/usr/libexec/installed-tests/Flatpak/make-multi-collection-id-repo.sh:31:1: warning[SC2034]: REPO_NAME appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-156): [#def25]
/usr/libexec/installed-tests/Flatpak/make-multi-collection-id-repo.sh:43:5: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def26]
/usr/libexec/installed-tests/Flatpak/make-test-app.sh:132:4: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def27]
/usr/libexec/installed-tests/Flatpak/make-test-app.sh:133:4: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def28]
/usr/libexec/installed-tests/Flatpak/make-test-app.sh:135:4: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def29]
/usr/libexec/installed-tests/Flatpak/make-test-app.sh:181:4: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-571): [#def30]
/usr/libexec/installed-tests/Flatpak/make-test-runtime.sh:66:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-88): [#def31]
/usr/libexec/installed-tests/Flatpak/make-test-runtime.sh:72:10: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-156): [#def32]
/usr/libexec/installed-tests/Flatpak/test-auth.sh:22:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def33]
/usr/libexec/installed-tests/Flatpak/test-auth.sh:30:18: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def34]
/usr/libexec/installed-tests/Flatpak/test-auth.sh:30:42: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def35]
/usr/libexec/installed-tests/Flatpak/test-auth.sh:39:34: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-685): [#def36]
/usr/libexec/installed-tests/Flatpak/test-auth.sh:42:1: warning[SC2120]: assert_failed_with_401 references arguments, but none are ever passed.
Error: SHELLCHECK_WARNING (CWE-457): [#def37]
/usr/libexec/installed-tests/Flatpak/test-auth.sh:89:76: warning[SC2154]: port is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def38]
/usr/libexec/installed-tests/Flatpak/test-basic.sh:22:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def39]
/usr/libexec/installed-tests/Flatpak/test-basic.sh:31:15: warning[SC2154]: test_builddir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def40]
/usr/libexec/installed-tests/Flatpak/test-basic.sh:46:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def41]
/usr/libexec/installed-tests/Flatpak/test-basic.sh:46:31: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def42]
/usr/libexec/installed-tests/Flatpak/test-build-update-repo.sh:25:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def43]
/usr/libexec/installed-tests/Flatpak/test-bundle.sh:22:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def44]
/usr/libexec/installed-tests/Flatpak/test-bundle.sh:33:54: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def45]
/usr/libexec/installed-tests/Flatpak/test-bundle.sh:36:64: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def46]
/usr/libexec/installed-tests/Flatpak/test-bundle.sh:43:56: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def47]
/usr/libexec/installed-tests/Flatpak/test-bundle.sh:56:38: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def48]
/usr/libexec/installed-tests/Flatpak/test-bundle.sh:56:71: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def49]
/usr/libexec/installed-tests/Flatpak/test-bundle.sh:57:38: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def50]
/usr/libexec/installed-tests/Flatpak/test-bundle.sh:57:71: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def51]
/usr/libexec/installed-tests/Flatpak/test-bundle.sh:104:38: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def52]
/usr/libexec/installed-tests/Flatpak/test-bundle.sh:104:75: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def53]
/usr/libexec/installed-tests/Flatpak/test-bundle.sh:105:38: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def54]
/usr/libexec/installed-tests/Flatpak/test-bundle.sh:105:75: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def55]
/usr/libexec/installed-tests/Flatpak/test-bundle.sh:161:54: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def56]
/usr/libexec/installed-tests/Flatpak/test-completion.sh:23:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def57]
/usr/libexec/installed-tests/Flatpak/test-config.sh:22:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-563): [#def58]
/usr/libexec/installed-tests/Flatpak/test-default-remotes.sh:22:1: warning[SC2034]: USE_SYSTEMDIR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-156): [#def59]
/usr/libexec/installed-tests/Flatpak/test-default-remotes.sh:24:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def60]
/usr/libexec/installed-tests/Flatpak/test-default-remotes.sh:118:14: warning[SC2154]: test_builddir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def61]
/usr/libexec/installed-tests/Flatpak/test-extensions.sh:22:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-571): [#def62]
/usr/libexec/installed-tests/Flatpak/test-extensions.sh:32:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-156): [#def63]
/usr/libexec/installed-tests/Flatpak/test-extensions.sh:99:1: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def64]
/usr/libexec/installed-tests/Flatpak/test-extensions.sh:100:1: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-563): [#def65]
/usr/libexec/installed-tests/Flatpak/test-history.sh:7:1: warning[SC2034]: USE_SYSTEMDIR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-156): [#def66]
/usr/libexec/installed-tests/Flatpak/test-history.sh:9:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def67]
/usr/libexec/installed-tests/Flatpak/test-http-utils.sh:22:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def68]
/usr/libexec/installed-tests/Flatpak/test-http-utils.sh:37:10: warning[SC2154]: test_builddir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def69]
/usr/libexec/installed-tests/Flatpak/test-http-utils.sh:51:42: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def70]
/usr/libexec/installed-tests/Flatpak/test-http-utils.sh:55:48: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def71]
/usr/libexec/installed-tests/Flatpak/test-http-utils.sh:59:48: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def72]
/usr/libexec/installed-tests/Flatpak/test-http-utils.sh:71:15: warning[SC2154]: test_tmpdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def73]
/usr/libexec/installed-tests/Flatpak/test-info.sh:5:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def74]
/usr/libexec/installed-tests/Flatpak/test-metadata-validation.sh:9:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-571): [#def75]
/usr/libexec/installed-tests/Flatpak/test-metadata-validation.sh:19:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def76]
/usr/libexec/installed-tests/Flatpak/test-metadata-validation.sh:44:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-156): [#def77]
/usr/libexec/installed-tests/Flatpak/test-oci-registry.sh:22:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def78]
/usr/libexec/installed-tests/Flatpak/test-oci-registry.sh:32:17: warning[SC2154]: test_srcdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def79]
/usr/libexec/installed-tests/Flatpak/test-oci-registry.sh:39:29: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def80]
/usr/libexec/installed-tests/Flatpak/test-oci-registry.sh:42:26: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-140): [#def81]
/usr/libexec/installed-tests/Flatpak/test-oci-registry.sh:82:23: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-156): [#def82]
/usr/libexec/installed-tests/Flatpak/test-oci-registry.sh:85:42: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-140): [#def83]
/usr/libexec/installed-tests/Flatpak/test-oci-registry.sh:88:23: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-670): [#def84]
/usr/libexec/installed-tests/Flatpak/test-oci-registry.sh:89:14: warning[SC2128]: Expanding an array without an index only gives the first element.
Error: SHELLCHECK_WARNING (CWE-670): [#def85]
/usr/libexec/installed-tests/Flatpak/test-oci-registry.sh:89:29: warning[SC2128]: Expanding an array without an index only gives the first element.
Error: SHELLCHECK_WARNING (CWE-156): [#def86]
/usr/libexec/installed-tests/Flatpak/test-oci-registry.sh:106:26: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def87]
/usr/libexec/installed-tests/Flatpak/test-oci.sh:22:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def88]
/usr/libexec/installed-tests/Flatpak/test-oci.sh:38:11: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def89]
/usr/libexec/installed-tests/Flatpak/test-override.sh:5:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def90]
/usr/libexec/installed-tests/Flatpak/test-override.sh:6:10: warning[SC2154]: test_builddir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def91]
/usr/libexec/installed-tests/Flatpak/test-override.sh:7:53: warning[SC2154]: test_tmpdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-480): [#def92]
/usr/libexec/installed-tests/Flatpak/test-override.sh:238:9: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-480): [#def93]
/usr/libexec/installed-tests/Flatpak/test-override.sh:245:9: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-480): [#def94]
/usr/libexec/installed-tests/Flatpak/test-override.sh:252:9: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-156): [#def95]
/usr/libexec/installed-tests/Flatpak/test-prune.sh:22:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-571): [#def96]
/usr/libexec/installed-tests/Flatpak/test-prune.sh:33:15: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-156): [#def97]
/usr/libexec/installed-tests/Flatpak/test-repair.sh:9:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def98]
/usr/libexec/installed-tests/Flatpak/test-repo.sh:22:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def99]
/usr/libexec/installed-tests/Flatpak/test-repo.sh:59:67: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def100]
/usr/libexec/installed-tests/Flatpak/test-repo.sh:289:59: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def101]
/usr/libexec/installed-tests/Flatpak/test-repo.sh:292:23: warning[SC2154]: test_builddir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-140): [#def102]
/usr/libexec/installed-tests/Flatpak/test-repo.sh:293:5: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-156): [#def103]
/usr/libexec/installed-tests/Flatpak/test-repo.sh:439:25: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def104]
/usr/libexec/installed-tests/Flatpak/test-repo.sh:793:43: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def105]
/usr/libexec/installed-tests/Flatpak/test-repo.sh:928:4: warning[SC2154]: test_srcdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def106]
/usr/libexec/installed-tests/Flatpak/test-repo.sh:929:50: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def107]
/usr/libexec/installed-tests/Flatpak/test-run.sh:22:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def108]
/usr/libexec/installed-tests/Flatpak/test-run.sh:197:37: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def109]
/usr/libexec/installed-tests/Flatpak/test-run.sh:204:18: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def110]
/usr/libexec/installed-tests/Flatpak/test-run.sh:204:40: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def111]
/usr/libexec/installed-tests/Flatpak/test-run.sh:205:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def112]
/usr/libexec/installed-tests/Flatpak/test-run.sh:205:34: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def113]
/usr/libexec/installed-tests/Flatpak/test-run.sh:209:18: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def114]
/usr/libexec/installed-tests/Flatpak/test-run.sh:209:40: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def115]
/usr/libexec/installed-tests/Flatpak/test-run.sh:210:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def116]
/usr/libexec/installed-tests/Flatpak/test-run.sh:210:34: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def117]
/usr/libexec/installed-tests/Flatpak/test-run.sh:250:26: warning[SC2154]: test_builddir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def118]
/usr/libexec/installed-tests/Flatpak/test-seccomp.sh:7:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def119]
/usr/libexec/installed-tests/Flatpak/test-seccomp.sh:16:39: warning[SC2154]: test_tmpdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-563): [#def120]
/usr/libexec/installed-tests/Flatpak/test-sideload.sh:22:1: warning[SC2034]: USE_COLLECTIONS_IN_SERVER appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def121]
/usr/libexec/installed-tests/Flatpak/test-sideload.sh:23:1: warning[SC2034]: USE_COLLECTIONS_IN_CLIENT appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-156): [#def122]
/usr/libexec/installed-tests/Flatpak/test-sideload.sh:25:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def123]
/usr/libexec/installed-tests/Flatpak/test-sideload.sh:55:58: warning[SC2154]: port is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def124]
/usr/libexec/installed-tests/Flatpak/test-subset.sh:22:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def125]
/usr/libexec/installed-tests/Flatpak/test-subset.sh:39:57: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def126]
/usr/libexec/installed-tests/Flatpak/test-subset.sh:40:57: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def127]
/usr/libexec/installed-tests/Flatpak/test-subset.sh:41:40: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def128]
/usr/libexec/installed-tests/Flatpak/test-summaries.sh:22:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def129]
/usr/libexec/installed-tests/Flatpak/test-summaries.sh:71:8: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-563): [#def130]
/usr/libexec/installed-tests/Flatpak/test-summaries.sh:111:9: warning[SC2034]: FROM appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-477): [#def131]
/usr/libexec/installed-tests/Flatpak/test-summaries.sh:139:22: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-569): [#def132]
/usr/libexec/installed-tests/Flatpak/test-summaries.sh:150:8: warning[SC2124]: Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
Error: SHELLCHECK_WARNING (CWE-563): [#def133]
/usr/libexec/installed-tests/Flatpak/test-summaries.sh:225:1: warning[SC2034]: OLD_OLD_ACTIVE_SUBSET appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def134]
/usr/libexec/installed-tests/Flatpak/test-summaries.sh:226:1: warning[SC2034]: OLD_OLD_ACTIVE_SUBSET_OTHER appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-156): [#def135]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:25:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-569): [#def136]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:32:19: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-569): [#def137]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:32:31: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-457): [#def138]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:35:99: warning[SC2154]: port is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def139]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:70:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-569): [#def140]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:86:55: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-569): [#def141]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:86:67: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-569): [#def142]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:87:101: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-569): [#def143]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:87:113: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-571): [#def144]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:97:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-569): [#def145]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:113:58: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-569): [#def146]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:113:70: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-569): [#def147]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:115:88: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-569): [#def148]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:115:100: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-140): [#def149]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:236:13: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-569): [#def150]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:258:19: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-569): [#def151]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:258:31: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-569): [#def152]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:263:121: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-569): [#def153]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:263:133: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-569): [#def154]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:266:119: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-569): [#def155]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:266:131: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-569): [#def156]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:275:113: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-569): [#def157]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:275:125: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-569): [#def158]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:278:111: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-569): [#def159]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:278:123: error[SC2261]: Multiple redirections compete for stdout. Use cat, tee, or pass filenames instead.
Error: SHELLCHECK_WARNING (CWE-457): [#def160]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:394:1: warning[SC2154]: test_builddir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def161]
/usr/libexec/installed-tests/Flatpak/test-unused.sh:430:6: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def162]
/usr/libexec/installed-tests/Flatpak/test-update-portal.sh:22:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def163]
/usr/libexec/installed-tests/Flatpak/test-update-portal.sh:32:24: warning[SC2154]: test_builddir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-398): [#def164]
/usr/libexec/installed-tests/Flatpak/test-update-portal.sh:84:1: warning[SC2038]: Use 'find .. -print0 | xargs -0 ..' or 'find .. -exec .. +' to allow non-alphanumeric filenames.
Error: SHELLCHECK_WARNING (CWE-156): [#def165]
/usr/libexec/installed-tests/Flatpak/test-update-remote-configuration.sh:25:3: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def166]
/usr/libexec/installed-tests/Flatpak/test-webserver.sh:9:1: warning[SC2046]: Quote this to prevent word splitting.
Error: CPPCHECK_WARNING (CWE-457): [#def167]
flatpak-1.16.0/app/flatpak-main.c:468: error[legacyUninitvar]: Uninitialized variable: dir
Error: CPPCHECK_WARNING (CWE-457): [#def168]
flatpak-1.16.0/common/flatpak-dir.c:869: error[legacyUninitvar]: Uninitialized variable: meta
Error: GCC_ANALYZER_WARNING (CWE-688): [#def169]
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-config.c:112:14: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-config.c:107:1: enter_function: entry to ‘looks_like_a_locale’
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-config.c:112:14: danger: argument 1 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def170]
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:134:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(g_path_get_dirname(file), 2621440)’
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:103:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:108:7: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:108:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:111:6: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:111:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:114:3: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:119:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:122:15: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:126:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:129:8: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:129:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:133:7: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:133:6: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:134:10: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:134:10: acquire_resource: opened here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:134:10: danger: ‘open(g_path_get_dirname(file), 2621440)’ leaks here; was opened at [(15)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def171]
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:136:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(file, 2621440)’
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:103:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:108:7: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:108:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:111:6: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:111:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:114:3: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:119:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:122:15: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:126:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:129:8: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:129:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:133:7: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:133:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:136:10: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:136:10: acquire_resource: opened here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-export.c:136:10: danger: ‘open(file, 2621440)’ leaks here; was opened at [(15)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def172]
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-unexport.c:90:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘doc_id’
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-unexport.c:48:1: enter_function: entry to ‘flatpak_builtin_document_unexport’
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-unexport.c:56:20: release_memory: ‘doc_id’ is NULL
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-unexport.c:61:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-unexport.c:66:7: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-unexport.c:66:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-unexport.c:69:6: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-unexport.c:69:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-unexport.c:72:3: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-unexport.c:75:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-unexport.c:78:15: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-unexport.c:82:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-unexport.c:85:7: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-unexport.c:85:6: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-unexport.c:86:14: call_function: inlined call to ‘g_strdup_inline’ from ‘flatpak_builtin_document_unexport’
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-unexport.c:90:7: release_memory: ‘doc_id’ is NULL
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-document-unexport.c:90:7: danger: dereference of NULL ‘doc_id’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def173]
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:214:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 0)’
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:106:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:109:6: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:109:6: branch_false: following ‘false’ branch (when ‘rest_argc > 1’)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:116:3: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:116:3: branch_true: following ‘true’ branch (when ‘rest_argv_start != 0’)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:118:15: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:137:6: branch_false: following ‘false’ branch (when ‘pid > 0’)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:140:15: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:141:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:148:3: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:152:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:155:14: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:157:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:160:15: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:162:6: branch_false: following ‘false’ branch...
branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:165:15: branch_true: following ‘true’ branch (when ‘i != 6’)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:171:11: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:183:10: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:194:11: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:201:10: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:204:11: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:204:10: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:211:11: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:214:18: acquire_resource: opened here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:214:18: danger: ‘open(path, 0)’ leaks here; was opened at [(25)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def174]
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:248:68: warning[-Wanalyzer-null-argument]: use of NULL ‘e’ where non-null expected
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:55:1: enter_function: entry to ‘flatpak_builtin_enter’
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:106:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:109:6: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:109:6: branch_false: following ‘false’ branch (when ‘rest_argc > 1’)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:116:3: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:116:3: branch_true: following ‘true’ branch (when ‘rest_argv_start != 0’)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:118:15: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:137:6: branch_false: following ‘false’ branch (when ‘pid > 0’)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:140:15: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:141:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:148:3: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:152:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:155:14: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:157:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:160:15: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:162:6: branch_false: following ‘false’ branch...
branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:165:15: branch_true: following ‘true’ branch (when ‘i != 6’)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:171:11: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:185:14: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:188:15: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:219:15: branch_true: following ‘true’ branch (when ‘i != 6’)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:221:11: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:233:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:236:7: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:236:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:239:7: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:239:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:242:7: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:242:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:245:3: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:248:25: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:250:11: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:250:10: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:251:12: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:252:12: branch_false: following ‘false’ branch (when ‘e’ is non-NULL)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:252:12: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:253:12: branch_false: following ‘false’ branch (when ‘e’ is non-NULL)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:253:12: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:254:12: branch_false: following ‘false’ branch (when ‘e’ is non-NULL)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:254:12: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:255:12: branch_false: following ‘false’ branch (when ‘e’ is non-NULL)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:255:12: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:257:15: branch_false: following ‘false’ branch (when ‘e’ is non-NULL)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:257:15: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:248:68: danger: argument 1 (‘e’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def175]
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:299:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ns_fd[0]’
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:55:1: enter_function: entry to ‘flatpak_builtin_enter’
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:106:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:109:6: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:109:6: branch_false: following ‘false’ branch (when ‘rest_argc > 1’)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:116:3: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:116:3: branch_true: following ‘true’ branch (when ‘rest_argv_start != 0’)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:118:15: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:137:6: branch_false: following ‘false’ branch (when ‘pid > 0’)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:140:15: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:141:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:148:3: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:152:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:155:14: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:157:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:160:15: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:162:6: branch_false: following ‘false’ branch...
branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:165:15: branch_true: following ‘true’ branch (when ‘i != 6’)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:171:11: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:183:10: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:194:11: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:201:10: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:204:11: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:204:10: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:211:11: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:214:18: acquire_resource: opened here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:215:10: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:168:24: call_function: inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘flatpak_builtin_enter’
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:165:15: branch_true: following ‘true’ branch (when ‘i != 6’)...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:171:11: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:185:14: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:191:44: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-enter.c:299:1: danger: ‘ns_fd[0]’ leaks here; was opened at [(26)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/25)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def176]
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:238:11: warning[-Wanalyzer-null-argument]: use of NULL ‘latest’ where non-null expected
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:84:1: enter_function: entry to ‘flatpak_builtin_info’
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:119:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:122:7: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:122:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:124:3: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:129:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:134:7: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:140:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:143:17: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:144:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:147:12: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:148:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:151:12: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:168:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:168:7: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:195:10: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:196:18: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:198:10: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:217:13: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:217:7: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:218:13: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:218:7: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:219:13: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:219:7: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:220:13: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:220:7: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:221:10: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:221:10: branch_false: following ‘false’ branch...
branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:223:10: branch_false: following ‘false’ branch...
branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:225:10: branch_false: following ‘false’ branch (when ‘collection_id’ is NULL)...
branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:227:7: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:228:13: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:228:7: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:229:11: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:234:10: branch_false: following ‘false’ branch (when ‘formatted_timestamp’ is NULL)...
branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:236:10: branch_false: following ‘false’ branch (when ‘subject’ is NULL)...
branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-info.c:238:11: danger: argument 2 (‘latest’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def177]
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-utils.c:1016:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-utils.c:995:1: enter_function: entry to ‘ellipsize_string_full’
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-utils.c:999:6: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../app/flatpak-builtins-utils.c:1016:17: danger: argument 1 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def178]
flatpak-1.16.0/redhat-linux-build/../common/flatpak-appdata.c:298:7: warning[-Wanalyzer-null-argument]: use of NULL ‘parent’ where non-null expected
flatpak-1.16.0/redhat-linux-build/../common/flatpak-appdata.c:282:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-appdata.c:285:3: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-appdata.c:285:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-appdata.c:287:15: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-appdata.c:289:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-appdata.c:297:7: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-appdata.c:297:6: branch_true: following ‘true’ branch (when the strings are equal)...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-appdata.c:298:7: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-appdata.c:298:7: danger: argument 1 (‘parent’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def179]
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:664:11: warning[-Wanalyzer-null-argument]: use of NULL ‘filesystem’ where non-null expected
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2832:1: enter_function: entry to ‘flatpak_context_export’
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2847:6: branch_false: following ‘false’ branch (when ‘xdg_dirs_conf_out’ is NULL)...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2850:13: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2910:6: branch_true: following ‘true’ branch (when ‘home_mode != 0’)...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2912:7: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2928:10: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2930:19: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2933:10: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2936:11: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2936:11: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2938:28: release_memory: ‘filesystem’ is NULL
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2943:16: call_function: calling ‘get_xdg_user_dir_from_string’ from ‘flatpak_context_export’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def180]
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2860:13: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/")’
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2847:6: branch_false: following ‘false’ branch (when ‘xdg_dirs_conf_out’ is NULL)...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2850:13: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2851:6: branch_true: following ‘true’ branch (when ‘fs_mode != 0’)...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2856:7: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2860:13: acquire_memory: allocated here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-context.c:2860:13: danger: ‘opendir("/")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def181]
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1079:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘local_error’
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1105:1: enter_function: entry to ‘flatpak_instance_iterate_all_and_gc’
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1112:6: branch_false: following ‘false’ branch...
branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1117:10: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1120:11: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1120:10: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1123:36: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1138:14: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1139:15: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1138:15: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1142:15: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1138:15: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1143:15: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1138:15: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1144:15: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1138:15: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1146:33: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1146:33: release_memory: ‘local_error’ is NULL
flatpak-1.16.0/redhat-linux-build/../common/flatpak-instance.c:1152:20: call_function: calling ‘flatpak_instance_gc_per_app_dirs’ from ‘flatpak_instance_iterate_all_and_gc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def182]
flatpak-1.16.0/redhat-linux-build/../common/flatpak-ref-utils.c:1578:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘local_error’
flatpak-1.16.0/redhat-linux-build/../common/flatpak-ref-utils.c:1537:1: enter_function: entry to ‘_flatpak_split_partial_ref_arg’
flatpak-1.16.0/redhat-linux-build/../common/flatpak-ref-utils.c:1557:21: release_memory: ‘local_error’ is NULL
flatpak-1.16.0/redhat-linux-build/../common/flatpak-ref-utils.c:1574:12: call_function: calling ‘next_element’ from ‘_flatpak_split_partial_ref_arg’
flatpak-1.16.0/redhat-linux-build/../common/flatpak-ref-utils.c:1574:12: return_function: returning to ‘_flatpak_split_partial_ref_arg’ from ‘next_element’
flatpak-1.16.0/redhat-linux-build/../common/flatpak-ref-utils.c:1577:6: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-ref-utils.c:1578:105: release_memory: ‘local_error’ is NULL
flatpak-1.16.0/redhat-linux-build/../common/flatpak-ref-utils.c:1578:12: danger: dereference of NULL ‘local_error’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def183]
flatpak-1.16.0/redhat-linux-build/../common/flatpak-run-dbus.c:44:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(app_info_path, 524288)’
flatpak-1.16.0/redhat-linux-build/../common/flatpak-run-dbus.c:44:17: acquire_resource: opened here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-run-dbus.c:44:17: danger: ‘open(app_info_path, 524288)’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def184]
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1495:6: warning[-Wanalyzer-deref-before-check]: check of ‘arg_cwd_path’ for NULL after already dereferencing it
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:747:1: enter_function: entry to ‘handle_spawn’
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:809:6: branch_false: following ‘false’ branch (when ‘fd_list’ is NULL)...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:812:14: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:813:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:815:12: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:818:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:820:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:831:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:839:7: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:839:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:842:6: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:842:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:850:6: branch_false: following ‘false’ branch (when ‘arg_flags <= 511’)...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:857:6: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:857:6: branch_false: following ‘false’ branch (when ‘testing == 0’)...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:860:19: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:864:6: branch_false: following ‘false’ branch (when ‘runtime_ref’ is non-NULL)...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:871:19: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:911:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:918:6: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:918:6: branch_false: following ‘false’ branch...
branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:974:6: branch_false: following ‘false’ branch (when ‘fds’ is NULL)...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:977:12: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:980:15: branch_false: following ‘false’ branch (when ‘i >= n_fds’)...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1018:6: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1018:6: branch_false: following ‘false’ branch (when ‘testing == 0’)...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1024:21: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1029:6: branch_false: following ‘false’ branch (when ‘instance_id’ is non-NULL)...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1037:14: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1038:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1051:7: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1051:6: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1053:13: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1084:36: call_function: inlined call to ‘g_strdup_inline’ from ‘handle_spawn’
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1172:15: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1200:7: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1283:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1310:6: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1322:6: branch_true: following ‘true’ branch...
branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1414:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1450:11: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1455:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1484:34: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1495:6: danger: pointer ‘arg_cwd_path’ is checked for NULL here but it was already dereferenced at [(10)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def185]
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1930:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1909:1: enter_function: entry to ‘check_for_updates’
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1919:21: release_memory: ‘error’ is NULL
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1927:18: call_function: calling ‘lookup_installation_for_path’ from ‘check_for_updates’
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1927:18: return_function: returning to ‘check_for_updates’ from ‘lookup_installation_for_path’
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1928:6: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1930:7: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1930:7: release_memory: ‘error’ is NULL
flatpak-1.16.0/redhat-linux-build/../portal/flatpak-portal.c:1930:7: danger: dereference of NULL ‘error’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def186]
flatpak-1.16.0/redhat-linux-build/../subprojects/libglnx/glnx-local-alloc.h:74:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
flatpak-1.16.0/redhat-linux-build/../common/flatpak-run-dbus.c:34:1: enter_function: entry to ‘add_bwrap_wrapper’
flatpak-1.16.0/redhat-linux-build/../common/flatpak-run-dbus.c:44:17: acquire_resource: opened here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-run-dbus.c:45:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../common/flatpak-run-dbus.c:48:8: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../common/flatpak-run-dbus.c:38:19: call_function: calling ‘glnx_close_fd’ from ‘add_bwrap_wrapper’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def187]
flatpak-1.16.0/redhat-linux-build/../subprojects/libglnx/glnx-lockfile.c:91:22: warning[-Wanalyzer-null-argument]: use of NULL ‘p’ where non-null expected
flatpak-1.16.0/redhat-linux-build/../subprojects/libglnx/glnx-lockfile.c:64:1: enter_function: entry to ‘glnx_make_lock_file’
flatpak-1.16.0/redhat-linux-build/../subprojects/libglnx/glnx-lockfile.c:91:22: danger: argument 2 (‘p’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def188]
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:2086:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sys_error’
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:1922:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:1931:12: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:1931:11: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:2015:12: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:2015:11: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:2030:12: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:2030:11: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:2043:12: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:2043:11: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:2049:25: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:2049:25: release_memory: ‘error’ is NULL
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:2057:10: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:2064:16: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:2076:10: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:2080:29: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:2080:29: release_memory: ‘sys_error’ is NULL
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:2084:14: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:2087:114: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:2087:114: release_memory: ‘sys_error’ is NULL
flatpak-1.16.0/redhat-linux-build/../system-helper/flatpak-system-helper.c:2086:15: danger: dereference of NULL ‘sys_error’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def189]
flatpak-1.16.0/redhat-linux-build/../tests/test-context.c:151:10: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (2 consumed)
flatpak-1.16.0/redhat-linux-build/../tests/test-context.c:453:1: enter_function: entry to ‘test_validate_path_args’
flatpak-1.16.0/redhat-linux-build/../tests/test-context.c:457:17: branch_true: following ‘true’ branch (when ‘idx != 3’)...
flatpak-1.16.0/redhat-linux-build/../tests/test-context.c:459:43: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/test-context.c:463:7: call_function: calling ‘context_parse_args’ from ‘test_validate_path_args’ with 2 variadic arguments
Error: GCC_ANALYZER_WARNING (CWE-685): [#def190]
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:150:7: warning[-Wanalyzer-va-list-exhausted]: ‘args’ has no more arguments (1 consumed)
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:160:1: enter_function: entry to ‘test_parse_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:165:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-685): [#def191]
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:150:7: warning[-Wanalyzer-va-list-exhausted]: ‘args’ has no more arguments (2 consumed)
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:160:1: enter_function: entry to ‘test_parse_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:165:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 1 variadic argument
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:165:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:166:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:166:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:169:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 2 variadic arguments
Error: GCC_ANALYZER_WARNING (CWE-685): [#def192]
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:150:7: warning[-Wanalyzer-va-list-exhausted]: ‘args’ has no more arguments (3 consumed)
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:160:1: enter_function: entry to ‘test_parse_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:165:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 1 variadic argument
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:165:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:166:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:166:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:169:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 2 variadic arguments
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:169:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:170:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:170:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:173:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 4 variadic arguments
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:173:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:174:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:174:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:177:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 4 variadic arguments
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:177:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:178:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:178:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:187:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 3 variadic arguments
Error: GCC_ANALYZER_WARNING (CWE-685): [#def193]
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:150:7: warning[-Wanalyzer-va-list-exhausted]: ‘args’ has no more arguments (4 consumed)
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:160:1: enter_function: entry to ‘test_parse_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:165:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 1 variadic argument
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:165:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:166:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:166:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:169:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 2 variadic arguments
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:169:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:170:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:170:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:173:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 4 variadic arguments
Error: GCC_ANALYZER_WARNING (CWE-685): [#def194]
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:150:7: warning[-Wanalyzer-va-list-exhausted]: ‘args’ has no more arguments (5 consumed)
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:160:1: enter_function: entry to ‘test_parse_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:165:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 1 variadic argument
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:165:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:166:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:166:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:169:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 2 variadic arguments
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:169:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:170:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:170:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:173:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 4 variadic arguments
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:173:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:174:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:174:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:177:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 4 variadic arguments
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:177:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:178:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:178:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:187:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 3 variadic arguments
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:187:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:188:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:188:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:191:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 5 variadic arguments
Error: GCC_ANALYZER_WARNING (CWE-685): [#def195]
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:154:3: warning[-Wanalyzer-va-list-exhausted]: ‘args’ has no more arguments (1 consumed)
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:160:1: enter_function: entry to ‘test_parse_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:165:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-685): [#def196]
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:154:3: warning[-Wanalyzer-va-list-exhausted]: ‘args’ has no more arguments (2 consumed)
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:160:1: enter_function: entry to ‘test_parse_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:165:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 1 variadic argument
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:165:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:166:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:166:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:169:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 2 variadic arguments
Error: GCC_ANALYZER_WARNING (CWE-685): [#def197]
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:154:3: warning[-Wanalyzer-va-list-exhausted]: ‘args’ has no more arguments (3 consumed)
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:160:1: enter_function: entry to ‘test_parse_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:165:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 1 variadic argument
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:165:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:166:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:166:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:169:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 2 variadic arguments
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:169:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:170:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:170:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:173:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 4 variadic arguments
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:173:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:174:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:174:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:177:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 4 variadic arguments
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:177:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:178:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:178:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:187:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 3 variadic arguments
Error: GCC_ANALYZER_WARNING (CWE-685): [#def198]
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:154:3: warning[-Wanalyzer-va-list-exhausted]: ‘args’ has no more arguments (4 consumed)
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:160:1: enter_function: entry to ‘test_parse_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:165:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 1 variadic argument
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:165:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:166:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:166:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:169:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 2 variadic arguments
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:169:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:170:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:170:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:173:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 4 variadic arguments
Error: GCC_ANALYZER_WARNING (CWE-685): [#def199]
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:154:3: warning[-Wanalyzer-va-list-exhausted]: ‘args’ has no more arguments (5 consumed)
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:160:1: enter_function: entry to ‘test_parse_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:165:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 1 variadic argument
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:165:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:166:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:166:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:169:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 2 variadic arguments
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:169:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:170:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:170:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:173:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 4 variadic arguments
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:173:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:174:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:174:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:177:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 4 variadic arguments
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:177:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:178:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:178:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:187:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 3 variadic arguments
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:187:3: return_function: returning to ‘test_parse_numbers’ from ‘assert_numbers’
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:188:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:188:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testapp.c:191:3: call_function: calling ‘assert_numbers’ from ‘test_parse_numbers’ with 5 variadic arguments
Error: GCC_ANALYZER_WARNING (CWE-476): [#def200]
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:223:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘newline’
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:164:1: enter_function: entry to ‘tests_dbus_daemon_setup’
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:175:3: branch_true: following ‘true’ branch (when ‘self’ is non-NULL)...
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:176:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:176:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:177:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:177:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:178:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:178:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:180:20: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:186:3: call_function: calling ‘replace_tokens’ from ‘tests_dbus_daemon_setup’
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:186:3: return_function: returning to ‘tests_dbus_daemon_setup’ from ‘replace_tokens’
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:204:10: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:219:3: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:222:3: branch_false: following ‘false’ branch (when ‘newline’ is NULL)...
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:222:3: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:223:3: danger: dereference of NULL ‘newline’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def201]
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:265:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(2, 1)’
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:262:6: branch_false: following ‘false’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:265:7: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:265:7: acquire_resource: opened here
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:265:6: danger: ‘dup2(2, 1)’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def202]
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:279:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(*original.fd, 1)’
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:276:3: branch_true: following ‘true’ branch (when ‘original’ is non-NULL)...
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:277:3: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:277:3: branch_true: following ‘true’ branch...
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:279:7: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:279:7: acquire_resource: opened here
flatpak-1.16.0/redhat-linux-build/../tests/testlib.c:279:6: danger: ‘dup2(*original.fd, 1)’ leaks here; was opened at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING: [#def203]
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:166:15: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘-1’
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:84:15: branch_true: following ‘true’ branch (when ‘i < argc’)...
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:86:29: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:88:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:96:16: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:96:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:105:16: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:105:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:114:16: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:114:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:123:16: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:123:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:132:16: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:132:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:142:16: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:142:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:154:16: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:154:15: branch_false: following ‘false’ branch (when the strings are non-equal)...
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:163:15: branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:163:14: branch_true: following ‘true’ branch (when the strings are equal)...
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:166:15: branch_true: ...to here
flatpak-1.16.0/redhat-linux-build/../tests/try-syscall.c:166:15: danger: ‘-1’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-457): [#def204]
flatpak-1.16.0/redhat-linux-build/app/parse-datetime.c:1558:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(long int *)<unknown>’
flatpak-1.16.0/redhat-linux-build/../app/parse-datetime.y:1268:1: enter_function: entry to ‘parse_datetime’
flatpak-1.16.0/redhat-linux-build/../app/parse-datetime.y:1294:6: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
branch_false: ...to here
flatpak-1.16.0/redhat-linux-build/../app/parse-datetime.y:1427:7: call_function: calling ‘yyparse’ from ‘parse_datetime’
Error: CPPCHECK_WARNING (CWE-457): [#def205]
flatpak-1.16.0/subprojects/libglnx/glnx-xattrs.c:384: error[uninitvar]: Uninitialized variable: bytes_read
Error: CPPCHECK_WARNING (CWE-457): [#def206]
flatpak-1.16.0/subprojects/libglnx/glnx-xattrs.c:388: error[uninitvar]: Uninitialized variable: real_size
Error: CPPCHECK_WARNING (CWE-457): [#def207]
flatpak-1.16.0/subprojects/libglnx/glnx-xattrs.c:409: error[uninitvar]: Uninitialized variable: bytes_read
Error: CPPCHECK_WARNING (CWE-457): [#def208]
flatpak-1.16.0/subprojects/libglnx/glnx-xattrs.c:413: error[uninitvar]: Uninitialized variable: real_size
Scan Properties
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-231.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | flatpak-1.16.0-3.fc43 |
store-results-to | /tmp/tmp16tcfhze/flatpak-1.16.0-3.fc43.tar.xz |
time-created | 2025-04-25 12:43:01 |
time-finished | 2025-04-25 12:46:56 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp16tcfhze/flatpak-1.16.0-3.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp16tcfhze/flatpak-1.16.0-3.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |