pacman-7.0.0-5.fc44
List of Findings
Error: SHELLCHECK_WARNING (CWE-571): [#def1]
/usr/bin/makepkg:144:10: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-88): [#def2]
/usr/bin/makepkg:164:16: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def3]
/usr/bin/makepkg:170:15: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def4]
/usr/bin/makepkg:205:40: warning[SC2154]: pkgver is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def5]
/usr/bin/makepkg:216:10: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def6]
/usr/bin/makepkg:250:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def7]
/usr/bin/makepkg:303:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-140): [#def8]
/usr/bin/makepkg:322:11: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING (CWE-670): [#def9]
/usr/bin/makepkg:323:8: warning[SC2128]: Expanding an array without an index only gives the first element.
Error: SHELLCHECK_WARNING (CWE-88): [#def10]
/usr/bin/makepkg:333:13: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-140): [#def11]
/usr/bin/makepkg:352:11: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING (CWE-670): [#def12]
/usr/bin/makepkg:354:11: warning[SC2128]: Expanding an array without an index only gives the first element.
Error: SHELLCHECK_WARNING (CWE-88): [#def13]
/usr/bin/makepkg:360:23: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-398): [#def14]
/usr/bin/makepkg:381:30: error[SC1087]: Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
Error: SHELLCHECK_WARNING (CWE-569): [#def15]
/usr/bin/makepkg:404:24: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-571): [#def16]
/usr/bin/makepkg:427:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def17]
/usr/bin/makepkg:490:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def18]
/usr/bin/makepkg:502:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-670): [#def19]
/usr/bin/makepkg:510:27: warning[SC2128]: Expanding an array without an index only gives the first element.
Error: SHELLCHECK_WARNING (CWE-457): [#def20]
/usr/bin/makepkg:511:23: warning[SC2154]: url is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def21]
/usr/bin/makepkg:517:31: warning[SC2154]: license is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def22]
/usr/bin/makepkg:518:31: warning[SC2154]: replaces is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def23]
/usr/bin/makepkg:519:31: warning[SC2154]: groups is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def24]
/usr/bin/makepkg:520:31: warning[SC2154]: conflicts is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def25]
/usr/bin/makepkg:522:31: warning[SC2154]: backup is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def26]
/usr/bin/makepkg:523:31: warning[SC2154]: depends is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def27]
/usr/bin/makepkg:524:31: warning[SC2154]: optdepends is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def28]
/usr/bin/makepkg:525:31: warning[SC2154]: makedepends is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def29]
/usr/bin/makepkg:526:31: warning[SC2154]: checkdepends is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def30]
/usr/bin/makepkg:535:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def31]
/usr/bin/makepkg:540:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-140): [#def32]
/usr/bin/makepkg:553:25: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING (CWE-571): [#def33]
/usr/bin/makepkg:610:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-88): [#def34]
/usr/bin/makepkg:656:13: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-153): [#def35]
/usr/bin/makepkg:657:17: warning[SC2053]: Quote the right-hand side of != in [[ ]] to prevent glob matching.
Error: SHELLCHECK_WARNING (CWE-571): [#def36]
/usr/bin/makepkg:672:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-140): [#def37]
/usr/bin/makepkg:697:24: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def38]
/usr/bin/makepkg:716:11: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-88): [#def39]
/usr/bin/makepkg:720:13: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def40]
/usr/bin/makepkg:720:13: warning[SC2154]: validpgpkeys is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def41]
/usr/bin/makepkg:728:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-670): [#def42]
/usr/bin/makepkg:757:56: warning[SC2128]: Expanding an array without an index only gives the first element.
Error: SHELLCHECK_WARNING (CWE-88): [#def43]
/usr/bin/makepkg:766:13: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-670): [#def44]
/usr/bin/makepkg:787:21: warning[SC2128]: Expanding an array without an index only gives the first element.
Error: SHELLCHECK_WARNING (CWE-88): [#def45]
/usr/bin/makepkg:801:14: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def46]
/usr/bin/makepkg:831:13: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def47]
/usr/bin/makepkg:831:13: warning[SC2154]: pkgbuild_schema_package_overrides is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-398): [#def48]
/usr/bin/makepkg:833:27: error[SC1087]: Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
Error: SHELLCHECK_WARNING (CWE-88): [#def49]
/usr/bin/makepkg:839:13: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-398): [#def50]
/usr/bin/makepkg:842:23: error[SC1087]: Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
Error: SHELLCHECK_WARNING (CWE-670): [#def51]
/usr/bin/makepkg:850:28: warning[SC2128]: Expanding an array without an index only gives the first element.
Error: SHELLCHECK_WARNING (CWE-456): [#def52]
/usr/bin/makepkg:864:30: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-88): [#def53]
/usr/bin/makepkg:866:17: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-563): [#def54]
/usr/bin/makepkg:983:28: warning[SC2034]: MAKEPKG_CONF appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def55]
/usr/bin/makepkg:991:21: warning[SC2034]: HOLDVER appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-571): [#def56]
/usr/bin/makepkg:1037:12: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-569): [#def57]
/usr/bin/makepkg:1042:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-569): [#def58]
/usr/bin/makepkg:1042:28: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-569): [#def59]
/usr/bin/makepkg:1042:74: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-563): [#def60]
/usr/bin/makepkg:1102:2: warning[SC2034]: IGNOREARCH appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def61]
/usr/bin/makepkg:1123:16: warning[SC2154]: pkgbuild_schema_strings is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def62]
/usr/bin/makepkg:1123:48: warning[SC2154]: pkgbuild_schema_arrays is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def63]
/usr/bin/makepkg:1124:8: warning[SC2154]: known_hash_algos is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-670): [#def64]
/usr/bin/makepkg:1191:54: warning[SC2128]: Expanding an array without an index only gives the first element.
Error: SHELLCHECK_WARNING (CWE-140): [#def65]
/usr/bin/makepkg:1314:21: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING (CWE-88): [#def66]
/usr/bin/makepkg:1319:15: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-140): [#def67]
/usr/bin/makepkg:1322:21: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING (CWE-140): [#def68]
/usr/bin/makepkg:1333:20: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING (CWE-571): [#def69]
/usr/bin/pacman-db-upgrade:73:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-156): [#def70]
/usr/bin/pacman-key:58:69: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-563): [#def71]
/usr/bin/pacman-key:222:17: warning[SC2034]: keyserv appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-277): [#def72]
/usr/bin/pacman-key:225:45: warning[SC2174]: When used with -p, -m only applies to the deepest directory.
Error: SHELLCHECK_WARNING (CWE-571): [#def73]
/usr/bin/pacman-key:243:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-563): [#def74]
/usr/bin/pacman-key:313:8: warning[SC2034]: keys appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def75]
/usr/bin/repo-add:28:12: warning[SC2034]: confdir appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def76]
/usr/bin/repo-add:196:8: warning[SC2034]: junk appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def77]
/usr/bin/repo-add:224:22: warning[SC2154]: group is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def78]
/usr/bin/repo-add:225:26: warning[SC2154]: license is referenced but not assigned (did you mean '_licenses'?).
Error: SHELLCHECK_WARNING (CWE-457): [#def79]
/usr/bin/repo-add:226:27: warning[SC2154]: replaces is referenced but not assigned (did you mean '_replaces'?).
Error: SHELLCHECK_WARNING (CWE-457): [#def80]
/usr/bin/repo-add:227:24: warning[SC2154]: depend is referenced but not assigned (did you mean '_depends'?).
Error: SHELLCHECK_WARNING (CWE-457): [#def81]
/usr/bin/repo-add:228:28: warning[SC2154]: conflict is referenced but not assigned (did you mean '_conflicts'?).
Error: SHELLCHECK_WARNING (CWE-457): [#def82]
/usr/bin/repo-add:229:27: warning[SC2154]: provides is referenced but not assigned (did you mean '_provides'?).
Error: SHELLCHECK_WARNING (CWE-457): [#def83]
/usr/bin/repo-add:230:30: warning[SC2154]: optdepend is referenced but not assigned (did you mean '_optdepends'?).
Error: SHELLCHECK_WARNING (CWE-457): [#def84]
/usr/bin/repo-add:231:32: warning[SC2154]: makedepend is referenced but not assigned (did you mean '_makedepends'?).
Error: SHELLCHECK_WARNING (CWE-457): [#def85]
/usr/bin/repo-add:232:34: warning[SC2154]: checkdepend is referenced but not assigned (did you mean '_checkdepends'?).
Error: SHELLCHECK_WARNING (CWE-571): [#def86]
/usr/bin/repo-add:251:10: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def87]
/usr/bin/repo-add:259:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def88]
/usr/bin/repo-add:260:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-252): [#def89]
/usr/bin/repo-add:291:2: warning[SC2164]: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def90]
/usr/bin/repo-add:293:2: warning[SC2164]: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def91]
/usr/bin/repo-add:328:2: warning[SC2164]: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def92]
/usr/bin/repo-add:329:2: warning[SC2164]: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
Error: SHELLCHECK_WARNING (CWE-571): [#def93]
/usr/bin/repo-add:355:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def94]
/usr/bin/repo-add:364:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-252): [#def95]
/usr/bin/repo-add:480:2: warning[SC2164]: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def96]
/usr/bin/repo-add:518:2: warning[SC2164]: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def97]
/usr/bin/repo-add:530:3: warning[SC2164]: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def98]
/usr/bin/repo-add:538:3: warning[SC2164]: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
Error: SHELLCHECK_WARNING (CWE-569): [#def99]
/usr/bin/repo-add:602:20: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-569): [#def100]
/usr/bin/repo-add:602:66: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-563): [#def101]
/usr/bin/repo-add:621:15: warning[SC2034]: QUIET appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-88): [#def102]
/usr/share/makepkg/autodep.sh:35:14: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-563): [#def103]
/usr/share/makepkg/autodep/library_depends.sh:30:9: warning[SC2034]: dep appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-88): [#def104]
/usr/share/makepkg/autodep/library_depends.sh:53:19: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-153): [#def105]
/usr/share/makepkg/autodep/library_depends.sh:54:28: warning[SC2053]: Quote the right-hand side of == in [[ ]] to prevent glob matching.
Error: SHELLCHECK_WARNING (CWE-457): [#def106]
/usr/share/makepkg/autodep/library_depends.sh:71:18: warning[SC2154]: pkgdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-140): [#def107]
/usr/share/makepkg/autodep/library_depends.sh:73:13: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING (CWE-88): [#def108]
/usr/share/makepkg/autodep/library_provides.sh:30:14: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def109]
/usr/share/makepkg/autodep/library_provides.sh:34:16: warning[SC2154]: pkgdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def110]
/usr/share/makepkg/autodep/library_provides.sh:44:12: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-563): [#def111]
/usr/share/makepkg/buildenv.sh:34:46: warning[SC2034]: build_options appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-88): [#def112]
/usr/share/makepkg/buildenv.sh:40:14: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def113]
/usr/share/makepkg/buildenv.sh:45:9: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def114]
/usr/share/makepkg/buildenv/buildflags.sh:32:9: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def115]
/usr/share/makepkg/buildenv/buildflags.sh:32:9: warning[SC2154]: buildenv_vars is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def116]
/usr/share/makepkg/buildenv/compiler.sh:50:27: warning[SC2154]: srcdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def117]
/usr/share/makepkg/buildenv/debugflags.sh:34:47: warning[SC2154]: srcdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def118]
/usr/share/makepkg/buildenv/debugflags.sh:34:84: warning[SC2154]: pkgbase is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def119]
/usr/share/makepkg/buildenv/fortran.sh:34:47: warning[SC2154]: srcdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def120]
/usr/share/makepkg/buildenv/fortran.sh:34:84: warning[SC2154]: pkgbase is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def121]
/usr/share/makepkg/buildenv/rust.sh:34:52: warning[SC2154]: srcdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def122]
/usr/share/makepkg/buildenv/rust.sh:34:89: warning[SC2154]: pkgbase is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def123]
/usr/share/makepkg/executable.sh:37:14: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def124]
/usr/share/makepkg/executable/vcs.sh:68:27: warning[SC2154]: pkg is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def125]
/usr/share/makepkg/executable/vcs.sh:76:17: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-571): [#def126]
/usr/share/makepkg/executable/vcs.sh:77:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-88): [#def127]
/usr/share/makepkg/executable/vcs.sh:89:31: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def128]
/usr/share/makepkg/integrity/generate_checksum.sh:103:27: warning[SC2154]: known_hash_algos is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def129]
/usr/share/makepkg/integrity/generate_signature.sh:56:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def130]
/usr/share/makepkg/integrity/generate_signature.sh:60:14: warning[SC2154]: pkgname is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def131]
/usr/share/makepkg/integrity/generate_signature.sh:69:7: warning[SC2154]: pkgbase is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-563): [#def132]
/usr/share/makepkg/integrity/verify_checksum.sh:22:1: warning[SC2034]: LIBMAKEPKG_INTEGRITY_CHECKSUM_SH appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def133]
/usr/share/makepkg/integrity/verify_checksum.sh:38:5: warning[SC2154]: source is referenced but not assigned (did you mean 'sources'?).
Error: SHELLCHECK_WARNING (CWE-457): [#def134]
/usr/share/makepkg/integrity/verify_checksum.sh:50:16: warning[SC2154]: known_hash_algos is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def135]
/usr/share/makepkg/integrity/verify_signature.sh:44:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def136]
/usr/share/makepkg/integrity/verify_signature.sh:45:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def137]
/usr/share/makepkg/integrity/verify_signature.sh:90:10: warning[SC2154]: validpgpkeys is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def138]
/usr/share/makepkg/integrity/verify_signature.sh:91:65: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-88): [#def139]
/usr/share/makepkg/lint_config.sh:42:14: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def140]
/usr/share/makepkg/lint_config/paths.sh:37:11: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def141]
/usr/share/makepkg/lint_config/variable.sh:43:11: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-398): [#def142]
/usr/share/makepkg/lint_config/variable.sh:44:21: error[SC1087]: Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
Error: SHELLCHECK_WARNING (CWE-88): [#def143]
/usr/share/makepkg/lint_config/variable.sh:53:11: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-398): [#def144]
/usr/share/makepkg/lint_config/variable.sh:54:21: error[SC1087]: Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
Error: SHELLCHECK_WARNING (CWE-457): [#def145]
/usr/share/makepkg/lint_package.sh:40:11: warning[SC2154]: pkgdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def146]
/usr/share/makepkg/lint_package.sh:44:14: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def147]
/usr/share/makepkg/lint_package/build_references.sh:34:29: warning[SC2154]: pkgdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def148]
/usr/share/makepkg/lint_package/dotfiles.sh:33:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def149]
/usr/share/makepkg/lint_package/dotfiles.sh:36:12: warning[SC2154]: pkgdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def150]
/usr/share/makepkg/lint_package/file_names.sh:34:29: warning[SC2154]: pkgdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def151]
/usr/share/makepkg/lint_package/missing_backup.sh:33:15: warning[SC2154]: backup is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def152]
/usr/share/makepkg/lint_pkgbuild.sh:41:14: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def153]
/usr/share/makepkg/lint_pkgbuild/arch.sh:36:21: warning[SC2154]: arch is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def154]
/usr/share/makepkg/lint_pkgbuild/arch.sh:54:72: warning[SC2154]: pkgbase is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def155]
/usr/share/makepkg/lint_pkgbuild/arch.sh:58:15: warning[SC2154]: pkgname is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def156]
/usr/share/makepkg/lint_pkgbuild/arch_specific.sh:39:11: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def157]
/usr/share/makepkg/lint_pkgbuild/arch_specific.sh:39:11: warning[SC2154]: arch is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def158]
/usr/share/makepkg/lint_pkgbuild/arch_specific.sh:41:13: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def159]
/usr/share/makepkg/lint_pkgbuild/arch_specific.sh:41:13: warning[SC2154]: pkgbuild_schema_arch_arrays is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def160]
/usr/share/makepkg/lint_pkgbuild/arch_specific.sh:49:12: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def161]
/usr/share/makepkg/lint_pkgbuild/arch_specific.sh:49:12: warning[SC2154]: pkgbuild_schema_arrays is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def162]
/usr/share/makepkg/lint_pkgbuild/arch_specific.sh:49:41: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def163]
/usr/share/makepkg/lint_pkgbuild/arch_specific.sh:49:41: warning[SC2154]: pkgbuild_schema_strings is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def164]
/usr/share/makepkg/lint_pkgbuild/arch_specific.sh:50:18: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def165]
/usr/share/makepkg/lint_pkgbuild/arch_specific.sh:60:13: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def166]
/usr/share/makepkg/lint_pkgbuild/arch_specific.sh:60:13: warning[SC2154]: pkgname is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def167]
/usr/share/makepkg/lint_pkgbuild/arch_specific.sh:61:12: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def168]
/usr/share/makepkg/lint_pkgbuild/arch_specific.sh:63:14: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def169]
/usr/share/makepkg/lint_pkgbuild/arch_specific.sh:71:13: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def170]
/usr/share/makepkg/lint_pkgbuild/arch_specific.sh:71:42: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def171]
/usr/share/makepkg/lint_pkgbuild/arch_specific.sh:72:19: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def172]
/usr/share/makepkg/lint_pkgbuild/backup.sh:36:16: warning[SC2154]: backup is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def173]
/usr/share/makepkg/lint_pkgbuild/backup.sh:37:15: warning[SC2154]: pkgname is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def174]
/usr/share/makepkg/lint_pkgbuild/changelog.sh:37:19: warning[SC2154]: changelog is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-140): [#def175]
/usr/share/makepkg/lint_pkgbuild/changelog.sh:40:24: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-571): [#def176]
/usr/share/makepkg/lint_pkgbuild/checkdepends.sh:41:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def177]
/usr/share/makepkg/lint_pkgbuild/conflicts.sh:41:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def178]
/usr/share/makepkg/lint_pkgbuild/depends.sh:41:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-563): [#def179]
/usr/share/makepkg/lint_pkgbuild/install.sh:35:8: warning[SC2034]: list appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def180]
/usr/share/makepkg/lint_pkgbuild/install.sh:37:17: warning[SC2154]: install is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-140): [#def181]
/usr/share/makepkg/lint_pkgbuild/install.sh:40:24: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-571): [#def182]
/usr/share/makepkg/lint_pkgbuild/makedepends.sh:41:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-563): [#def183]
/usr/share/makepkg/lint_pkgbuild/optdepends.sh:41:8: warning[SC2034]: shellopts appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-571): [#def184]
/usr/share/makepkg/lint_pkgbuild/optdepends.sh:41:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def185]
/usr/share/makepkg/lint_pkgbuild/options.sh:36:17: warning[SC2154]: options is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def186]
/usr/share/makepkg/lint_pkgbuild/options.sh:37:15: warning[SC2154]: pkgname is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def187]
/usr/share/makepkg/lint_pkgbuild/options.sh:45:16: warning[SC2154]: packaging_options is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def188]
/usr/share/makepkg/lint_pkgbuild/options.sh:45:42: warning[SC2154]: build_options is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def189]
/usr/share/makepkg/lint_pkgbuild/package_function.sh:36:8: warning[SC2154]: pkgname is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def190]
/usr/share/makepkg/lint_pkgbuild/package_function.sh:46:79: warning[SC2154]: pkgbase is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def191]
/usr/share/makepkg/lint_pkgbuild/package_function_variable.sh:39:13: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def192]
/usr/share/makepkg/lint_pkgbuild/package_function_variable.sh:39:13: warning[SC2154]: pkgname is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def193]
/usr/share/makepkg/lint_pkgbuild/package_function_variable.sh:40:12: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def194]
/usr/share/makepkg/lint_pkgbuild/package_function_variable.sh:40:12: warning[SC2154]: arch is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def195]
/usr/share/makepkg/lint_pkgbuild/package_function_variable.sh:43:13: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def196]
/usr/share/makepkg/lint_pkgbuild/package_function_variable.sh:43:13: warning[SC2154]: pkgbuild_schema_arrays is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def197]
/usr/share/makepkg/lint_pkgbuild/package_function_variable.sh:43:42: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def198]
/usr/share/makepkg/lint_pkgbuild/package_function_variable.sh:43:42: warning[SC2154]: pkgbuild_schema_strings is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def199]
/usr/share/makepkg/lint_pkgbuild/package_function_variable.sh:44:19: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def200]
/usr/share/makepkg/lint_pkgbuild/package_function_variable.sh:44:19: warning[SC2154]: pkgbuild_schema_package_overrides is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def201]
/usr/share/makepkg/lint_pkgbuild/package_function_variable.sh:52:12: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def202]
/usr/share/makepkg/lint_pkgbuild/package_function_variable.sh:52:41: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def203]
/usr/share/makepkg/lint_pkgbuild/package_function_variable.sh:53:18: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def204]
/usr/share/makepkg/lint_pkgbuild/pkglist.sh:37:23: warning[SC2154]: pkgname is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-398): [#def205]
/usr/share/makepkg/lint_pkgbuild/pkgname.sh:64:11: error[SC2199]: Arrays implicitly concatenate in [[ ]]. Use a loop (or explicit * instead of @).
Error: SHELLCHECK_WARNING (CWE-457): [#def206]
/usr/share/makepkg/lint_pkgbuild/pkgrel.sh:46:16: warning[SC2154]: pkgrel is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def207]
/usr/share/makepkg/lint_pkgbuild/pkgver.sh:52:16: warning[SC2154]: pkgver is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def208]
/usr/share/makepkg/lint_pkgbuild/provides.sh:41:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def209]
/usr/share/makepkg/lint_pkgbuild/source.sh:33:14: warning[SC2154]: source is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-563): [#def210]
/usr/share/makepkg/lint_pkgbuild/variable.sh:34:16: warning[SC2034]: out appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def211]
/usr/share/makepkg/lint_pkgbuild/variable.sh:34:20: warning[SC2034]: bad appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-88): [#def212]
/usr/share/makepkg/lint_pkgbuild/variable.sh:37:11: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def213]
/usr/share/makepkg/lint_pkgbuild/variable.sh:37:11: warning[SC2154]: pkgbuild_schema_arrays is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def214]
/usr/share/makepkg/lint_pkgbuild/variable.sh:46:11: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def215]
/usr/share/makepkg/lint_pkgbuild/variable.sh:46:11: warning[SC2154]: arch is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def216]
/usr/share/makepkg/lint_pkgbuild/variable.sh:49:12: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def217]
/usr/share/makepkg/lint_pkgbuild/variable.sh:49:12: warning[SC2154]: pkgbuild_schema_arch_arrays is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def218]
/usr/share/makepkg/lint_pkgbuild/variable.sh:59:11: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def219]
/usr/share/makepkg/lint_pkgbuild/variable.sh:59:11: warning[SC2154]: pkgbuild_schema_strings is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def220]
/usr/share/makepkg/lint_pkgbuild/variable.sh:69:13: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def221]
/usr/share/makepkg/lint_pkgbuild/variable.sh:69:13: warning[SC2154]: pkgname is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def222]
/usr/share/makepkg/lint_pkgbuild/variable.sh:70:12: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def223]
/usr/share/makepkg/lint_pkgbuild/variable.sh:77:12: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def224]
/usr/share/makepkg/lint_pkgbuild/variable.sh:80:13: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def225]
/usr/share/makepkg/lint_pkgbuild/variable.sh:88:12: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def226]
/usr/share/makepkg/lint_pkgbuild/variable.sh:102:11: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-563): [#def227]
/usr/share/makepkg/source.sh:48:5: warning[SC2034]: get_vcs appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-252): [#def228]
/usr/share/makepkg/source.sh:59:3: warning[SC2164]: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
Error: SHELLCHECK_WARNING (CWE-571): [#def229]
/usr/share/makepkg/source.sh:61:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-252): [#def230]
/usr/share/makepkg/source.sh:68:3: warning[SC2164]: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
Error: SHELLCHECK_WARNING (CWE-571): [#def231]
/usr/share/makepkg/source.sh:78:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def232]
/usr/share/makepkg/source/bzr.sh:33:16: warning[SC2154]: get_vcs is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def233]
/usr/share/makepkg/source/bzr.sh:39:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def234]
/usr/share/makepkg/source/bzr.sh:45:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def235]
/usr/share/makepkg/source/bzr.sh:48:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def236]
/usr/share/makepkg/source/bzr.sh:71:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def237]
/usr/share/makepkg/source/bzr.sh:91:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-252): [#def238]
/usr/share/makepkg/source/bzr.sh:95:2: warning[SC2164]: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
Error: SHELLCHECK_WARNING (CWE-457): [#def239]
/usr/share/makepkg/source/bzr.sh:95:9: warning[SC2154]: srcdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-252): [#def240]
/usr/share/makepkg/source/bzr.sh:110:2: warning[SC2164]: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
Error: SHELLCHECK_WARNING (CWE-571): [#def241]
/usr/share/makepkg/source/file.sh:34:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def242]
/usr/share/makepkg/source/file.sh:40:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def243]
/usr/share/makepkg/source/file.sh:47:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def244]
/usr/share/makepkg/source/file.sh:48:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def245]
/usr/share/makepkg/source/file.sh:88:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def246]
/usr/share/makepkg/source/file.sh:89:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def247]
/usr/share/makepkg/source/file.sh:90:9: warning[SC2154]: srcdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def248]
/usr/share/makepkg/source/file.sh:93:23: warning[SC2154]: noextract is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def249]
/usr/share/makepkg/source/file.sh:100:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def250]
/usr/share/makepkg/source/fossil.sh:33:16: warning[SC2154]: get_vcs is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def251]
/usr/share/makepkg/source/fossil.sh:39:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def252]
/usr/share/makepkg/source/fossil.sh:44:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-563): [#def253]
/usr/share/makepkg/source/fossil.sh:72:19: warning[SC2034]: tagname appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-571): [#def254]
/usr/share/makepkg/source/fossil.sh:74:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def255]
/usr/share/makepkg/source/fossil.sh:75:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def256]
/usr/share/makepkg/source/fossil.sh:77:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-252): [#def257]
/usr/share/makepkg/source/fossil.sh:83:2: warning[SC2164]: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
Error: SHELLCHECK_WARNING (CWE-457): [#def258]
/usr/share/makepkg/source/fossil.sh:83:9: warning[SC2154]: srcdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-252): [#def259]
/usr/share/makepkg/source/fossil.sh:126:2: warning[SC2164]: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
Error: SHELLCHECK_WARNING (CWE-457): [#def260]
/usr/share/makepkg/source/git.sh:34:16: warning[SC2154]: get_vcs is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def261]
/usr/share/makepkg/source/git.sh:40:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def262]
/usr/share/makepkg/source/git.sh:43:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def263]
/usr/share/makepkg/source/git.sh:45:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def264]
/usr/share/makepkg/source/git.sh:63:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def265]
/usr/share/makepkg/source/git.sh:79:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def266]
/usr/share/makepkg/source/git.sh:87:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def267]
/usr/share/makepkg/source/git.sh:88:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def268]
/usr/share/makepkg/source/git.sh:90:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-252): [#def269]
/usr/share/makepkg/source/git.sh:94:2: warning[SC2164]: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
Error: SHELLCHECK_WARNING (CWE-457): [#def270]
/usr/share/makepkg/source/git.sh:94:9: warning[SC2154]: srcdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-252): [#def271]
/usr/share/makepkg/source/git.sh:147:2: warning[SC2164]: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
Error: SHELLCHECK_WARNING (CWE-457): [#def272]
/usr/share/makepkg/source/hg.sh:33:16: warning[SC2154]: get_vcs is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def273]
/usr/share/makepkg/source/hg.sh:39:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def274]
/usr/share/makepkg/source/hg.sh:42:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def275]
/usr/share/makepkg/source/hg.sh:44:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def276]
/usr/share/makepkg/source/hg.sh:73:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-252): [#def277]
/usr/share/makepkg/source/hg.sh:80:2: warning[SC2164]: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
Error: SHELLCHECK_WARNING (CWE-457): [#def278]
/usr/share/makepkg/source/hg.sh:80:9: warning[SC2154]: srcdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-252): [#def279]
/usr/share/makepkg/source/hg.sh:112:2: warning[SC2164]: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
Error: SHELLCHECK_WARNING (CWE-571): [#def280]
/usr/share/makepkg/source/local.sh:33:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def281]
/usr/share/makepkg/source/local.sh:38:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def282]
/usr/share/makepkg/source/svn.sh:33:16: warning[SC2154]: get_vcs is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def283]
/usr/share/makepkg/source/svn.sh:44:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def284]
/usr/share/makepkg/source/svn.sh:47:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def285]
/usr/share/makepkg/source/svn.sh:49:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def286]
/usr/share/makepkg/source/svn.sh:89:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def287]
/usr/share/makepkg/source/svn.sh:97:17: warning[SC2154]: srcdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def288]
/usr/share/makepkg/srcinfo.sh:44:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def289]
/usr/share/makepkg/srcinfo.sh:73:33: warning[SC2154]: known_hash_algos is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def290]
/usr/share/makepkg/srcinfo.sh:115:40: warning[SC2154]: makepkg_version is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-563): [#def291]
/usr/share/makepkg/tidy.sh:36:13: warning[SC2034]: packaging_options appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def292]
/usr/share/makepkg/tidy.sh:40:11: warning[SC2154]: pkgdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-88): [#def293]
/usr/share/makepkg/tidy.sh:44:14: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def294]
/usr/share/makepkg/tidy.sh:49:14: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def295]
/usr/share/makepkg/tidy/docs.sh:35:13: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-149): [#def296]
/usr/share/makepkg/tidy/libtool.sh:35:30: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
Error: SHELLCHECK_WARNING (CWE-457): [#def297]
/usr/share/makepkg/tidy/strip.sh:49:15: warning[SC2154]: srcdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def298]
/usr/share/makepkg/tidy/strip.sh:73:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def299]
/usr/share/makepkg/tidy/strip.sh:95:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def300]
/usr/share/makepkg/tidy/strip.sh:125:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def301]
/usr/share/makepkg/tidy/strip.sh:135:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def302]
/usr/share/makepkg/tidy/strip.sh:151:12: warning[SC2154]: pkgdirbase is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def303]
/usr/share/makepkg/tidy/strip.sh:151:24: warning[SC2154]: pkgbase is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def304]
/usr/share/makepkg/util/config.sh:71:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-563): [#def305]
/usr/share/makepkg/util/config.sh:81:14: warning[SC2034]: BUILDENV appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def306]
/usr/share/makepkg/util/error.sh:25:1: warning[SC2034]: E_OK appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def307]
/usr/share/makepkg/util/error.sh:26:1: warning[SC2034]: E_FAIL appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def308]
/usr/share/makepkg/util/error.sh:27:1: warning[SC2034]: E_CONFIG_ERROR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def309]
/usr/share/makepkg/util/error.sh:28:1: warning[SC2034]: E_INVALID_OPTION appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def310]
/usr/share/makepkg/util/error.sh:29:1: warning[SC2034]: E_USER_FUNCTION_FAILED appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def311]
/usr/share/makepkg/util/error.sh:30:1: warning[SC2034]: E_PACKAGE_FAILED appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def312]
/usr/share/makepkg/util/error.sh:31:1: warning[SC2034]: E_MISSING_FILE appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def313]
/usr/share/makepkg/util/error.sh:32:1: warning[SC2034]: E_MISSING_PKGDIR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def314]
/usr/share/makepkg/util/error.sh:33:1: warning[SC2034]: E_INSTALL_DEPS_FAILED appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def315]
/usr/share/makepkg/util/error.sh:34:1: warning[SC2034]: E_REMOVE_DEPS_FAILED appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def316]
/usr/share/makepkg/util/error.sh:35:1: warning[SC2034]: E_ROOT appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def317]
/usr/share/makepkg/util/error.sh:36:1: warning[SC2034]: E_FS_PERMISSIONS appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def318]
/usr/share/makepkg/util/error.sh:37:1: warning[SC2034]: E_PKGBUILD_ERROR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def319]
/usr/share/makepkg/util/error.sh:38:1: warning[SC2034]: E_ALREADY_BUILT appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def320]
/usr/share/makepkg/util/error.sh:39:1: warning[SC2034]: E_INSTALL_FAILED appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def321]
/usr/share/makepkg/util/error.sh:40:1: warning[SC2034]: E_MISSING_MAKEPKG_DEPS appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def322]
/usr/share/makepkg/util/error.sh:41:1: warning[SC2034]: E_PRETTY_BAD_PRIVACY appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def323]
/usr/share/makepkg/util/error.sh:42:1: warning[SC2034]: E_NOT_A_CLONE_OF appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def324]
/usr/share/makepkg/util/option.sh:85:40: warning[SC2154]: options is referenced but not assigned (did you mean 'option'?).
Error: SHELLCHECK_WARNING (CWE-480): [#def325]
/usr/share/makepkg/util/parseopts.sh:46:12: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-480): [#def326]
/usr/share/makepkg/util/parseopts.sh:46:20: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-480): [#def327]
/usr/share/makepkg/util/parseopts.sh:46:23: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-670): [#def328]
/usr/share/makepkg/util/parseopts.sh:70:10: warning[SC2128]: Expanding an array without an index only gives the first element.
Error: SHELLCHECK_WARNING (CWE-398): [#def329]
/usr/share/makepkg/util/pkgbuild.sh:52:24: error[SC1087]: Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
Error: SHELLCHECK_WARNING (CWE-398): [#def330]
/usr/share/makepkg/util/pkgbuild.sh:52:43: error[SC1087]: Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
Error: SHELLCHECK_WARNING (CWE-480): [#def331]
/usr/share/makepkg/util/pkgbuild.sh:79:63: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-480): [#def332]
/usr/share/makepkg/util/pkgbuild.sh:79:69: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-571): [#def333]
/usr/share/makepkg/util/pkgbuild.sh:88:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-563): [#def334]
/usr/share/makepkg/util/pkgbuild.sh:109:28: warning[SC2034]: out appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def335]
/usr/share/makepkg/util/pkgbuild.sh:142:12: warning[SC2154]: arch is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def336]
/usr/share/makepkg/util/pkgbuild.sh:168:8: warning[SC2154]: epoch is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def337]
/usr/share/makepkg/util/pkgbuild.sh:169:25: warning[SC2154]: pkgver is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def338]
/usr/share/makepkg/util/pkgbuild.sh:169:33: warning[SC2154]: pkgrel is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-670): [#def339]
/usr/share/makepkg/util/pkgbuild.sh:190:9: warning[SC2128]: Expanding an array without an index only gives the first element.
Error: SHELLCHECK_WARNING (CWE-571): [#def340]
/usr/share/makepkg/util/pkgbuild.sh:199:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-563): [#def341]
/usr/share/makepkg/util/pkgbuild.sh:200:25: warning[SC2034]: opts appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-88): [#def342]
/usr/share/makepkg/util/pkgbuild.sh:201:13: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def343]
/usr/share/makepkg/util/pkgbuild.sh:207:43: warning[SC2154]: pkgbase is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def344]
/usr/share/makepkg/util/pkgbuild.sh:245:16: warning[SC2154]: known_hash_algos is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-563): [#def345]
/usr/share/makepkg/util/schema.sh:47:30: warning[SC2034]: pkgbuild_schema_arrays appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def346]
/usr/share/makepkg/util/schema.sh:48:2: warning[SC2034]: pkgbuild_schema_strings appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def347]
/usr/share/makepkg/util/schema.sh:48:26: warning[SC2034]: pkgbuild_schema_arch_arrays appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def348]
/usr/share/makepkg/util/schema.sh:49:2: warning[SC2034]: pkgbuild_schema_package_overrides appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-571): [#def349]
/usr/share/makepkg/util/source.sh:65:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def350]
/usr/share/makepkg/util/source.sh:93:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def351]
/usr/share/makepkg/util/source.sh:94:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def352]
/usr/share/makepkg/util/source.sh:98:14: warning[SC2154]: startdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-563): [#def353]
/usr/share/makepkg/util/util.sh:46:8: warning[SC2034]: v appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-571): [#def354]
/usr/share/makepkg/util/util.sh:105:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def355]
pacman-v7.0.0/lib/libalpm/add.c:510:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/add.c:432:9: branch_false: following ‘false’ branch (when ‘trans’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/add.c:435:42: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:461:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:463:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:483:11: branch_false: following ‘false’ branch (when ‘oldpkg’ is NULL)...
pacman-v7.0.0/lib/libalpm/add.c:493:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:493:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:501:14: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:503:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:508:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/add.c:509:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/add.c:510:51: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:510:17: danger: ‘<unknown>’ leaks here; was opened at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def356]
pacman-v7.0.0/lib/libalpm/add.c:515:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/add.c:432:9: branch_false: following ‘false’ branch (when ‘trans’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/add.c:435:42: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:461:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:463:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:483:11: branch_false: following ‘false’ branch (when ‘oldpkg’ is NULL)...
pacman-v7.0.0/lib/libalpm/add.c:493:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:493:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:501:14: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:503:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:508:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/add.c:514:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/add.c:516:56: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:515:17: danger: ‘<unknown>’ leaks here; was opened at [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def357]
pacman-v7.0.0/lib/libalpm/add.c:518:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/add.c:432:9: branch_false: following ‘false’ branch (when ‘trans’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/add.c:435:42: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:461:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:463:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:483:11: branch_false: following ‘false’ branch (when ‘oldpkg’ is NULL)...
pacman-v7.0.0/lib/libalpm/add.c:493:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:493:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:501:14: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:503:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:508:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/add.c:514:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/add.c:516:56: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:518:19: danger: ‘<unknown>’ leaks here; was opened at [(11)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def358]
pacman-v7.0.0/lib/libalpm/add.c:519:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/add.c:432:9: branch_false: following ‘false’ branch (when ‘trans’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/add.c:435:42: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:461:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:463:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:483:11: branch_false: following ‘false’ branch (when ‘oldpkg’ is NULL)...
pacman-v7.0.0/lib/libalpm/add.c:493:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:493:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:501:14: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:503:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:508:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/add.c:514:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/add.c:516:56: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:518:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/add.c:519:25: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:519:25: danger: ‘<unknown>’ leaks here; was opened at [(11)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def359]
pacman-v7.0.0/lib/libalpm/add.c:526:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/add.c:432:9: branch_false: following ‘false’ branch (when ‘trans’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/add.c:435:42: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:461:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:463:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:483:11: branch_false: following ‘false’ branch (when ‘oldpkg’ is NULL)...
pacman-v7.0.0/lib/libalpm/add.c:493:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:493:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:501:14: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:503:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:508:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/add.c:514:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:525:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:525:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/add.c:526:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:526:17: danger: ‘<unknown>’ leaks here; was opened at [(11)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def360]
pacman-v7.0.0/lib/libalpm/add.c:527:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/add.c:432:9: branch_false: following ‘false’ branch (when ‘trans’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/add.c:435:42: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:461:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:463:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:483:11: branch_false: following ‘false’ branch (when ‘oldpkg’ is NULL)...
pacman-v7.0.0/lib/libalpm/add.c:493:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:493:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:501:14: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:503:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:508:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/add.c:514:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:525:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:525:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/add.c:526:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:527:23: danger: ‘<unknown>’ leaks here; was opened at [(11)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def361]
pacman-v7.0.0/lib/libalpm/add.c:528:49: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/add.c:432:9: branch_false: following ‘false’ branch (when ‘trans’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/add.c:435:42: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:461:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:463:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:483:11: branch_false: following ‘false’ branch (when ‘oldpkg’ is NULL)...
pacman-v7.0.0/lib/libalpm/add.c:493:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:493:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:501:14: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:503:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:508:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/add.c:514:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:525:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:525:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/add.c:526:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:527:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/add.c:528:49: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:528:49: danger: ‘<unknown>’ leaks here; was opened at [(11)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def362]
pacman-v7.0.0/lib/libalpm/add.c:532:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/add.c:432:9: branch_false: following ‘false’ branch (when ‘trans’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/add.c:435:42: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:461:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:463:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:483:11: branch_false: following ‘false’ branch (when ‘oldpkg’ is NULL)...
pacman-v7.0.0/lib/libalpm/add.c:493:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:493:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:501:14: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:503:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:508:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/add.c:514:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:525:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:525:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/add.c:526:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:527:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/add.c:528:49: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:529:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:532:33: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:532:33: danger: ‘<unknown>’ leaks here; was opened at [(11)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def363]
pacman-v7.0.0/lib/libalpm/add.c:536:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/add.c:432:9: branch_false: following ‘false’ branch (when ‘trans’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/add.c:435:42: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:461:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:463:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:483:11: branch_false: following ‘false’ branch (when ‘oldpkg’ is NULL)...
pacman-v7.0.0/lib/libalpm/add.c:493:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:493:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:501:14: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:503:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:508:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/add.c:514:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:525:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:525:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:536:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:536:17: danger: ‘<unknown>’ leaks here; was opened at [(11)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def364]
pacman-v7.0.0/lib/libalpm/add.c:539:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/add.c:432:9: branch_false: following ‘false’ branch (when ‘trans’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/add.c:435:42: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:461:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:463:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:483:11: branch_false: following ‘false’ branch (when ‘oldpkg’ is NULL)...
pacman-v7.0.0/lib/libalpm/add.c:493:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:493:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:501:14: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:503:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:508:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/add.c:514:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:525:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:525:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:536:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:539:17: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/add.c:539:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:539:17: danger: ‘<unknown>’ leaks here; was opened at [(11)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def365]
pacman-v7.0.0/lib/libalpm/add.c:541:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/add.c:432:9: branch_false: following ‘false’ branch (when ‘trans’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/add.c:435:42: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:461:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:463:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:483:11: branch_false: following ‘false’ branch (when ‘oldpkg’ is NULL)...
pacman-v7.0.0/lib/libalpm/add.c:493:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:493:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:501:14: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:503:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:508:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/add.c:514:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:525:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:525:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:536:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:541:23: danger: ‘<unknown>’ leaks here; was opened at [(11)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def366]
pacman-v7.0.0/lib/libalpm/add.c:557:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/add.c:432:9: branch_false: following ‘false’ branch (when ‘trans’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/add.c:435:42: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:461:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:463:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:483:11: branch_false: following ‘false’ branch (when ‘oldpkg’ is NULL)...
pacman-v7.0.0/lib/libalpm/add.c:493:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:493:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:501:14: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:503:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:508:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/add.c:514:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:525:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:525:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:536:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:541:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/add.c:544:28: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:557:25: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/add.c:557:25: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:557:25: danger: ‘<unknown>’ leaks here; was opened at [(11)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def367]
pacman-v7.0.0/lib/libalpm/add.c:565:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/add.c:655:5: enter_function: entry to ‘_alpm_upgrade_packages’
pacman-v7.0.0/lib/libalpm/add.c:662:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:666:21: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:670:32: branch_true: following ‘true’ branch (when ‘targ’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/add.c:671:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:673:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:677:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:677:20: call_function: calling ‘commit_single_pkg’ from ‘_alpm_upgrade_packages’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def368]
pacman-v7.0.0/lib/libalpm/add.c:568:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/add.c:655:5: enter_function: entry to ‘_alpm_upgrade_packages’
pacman-v7.0.0/lib/libalpm/add.c:662:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:666:21: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:670:32: branch_true: following ‘true’ branch (when ‘targ’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/add.c:671:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:673:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:677:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:677:20: call_function: calling ‘commit_single_pkg’ from ‘_alpm_upgrade_packages’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def369]
pacman-v7.0.0/lib/libalpm/add.c:622:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘oldpkg’
pacman-v7.0.0/lib/libalpm/add.c:655:5: enter_function: entry to ‘_alpm_upgrade_packages’
pacman-v7.0.0/lib/libalpm/add.c:662:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:666:21: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:670:32: branch_true: following ‘true’ branch (when ‘targ’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/add.c:671:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:673:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:677:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:677:20: call_function: calling ‘commit_single_pkg’ from ‘_alpm_upgrade_packages’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def370]
pacman-v7.0.0/lib/libalpm/add.c:630:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘oldpkg’
pacman-v7.0.0/lib/libalpm/add.c:655:5: enter_function: entry to ‘_alpm_upgrade_packages’
pacman-v7.0.0/lib/libalpm/add.c:662:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:666:21: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:670:32: branch_true: following ‘true’ branch (when ‘targ’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/add.c:671:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:673:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:677:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:677:20: call_function: calling ‘commit_single_pkg’ from ‘_alpm_upgrade_packages’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def371]
pacman-v7.0.0/lib/libalpm/alpm_list.c:188:12: warning[-Wanalyzer-malloc-leak]: leak of ‘right’
pacman-v7.0.0/lib/libalpm/alpm_list.c:613:24: enter_function: entry to ‘alpm_list_diff’
pacman-v7.0.0/lib/libalpm/alpm_list.c:619:16: call_function: calling ‘alpm_list_copy’ from ‘alpm_list_diff’
pacman-v7.0.0/lib/libalpm/alpm_list.c:619:16: return_function: returning to ‘alpm_list_diff’ from ‘alpm_list_copy’
pacman-v7.0.0/lib/libalpm/alpm_list.c:620:16: call_function: calling ‘alpm_list_count’ from ‘alpm_list_diff’
pacman-v7.0.0/lib/libalpm/alpm_list.c:620:16: return_function: returning to ‘alpm_list_diff’ from ‘alpm_list_count’
pacman-v7.0.0/lib/libalpm/alpm_list.c:620:16: call_function: calling ‘alpm_list_msort’ from ‘alpm_list_diff’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def372]
pacman-v7.0.0/lib/libalpm/alpm_list.c:621:17: warning[-Wanalyzer-malloc-leak]: leak of ‘alpm_list_copy(lhs)’
pacman-v7.0.0/lib/libalpm/alpm_list.c:613:24: enter_function: entry to ‘alpm_list_diff’
pacman-v7.0.0/lib/libalpm/alpm_list.c:619:16: call_function: calling ‘alpm_list_copy’ from ‘alpm_list_diff’
pacman-v7.0.0/lib/libalpm/alpm_list.c:619:16: return_function: returning to ‘alpm_list_diff’ from ‘alpm_list_copy’
pacman-v7.0.0/lib/libalpm/alpm_list.c:620:16: call_function: calling ‘alpm_list_count’ from ‘alpm_list_diff’
pacman-v7.0.0/lib/libalpm/alpm_list.c:620:16: return_function: returning to ‘alpm_list_diff’ from ‘alpm_list_count’
pacman-v7.0.0/lib/libalpm/alpm_list.c:620:16: call_function: calling ‘alpm_list_msort’ from ‘alpm_list_diff’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def373]
pacman-v7.0.0/lib/libalpm/alpm_list.c:624:9: warning[-Wanalyzer-malloc-leak]: leak of ‘alpm_list_copy(rhs)’
pacman-v7.0.0/lib/libalpm/alpm_list.c:613:24: enter_function: entry to ‘alpm_list_diff’
pacman-v7.0.0/lib/libalpm/alpm_list.c:619:16: call_function: calling ‘alpm_list_copy’ from ‘alpm_list_diff’
pacman-v7.0.0/lib/libalpm/alpm_list.c:619:16: return_function: returning to ‘alpm_list_diff’ from ‘alpm_list_copy’
pacman-v7.0.0/lib/libalpm/alpm_list.c:620:16: call_function: calling ‘alpm_list_count’ from ‘alpm_list_diff’
pacman-v7.0.0/lib/libalpm/alpm_list.c:620:16: return_function: returning to ‘alpm_list_diff’ from ‘alpm_list_count’
pacman-v7.0.0/lib/libalpm/alpm_list.c:620:16: call_function: calling ‘alpm_list_msort’ from ‘alpm_list_diff’
pacman-v7.0.0/lib/libalpm/alpm_list.c:620:16: return_function: returning to ‘alpm_list_diff’ from ‘alpm_list_msort’
pacman-v7.0.0/lib/libalpm/alpm_list.c:621:17: call_function: calling ‘alpm_list_copy’ from ‘alpm_list_diff’
pacman-v7.0.0/lib/libalpm/alpm_list.c:621:17: return_function: returning to ‘alpm_list_diff’ from ‘alpm_list_copy’
pacman-v7.0.0/lib/libalpm/alpm_list.c:622:17: call_function: calling ‘alpm_list_count’ from ‘alpm_list_diff’
pacman-v7.0.0/lib/libalpm/alpm_list.c:622:17: return_function: returning to ‘alpm_list_diff’ from ‘alpm_list_count’
pacman-v7.0.0/lib/libalpm/alpm_list.c:622:17: call_function: calling ‘alpm_list_msort’ from ‘alpm_list_diff’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def374]
pacman-v7.0.0/lib/libalpm/backup.c:50:9: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
pacman-v7.0.0/lib/libalpm/backup.c:38:9: branch_true: following ‘true’ branch (when ‘string’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/backup.c:38:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/backup.c:38:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/backup.c:38:9: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/backup.c:41:21: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/backup.c:42:11: branch_false: following ‘false’ branch (when ‘ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/backup.c:47:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/backup.c:50:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/backup.c:50:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/backup.c:50:9: danger: ‘str’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def375]
pacman-v7.0.0/lib/libalpm/backup.c:51:9: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
pacman-v7.0.0/lib/libalpm/backup.c:38:9: branch_true: following ‘true’ branch (when ‘string’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/backup.c:38:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/backup.c:38:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/backup.c:38:9: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/backup.c:41:21: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/backup.c:42:11: branch_false: following ‘false’ branch (when ‘ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/backup.c:47:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/backup.c:50:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/backup.c:51:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/backup.c:51:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/backup.c:51:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/backup.c:51:9: danger: ‘str’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def376]
pacman-v7.0.0/lib/libalpm/backup.c:91:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newbackup’
pacman-v7.0.0/lib/libalpm/backup.c:89:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/backup.c:89:9: branch_false: following ‘false’ branch (when ‘newbackup’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/backup.c:91:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/backup.c:91:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/backup.c:91:9: danger: ‘newbackup’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def377]
pacman-v7.0.0/lib/libalpm/backup.c:92:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/backup.c:89:9: branch_false: following ‘false’ branch (when ‘newbackup’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/backup.c:91:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/backup.c:91:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/backup.c:91:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/backup.c:91:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/backup.c:91:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/backup.c:92:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/backup.c:92:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/backup.c:92:9: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def378]
pacman-v7.0.0/lib/libalpm/backup.c:92:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newbackup’
pacman-v7.0.0/lib/libalpm/backup.c:89:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/backup.c:89:9: branch_false: following ‘false’ branch (when ‘newbackup’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/backup.c:91:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/backup.c:91:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/backup.c:92:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/backup.c:92:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/backup.c:92:9: danger: ‘newbackup’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def379]
pacman-v7.0.0/lib/libalpm/be_local.c:214:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
pacman-v7.0.0/lib/libalpm/be_local.c:210:14: enter_function: entry to ‘_cache_changelog_open’
pacman-v7.0.0/lib/libalpm/be_local.c:213:24: call_function: calling ‘_alpm_local_db_pkgpath’ from ‘_cache_changelog_open’
pacman-v7.0.0/lib/libalpm/be_local.c:213:24: return_function: returning to ‘_cache_changelog_open’ from ‘_alpm_local_db_pkgpath’
pacman-v7.0.0/lib/libalpm/be_local.c:214:19: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def380]
pacman-v7.0.0/lib/libalpm/be_local.c:258:12: warning[-Wanalyzer-null-argument]: use of NULL ‘_alpm_local_db_pkgpath(alpm_pkg_get_db(pkg), pkg, "mtree")’ where non-null expected
pacman-v7.0.0/lib/libalpm/be_local.c:251:24: enter_function: entry to ‘_cache_mtree_open’
pacman-v7.0.0/lib/libalpm/be_local.c:256:24: call_function: calling ‘_alpm_local_db_pkgpath’ from ‘_cache_mtree_open’
pacman-v7.0.0/lib/libalpm/be_local.c:256:24: return_function: returning to ‘_cache_mtree_open’ from ‘_alpm_local_db_pkgpath’
pacman-v7.0.0/lib/libalpm/be_local.c:258:12: danger: argument 1 (‘_alpm_local_db_pkgpath(alpm_pkg_get_db(pkg), pkg, "mtree")’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def381]
pacman-v7.0.0/lib/libalpm/be_local.c:493:30: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(_alpm_db_path(db))’
pacman-v7.0.0/lib/libalpm/be_local.c:454:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:457:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:457:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:461:18: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:462:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:466:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:466:17: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/be_local.c:467:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:486:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:491:11: branch_true: following ‘true’ branch...
branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:493:30: danger: ‘opendir(_alpm_db_path(db))’ leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def382]
pacman-v7.0.0/lib/libalpm/be_local.c:521:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(_alpm_db_path(db))’
pacman-v7.0.0/lib/libalpm/be_local.c:454:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:457:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:457:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:461:18: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:462:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:466:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:466:17: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/be_local.c:467:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:486:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:491:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:508:13: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:511:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:515:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:515:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:519:1: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:521:9: danger: ‘opendir(_alpm_db_path(db))’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def383]
pacman-v7.0.0/lib/libalpm/be_local.c:527:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(_alpm_db_path(db))’
pacman-v7.0.0/lib/libalpm/be_local.c:454:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:457:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:457:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:461:18: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:462:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:466:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:466:17: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/be_local.c:467:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:486:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:491:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:508:13: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:527:9: danger: ‘opendir(_alpm_db_path(db))’ leaks here; was allocated at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def384]
pacman-v7.0.0/lib/libalpm/be_local.c:749:28: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(_alpm_local_db_pkgpath(db, info, "desc"), "r")’
pacman-v7.0.0/lib/libalpm/be_local.c:713:12: enter_function: entry to ‘local_db_read’
pacman-v7.0.0/lib/libalpm/be_local.c:724:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:729:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:729:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:735:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:740:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:741:30: call_function: calling ‘_alpm_local_db_pkgpath’ from ‘local_db_read’
pacman-v7.0.0/lib/libalpm/be_local.c:741:30: return_function: returning to ‘local_db_read’ from ‘_alpm_local_db_pkgpath’
pacman-v7.0.0/lib/libalpm/be_local.c:742:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:742:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:742:35: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/be_local.c:742:20: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:747:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:748:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:749:28: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:749:28: danger: ‘fopen(_alpm_local_db_pkgpath(db, info, "desc"), "r")’ leaks here; was opened at [(19)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def385]
pacman-v7.0.0/lib/libalpm/be_local.c:749:28: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(_alpm_local_db_pkgpath(db, info, "desc"), "r")’
pacman-v7.0.0/lib/libalpm/be_local.c:713:12: enter_function: entry to ‘local_db_read’
pacman-v7.0.0/lib/libalpm/be_local.c:724:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:729:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:729:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:735:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:740:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:741:30: call_function: calling ‘_alpm_local_db_pkgpath’ from ‘local_db_read’
pacman-v7.0.0/lib/libalpm/be_local.c:741:30: return_function: returning to ‘local_db_read’ from ‘_alpm_local_db_pkgpath’
pacman-v7.0.0/lib/libalpm/be_local.c:742:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:742:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:742:35: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/be_local.c:742:20: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:747:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:748:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:749:28: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:749:28: danger: ‘fopen(_alpm_local_db_pkgpath(db, info, "desc"), "r")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def386]
pacman-v7.0.0/lib/libalpm/be_local.c:773:33: warning[-Wanalyzer-malloc-leak]: leak of ‘linedup’
pacman-v7.0.0/lib/libalpm/be_local.c:713:12: enter_function: entry to ‘local_db_read’
pacman-v7.0.0/lib/libalpm/be_local.c:724:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:729:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:729:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:735:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:740:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:741:30: call_function: calling ‘_alpm_local_db_pkgpath’ from ‘local_db_read’
pacman-v7.0.0/lib/libalpm/be_local.c:741:30: return_function: returning to ‘local_db_read’ from ‘_alpm_local_db_pkgpath’
pacman-v7.0.0/lib/libalpm/be_local.c:742:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:747:17: release_memory: state of ‘&HEAP_ALLOCATED_REGION(588)’: ‘start’ -> ‘freed’ (NULL origin)
pacman-v7.0.0/lib/libalpm/be_local.c:748:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:749:28: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:752:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:756:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:756:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:762:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:762:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:768:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:768:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:770:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:770:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:772:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:773:33: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:773:33: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/be_local.c:773:33: branch_false: following ‘false’ branch (when ‘linedup’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_local.c:773:33: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:773:33: danger: ‘linedup’ leaks here; was allocated at [(36)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/35)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def387]
pacman-v7.0.0/lib/libalpm/be_local.c:777:33: warning[-Wanalyzer-malloc-leak]: leak of ‘linedup’
pacman-v7.0.0/lib/libalpm/be_local.c:713:12: enter_function: entry to ‘local_db_read’
pacman-v7.0.0/lib/libalpm/be_local.c:724:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:729:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:729:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:735:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:740:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:741:30: call_function: calling ‘_alpm_local_db_pkgpath’ from ‘local_db_read’
pacman-v7.0.0/lib/libalpm/be_local.c:741:30: return_function: returning to ‘local_db_read’ from ‘_alpm_local_db_pkgpath’
pacman-v7.0.0/lib/libalpm/be_local.c:742:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:747:17: release_memory: state of ‘&HEAP_ALLOCATED_REGION(588)’: ‘start’ -> ‘freed’ (NULL origin)
pacman-v7.0.0/lib/libalpm/be_local.c:748:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:749:28: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:752:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:756:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:756:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:762:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:762:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:768:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:768:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:770:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:770:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:772:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:772:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:774:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:774:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:776:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:777:33: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:777:33: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/be_local.c:777:33: branch_false: following ‘false’ branch (when ‘linedup’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_local.c:777:33: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:777:33: danger: ‘linedup’ leaks here; was allocated at [(40)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/39)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def388]
pacman-v7.0.0/lib/libalpm/be_local.c:793:33: warning[-Wanalyzer-malloc-leak]: leak of ‘linedup’
pacman-v7.0.0/lib/libalpm/be_local.c:713:12: enter_function: entry to ‘local_db_read’
pacman-v7.0.0/lib/libalpm/be_local.c:724:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:729:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:729:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:735:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:740:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:741:30: call_function: calling ‘_alpm_local_db_pkgpath’ from ‘local_db_read’
pacman-v7.0.0/lib/libalpm/be_local.c:741:30: return_function: returning to ‘local_db_read’ from ‘_alpm_local_db_pkgpath’
pacman-v7.0.0/lib/libalpm/be_local.c:742:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:747:17: release_memory: state of ‘&HEAP_ALLOCATED_REGION(588)’: ‘start’ -> ‘freed’ (NULL origin)
pacman-v7.0.0/lib/libalpm/be_local.c:748:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:749:28: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:752:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:756:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:756:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:762:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:762:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:768:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:768:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:770:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:770:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:772:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:772:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:774:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:774:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:776:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:776:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:778:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:778:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:780:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:786:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:788:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:788:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:791:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:791:34: branch_true: following ‘true’ branch (when the strings are equal)...
branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:793:33: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:793:33: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/be_local.c:793:33: branch_false: following ‘false’ branch (when ‘linedup’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_local.c:793:33: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:793:33: danger: ‘linedup’ leaks here; was allocated at [(50)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/49)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def389]
pacman-v7.0.0/lib/libalpm/be_local.c:830:33: warning[-Wanalyzer-malloc-leak]: leak of ‘linedup’
pacman-v7.0.0/lib/libalpm/be_local.c:713:12: enter_function: entry to ‘local_db_read’
pacman-v7.0.0/lib/libalpm/be_local.c:724:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:729:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:729:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:735:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:740:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:741:30: call_function: calling ‘_alpm_local_db_pkgpath’ from ‘local_db_read’
pacman-v7.0.0/lib/libalpm/be_local.c:741:30: return_function: returning to ‘local_db_read’ from ‘_alpm_local_db_pkgpath’
pacman-v7.0.0/lib/libalpm/be_local.c:742:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:747:17: release_memory: state of ‘&HEAP_ALLOCATED_REGION(588)’: ‘start’ -> ‘freed’ (NULL origin)
pacman-v7.0.0/lib/libalpm/be_local.c:748:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:749:28: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:752:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:756:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:756:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:762:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:762:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:768:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:768:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:770:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:770:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:772:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:772:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:774:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:774:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:776:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:776:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:778:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:778:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:780:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:786:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:788:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:788:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:791:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:791:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:811:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:811:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:814:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:814:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:816:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:816:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:818:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:818:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:820:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:820:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:822:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:822:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:824:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:824:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:826:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:826:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:828:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:828:34: branch_true: following ‘true’ branch (when the strings are equal)...
branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:830:33: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:830:33: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/be_local.c:830:33: branch_false: following ‘false’ branch (when ‘linedup’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_local.c:830:33: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:830:33: danger: ‘linedup’ leaks here; was allocated at [(68)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/67)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def390]
pacman-v7.0.0/lib/libalpm/be_local.c:843:33: warning[-Wanalyzer-malloc-leak]: leak of ‘linedup’
pacman-v7.0.0/lib/libalpm/be_local.c:713:12: enter_function: entry to ‘local_db_read’
pacman-v7.0.0/lib/libalpm/be_local.c:724:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:729:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:729:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:735:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:740:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:741:30: call_function: calling ‘_alpm_local_db_pkgpath’ from ‘local_db_read’
pacman-v7.0.0/lib/libalpm/be_local.c:741:30: return_function: returning to ‘local_db_read’ from ‘_alpm_local_db_pkgpath’
pacman-v7.0.0/lib/libalpm/be_local.c:742:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:747:17: release_memory: state of ‘&HEAP_ALLOCATED_REGION(588)’: ‘start’ -> ‘freed’ (NULL origin)
pacman-v7.0.0/lib/libalpm/be_local.c:748:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:749:28: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:752:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:756:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:756:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:762:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:762:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:768:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:768:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:770:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:770:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:772:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:772:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:774:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:774:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:776:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:776:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:778:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:778:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:780:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:786:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:788:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:788:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:791:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:791:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:811:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:811:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:814:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:814:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:816:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:816:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:818:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:818:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:820:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:820:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:822:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:822:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:824:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:824:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:826:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:826:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:828:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:828:34: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/be_local.c:841:33: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:843:33: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:843:33: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/be_local.c:843:33: branch_false: following ‘false’ branch (when ‘linedup’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_local.c:843:33: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:843:33: danger: ‘linedup’ leaks here; was allocated at [(68)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/67)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def391]
pacman-v7.0.0/lib/libalpm/be_local.c:861:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(_alpm_local_db_pkgpath(db, info, "files"), "r")’
pacman-v7.0.0/lib/libalpm/be_local.c:192:21: enter_function: entry to ‘_cache_get_backup’
pacman-v7.0.0/lib/libalpm/be_local.c:194:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:194:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:194:9: call_function: calling ‘local_db_read’ from ‘_cache_get_backup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def392]
pacman-v7.0.0/lib/libalpm/be_local.c:861:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(_alpm_local_db_pkgpath(db, info, "files"), "r")’
pacman-v7.0.0/lib/libalpm/be_local.c:192:21: enter_function: entry to ‘_cache_get_backup’
pacman-v7.0.0/lib/libalpm/be_local.c:194:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:194:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:194:9: call_function: calling ‘local_db_read’ from ‘_cache_get_backup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def393]
pacman-v7.0.0/lib/libalpm/be_local.c:900:44: warning[-Wanalyzer-malloc-leak]: leak of ‘backup’
pacman-v7.0.0/lib/libalpm/be_local.c:192:21: enter_function: entry to ‘_cache_get_backup’
pacman-v7.0.0/lib/libalpm/be_local.c:194:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:194:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:194:9: call_function: calling ‘local_db_read’ from ‘_cache_get_backup’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def394]
pacman-v7.0.0/lib/libalpm/be_local.c:916:20: warning[-Wanalyzer-null-argument]: use of NULL ‘_alpm_local_db_pkgpath(db, info, "install")’ where non-null expected
pacman-v7.0.0/lib/libalpm/be_local.c:713:12: enter_function: entry to ‘local_db_read’
pacman-v7.0.0/lib/libalpm/be_local.c:724:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:729:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:729:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:735:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:914:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:915:30: call_function: calling ‘_alpm_local_db_pkgpath’ from ‘local_db_read’
pacman-v7.0.0/lib/libalpm/be_local.c:915:30: return_function: returning to ‘local_db_read’ from ‘_alpm_local_db_pkgpath’
pacman-v7.0.0/lib/libalpm/be_local.c:916:20: danger: argument 1 (‘_alpm_local_db_pkgpath(db, info, "install")’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def395]
pacman-v7.0.0/lib/libalpm/be_local.c:966:35: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(_alpm_local_db_pkgpath(db, info, "desc"), "w")’
pacman-v7.0.0/lib/libalpm/be_local.c:974:5: enter_function: entry to ‘_alpm_local_db_write’
pacman-v7.0.0/lib/libalpm/be_local.c:981:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:989:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:991:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:994:24: call_function: calling ‘_alpm_local_db_pkgpath’ from ‘_alpm_local_db_write’
pacman-v7.0.0/lib/libalpm/be_local.c:994:24: return_function: returning to ‘_alpm_local_db_write’ from ‘_alpm_local_db_pkgpath’
pacman-v7.0.0/lib/libalpm/be_local.c:995:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:995:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:995:35: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/be_local.c:995:20: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:1002:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:1075:17: call_function: inlined call to ‘write_deps’ from ‘_alpm_local_db_write’
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:1075:17: call_function: inlined call to ‘write_deps’ from ‘_alpm_local_db_write’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def396]
pacman-v7.0.0/lib/libalpm/be_local.c:966:35: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(_alpm_local_db_pkgpath(db, info, "desc"), "w")’
pacman-v7.0.0/lib/libalpm/be_local.c:974:5: enter_function: entry to ‘_alpm_local_db_write’
pacman-v7.0.0/lib/libalpm/be_local.c:981:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:989:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:991:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:994:24: call_function: calling ‘_alpm_local_db_pkgpath’ from ‘_alpm_local_db_write’
pacman-v7.0.0/lib/libalpm/be_local.c:994:24: return_function: returning to ‘_alpm_local_db_write’ from ‘_alpm_local_db_pkgpath’
pacman-v7.0.0/lib/libalpm/be_local.c:995:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:995:35: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:995:35: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/be_local.c:995:20: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:1002:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:1075:17: call_function: inlined call to ‘write_deps’ from ‘_alpm_local_db_write’
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:1075:17: call_function: inlined call to ‘write_deps’ from ‘_alpm_local_db_write’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def397]
pacman-v7.0.0/lib/libalpm/be_local.c:1160:18: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(_alpm_local_db_pkgpath(db, info, 0))’
pacman-v7.0.0/lib/libalpm/be_local.c:1139:5: enter_function: entry to ‘_alpm_local_db_remove’
pacman-v7.0.0/lib/libalpm/be_local.c:1147:19: call_function: calling ‘_alpm_local_db_pkgpath’ from ‘_alpm_local_db_remove’
pacman-v7.0.0/lib/libalpm/be_local.c:1147:19: return_function: returning to ‘_alpm_local_db_remove’ from ‘_alpm_local_db_pkgpath’
pacman-v7.0.0/lib/libalpm/be_local.c:1148:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:1151:23: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:1153:16: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/be_local.c:1154:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_local.c:1160:18: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_local.c:1160:18: danger: ‘opendir(_alpm_local_db_pkgpath(db, info, 0))’ leaks here; was allocated at [(13)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def398]
pacman-v7.0.0/lib/libalpm/be_package.c:205:50: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
pacman-v7.0.0/lib/libalpm/be_package.c:555:13: enter_function: entry to ‘_alpm_pkg_load_internal’
pacman-v7.0.0/lib/libalpm/be_package.c:567:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:572:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:583:18: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:587:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:587:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:588:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:595:15: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:596:42: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:598:19: branch_true: following ‘true’ branch (when the strings are equal)...
pacman-v7.0.0/lib/libalpm/be_package.c:600:28: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:600:28: call_function: calling ‘parse_descfile’ from ‘_alpm_pkg_load_internal’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def399]
pacman-v7.0.0/lib/libalpm/be_package.c:211:52: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
pacman-v7.0.0/lib/libalpm/be_package.c:555:13: enter_function: entry to ‘_alpm_pkg_load_internal’
pacman-v7.0.0/lib/libalpm/be_package.c:567:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:572:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:583:18: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:587:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:587:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:588:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:595:15: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:596:42: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:598:19: branch_true: following ‘true’ branch (when the strings are equal)...
pacman-v7.0.0/lib/libalpm/be_package.c:600:28: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:600:28: call_function: calling ‘parse_descfile’ from ‘_alpm_pkg_load_internal’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def400]
pacman-v7.0.0/lib/libalpm/be_package.c:245:33: warning[-Wanalyzer-malloc-leak]: leak of ‘backup’
pacman-v7.0.0/lib/libalpm/be_package.c:555:13: enter_function: entry to ‘_alpm_pkg_load_internal’
pacman-v7.0.0/lib/libalpm/be_package.c:567:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:572:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:583:18: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:587:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:587:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:588:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:595:15: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:596:42: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:598:19: branch_true: following ‘true’ branch (when the strings are equal)...
pacman-v7.0.0/lib/libalpm/be_package.c:600:28: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:600:28: call_function: calling ‘parse_descfile’ from ‘_alpm_pkg_load_internal’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def401]
pacman-v7.0.0/lib/libalpm/be_package.c:246:50: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/be_package.c:555:13: enter_function: entry to ‘_alpm_pkg_load_internal’
pacman-v7.0.0/lib/libalpm/be_package.c:567:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:572:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:583:18: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:587:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:587:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:588:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:595:15: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:596:42: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:598:19: branch_true: following ‘true’ branch (when the strings are equal)...
pacman-v7.0.0/lib/libalpm/be_package.c:600:28: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:600:28: call_function: calling ‘parse_descfile’ from ‘_alpm_pkg_load_internal’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def402]
pacman-v7.0.0/lib/libalpm/be_package.c:246:50: warning[-Wanalyzer-malloc-leak]: leak of ‘backup’
pacman-v7.0.0/lib/libalpm/be_package.c:555:13: enter_function: entry to ‘_alpm_pkg_load_internal’
pacman-v7.0.0/lib/libalpm/be_package.c:567:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:572:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:583:18: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:587:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:587:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:588:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:595:15: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:596:42: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:598:19: branch_true: following ‘true’ branch (when the strings are equal)...
pacman-v7.0.0/lib/libalpm/be_package.c:600:28: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:600:28: call_function: calling ‘parse_descfile’ from ‘_alpm_pkg_load_internal’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def403]
pacman-v7.0.0/lib/libalpm/be_package.c:427:17: warning[-Wanalyzer-malloc-leak]: leak of ‘*current_file.name’
pacman-v7.0.0/lib/libalpm/be_package.c:725:15: enter_function: entry to ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:733:9: branch_false: following ‘false’ branch (when ‘pkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:735:19: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:776:12: call_function: calling ‘_alpm_pkg_validate_internal’ from ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:776:12: return_function: returning to ‘alpm_pkg_load’ from ‘_alpm_pkg_validate_internal’
pacman-v7.0.0/lib/libalpm/be_package.c:776:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:781:16: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:781:16: call_function: calling ‘_alpm_pkg_load_internal’ from ‘alpm_pkg_load’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def404]
pacman-v7.0.0/lib/libalpm/be_package.c:427:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(path)’
pacman-v7.0.0/lib/libalpm/be_package.c:725:15: enter_function: entry to ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:733:9: branch_false: following ‘false’ branch (when ‘pkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:735:19: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:736:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:737:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:738:38: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: call_function: calling ‘read_sigfile’ from ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: return_function: returning to ‘alpm_pkg_load’ from ‘read_sigfile’
pacman-v7.0.0/lib/libalpm/be_package.c:743:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:750:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:750:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:752:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:752:47: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:753:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:754:43: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:755:60: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:755:60: call_function: calling ‘_alpm_pkg_load_internal’ from ‘alpm_pkg_load’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def405]
pacman-v7.0.0/lib/libalpm/be_package.c:568:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
pacman-v7.0.0/lib/libalpm/be_package.c:725:15: enter_function: entry to ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:733:9: branch_false: following ‘false’ branch (when ‘pkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:735:19: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:736:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:737:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:738:38: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: call_function: calling ‘read_sigfile’ from ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: return_function: returning to ‘alpm_pkg_load’ from ‘read_sigfile’
pacman-v7.0.0/lib/libalpm/be_package.c:743:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:750:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:750:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:752:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:752:47: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:753:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:754:43: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:755:60: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:755:60: call_function: calling ‘_alpm_pkg_load_internal’ from ‘alpm_pkg_load’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def406]
pacman-v7.0.0/lib/libalpm/be_package.c:571:14: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
pacman-v7.0.0/lib/libalpm/be_package.c:725:15: enter_function: entry to ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:733:9: branch_false: following ‘false’ branch (when ‘pkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:735:19: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:736:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:737:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:738:38: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: call_function: calling ‘read_sigfile’ from ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: return_function: returning to ‘alpm_pkg_load’ from ‘read_sigfile’
pacman-v7.0.0/lib/libalpm/be_package.c:743:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:750:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:750:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:752:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:752:47: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:753:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:754:43: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:755:60: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:755:60: call_function: calling ‘_alpm_pkg_load_internal’ from ‘alpm_pkg_load’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def407]
pacman-v7.0.0/lib/libalpm/be_package.c:583:18: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
pacman-v7.0.0/lib/libalpm/be_package.c:725:15: enter_function: entry to ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:733:9: branch_false: following ‘false’ branch (when ‘pkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:735:19: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:736:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:737:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:738:38: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: call_function: calling ‘read_sigfile’ from ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: return_function: returning to ‘alpm_pkg_load’ from ‘read_sigfile’
pacman-v7.0.0/lib/libalpm/be_package.c:743:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:750:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:750:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:752:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:752:47: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:753:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:754:43: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:755:60: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:755:60: call_function: calling ‘_alpm_pkg_load_internal’ from ‘alpm_pkg_load’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def408]
pacman-v7.0.0/lib/libalpm/be_package.c:585:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
pacman-v7.0.0/lib/libalpm/be_package.c:725:15: enter_function: entry to ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:733:9: branch_false: following ‘false’ branch (when ‘pkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:735:19: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:736:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:737:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:738:38: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: call_function: calling ‘read_sigfile’ from ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: return_function: returning to ‘alpm_pkg_load’ from ‘read_sigfile’
pacman-v7.0.0/lib/libalpm/be_package.c:743:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:750:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:750:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:752:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:752:47: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:753:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:754:43: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:755:60: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:755:60: call_function: calling ‘_alpm_pkg_load_internal’ from ‘alpm_pkg_load’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def409]
pacman-v7.0.0/lib/libalpm/be_package.c:713:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(sigpath, "rb")’
pacman-v7.0.0/lib/libalpm/be_package.c:704:18: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/be_package.c:704:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:708:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:708:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:713:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:713:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:713:9: danger: ‘fopen(sigpath, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def410]
pacman-v7.0.0/lib/libalpm/be_package.c:713:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(sigpath, "rb")’
pacman-v7.0.0/lib/libalpm/be_package.c:704:18: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/be_package.c:704:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:708:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:708:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:713:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:713:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:713:9: danger: ‘fopen(sigpath, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def411]
pacman-v7.0.0/lib/libalpm/be_package.c:744:33: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
pacman-v7.0.0/lib/libalpm/be_package.c:725:15: enter_function: entry to ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:733:9: branch_false: following ‘false’ branch (when ‘pkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:735:19: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:736:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:737:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:738:38: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: call_function: calling ‘read_sigfile’ from ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: return_function: returning to ‘alpm_pkg_load’ from ‘read_sigfile’
pacman-v7.0.0/lib/libalpm/be_package.c:743:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:745:41: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:744:33: danger: ‘sig’ leaks here; was allocated at [(16)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def412]
pacman-v7.0.0/lib/libalpm/be_package.c:747:40: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
pacman-v7.0.0/lib/libalpm/be_package.c:725:15: enter_function: entry to ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:733:9: branch_false: following ‘false’ branch (when ‘pkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:735:19: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:736:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:737:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:738:38: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: call_function: calling ‘read_sigfile’ from ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: return_function: returning to ‘alpm_pkg_load’ from ‘read_sigfile’
pacman-v7.0.0/lib/libalpm/be_package.c:743:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:745:41: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:747:40: danger: ‘sig’ leaks here; was allocated at [(16)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def413]
pacman-v7.0.0/lib/libalpm/be_package.c:750:28: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
pacman-v7.0.0/lib/libalpm/be_package.c:725:15: enter_function: entry to ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:733:9: branch_false: following ‘false’ branch (when ‘pkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:735:19: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:736:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:737:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:738:38: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: call_function: calling ‘read_sigfile’ from ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: return_function: returning to ‘alpm_pkg_load’ from ‘read_sigfile’
pacman-v7.0.0/lib/libalpm/be_package.c:743:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:750:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:750:28: danger: ‘sig’ leaks here; was allocated at [(16)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def414]
pacman-v7.0.0/lib/libalpm/be_package.c:754:44: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
pacman-v7.0.0/lib/libalpm/be_package.c:725:15: enter_function: entry to ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:733:9: branch_false: following ‘false’ branch (when ‘pkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:735:19: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:736:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:737:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:738:38: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: call_function: calling ‘read_sigfile’ from ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: return_function: returning to ‘alpm_pkg_load’ from ‘read_sigfile’
pacman-v7.0.0/lib/libalpm/be_package.c:743:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:750:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:750:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:752:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:752:47: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:753:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:754:44: danger: ‘sig’ leaks here; was allocated at [(16)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def415]
pacman-v7.0.0/lib/libalpm/be_package.c:756:52: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
pacman-v7.0.0/lib/libalpm/be_package.c:725:15: enter_function: entry to ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:733:9: branch_false: following ‘false’ branch (when ‘pkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:735:19: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:736:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:737:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:738:38: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: call_function: calling ‘read_sigfile’ from ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: return_function: returning to ‘alpm_pkg_load’ from ‘read_sigfile’
pacman-v7.0.0/lib/libalpm/be_package.c:743:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:750:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:750:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:752:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:752:47: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:753:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:754:43: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:755:60: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:756:52: danger: ‘sig’ leaks here; was allocated at [(16)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def416]
pacman-v7.0.0/lib/libalpm/be_package.c:762:33: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
pacman-v7.0.0/lib/libalpm/be_package.c:725:15: enter_function: entry to ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:732:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:733:9: branch_false: following ‘false’ branch (when ‘pkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:735:19: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:736:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:737:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:738:38: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: call_function: calling ‘read_sigfile’ from ‘alpm_pkg_load’
pacman-v7.0.0/lib/libalpm/be_package.c:741:35: return_function: returning to ‘alpm_pkg_load’ from ‘read_sigfile’
pacman-v7.0.0/lib/libalpm/be_package.c:743:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:750:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:750:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/be_package.c:752:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:752:47: branch_false: following ‘false’ branch (when ‘k’ is NULL)...
pacman-v7.0.0/lib/libalpm/be_package.c:762:33: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/be_package.c:762:33: danger: ‘sig’ leaks here; was allocated at [(16)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def417]
pacman-v7.0.0/lib/libalpm/conflict.c:53:9: warning[-Wanalyzer-malloc-leak]: leak of ‘conflict’
pacman-v7.0.0/lib/libalpm/conflict.c:160:13: enter_function: entry to ‘check_conflict’
pacman-v7.0.0/lib/libalpm/conflict.c:169:24: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:170:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:173:55: branch_true: following ‘true’ branch (when ‘j’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:174:40: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:177:40: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:178:45: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:186:35: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/conflict.c:187:43: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:187:43: branch_true: following ‘true’ branch (when ‘order >= 0’)...
pacman-v7.0.0/lib/libalpm/conflict.c:188:49: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:188:49: call_function: calling ‘add_conflict’ from ‘check_conflict’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def418]
pacman-v7.0.0/lib/libalpm/conflict.c:265:9: warning[-Wanalyzer-malloc-leak]: leak of ‘conflict’
pacman-v7.0.0/lib/libalpm/conflict.c:404:14: enter_function: entry to ‘_alpm_db_find_fileconflicts’
pacman-v7.0.0/lib/libalpm/conflict.c:412:11: branch_false: following ‘false’ branch (when ‘upgrade’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:416:26: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:422:39: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:423:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:435:34: branch_true: following ‘true’ branch (when ‘j’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:437:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:444:27: branch_true: following ‘true’ branch...
branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:447:55: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:448:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:464:53: call_function: calling ‘add_fileconflict’ from ‘_alpm_db_find_fileconflicts’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def419]
pacman-v7.0.0/lib/libalpm/conflict.c:266:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/conflict.c:404:14: enter_function: entry to ‘_alpm_db_find_fileconflicts’
pacman-v7.0.0/lib/libalpm/conflict.c:412:11: branch_false: following ‘false’ branch (when ‘upgrade’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:416:26: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:422:39: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:423:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:435:34: branch_true: following ‘true’ branch (when ‘j’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:437:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:444:27: branch_true: following ‘true’ branch...
branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:447:55: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:448:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:464:53: call_function: calling ‘add_fileconflict’ from ‘_alpm_db_find_fileconflicts’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def420]
pacman-v7.0.0/lib/libalpm/conflict.c:266:9: warning[-Wanalyzer-malloc-leak]: leak of ‘conflict’
pacman-v7.0.0/lib/libalpm/conflict.c:404:14: enter_function: entry to ‘_alpm_db_find_fileconflicts’
pacman-v7.0.0/lib/libalpm/conflict.c:412:11: branch_false: following ‘false’ branch (when ‘upgrade’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:416:26: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:422:39: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:423:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:435:34: branch_true: following ‘true’ branch (when ‘j’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:437:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:444:27: branch_true: following ‘true’ branch...
branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:447:55: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:448:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:464:53: call_function: calling ‘add_fileconflict’ from ‘_alpm_db_find_fileconflicts’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def421]
pacman-v7.0.0/lib/libalpm/conflict.c:269:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/conflict.c:404:14: enter_function: entry to ‘_alpm_db_find_fileconflicts’
pacman-v7.0.0/lib/libalpm/conflict.c:412:11: branch_false: following ‘false’ branch (when ‘upgrade’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:416:26: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:422:39: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:423:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:435:34: branch_true: following ‘true’ branch (when ‘j’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:437:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:444:27: branch_true: following ‘true’ branch...
branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:447:55: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:448:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:464:53: call_function: calling ‘add_fileconflict’ from ‘_alpm_db_find_fileconflicts’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def422]
pacman-v7.0.0/lib/libalpm/conflict.c:269:17: warning[-Wanalyzer-malloc-leak]: leak of ‘conflict’
pacman-v7.0.0/lib/libalpm/conflict.c:404:14: enter_function: entry to ‘_alpm_db_find_fileconflicts’
pacman-v7.0.0/lib/libalpm/conflict.c:412:11: branch_false: following ‘false’ branch (when ‘upgrade’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:416:26: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:422:39: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:423:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:435:34: branch_true: following ‘true’ branch (when ‘j’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:437:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:444:27: branch_true: following ‘true’ branch...
branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:447:55: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:448:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:464:53: call_function: calling ‘add_fileconflict’ from ‘_alpm_db_find_fileconflicts’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def423]
pacman-v7.0.0/lib/libalpm/conflict.c:272:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/conflict.c:404:14: enter_function: entry to ‘_alpm_db_find_fileconflicts’
pacman-v7.0.0/lib/libalpm/conflict.c:412:11: branch_false: following ‘false’ branch (when ‘upgrade’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:416:26: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:422:39: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:423:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:435:34: branch_true: following ‘true’ branch (when ‘j’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:437:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:444:27: branch_true: following ‘true’ branch...
branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:447:55: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:448:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:464:53: call_function: calling ‘add_fileconflict’ from ‘_alpm_db_find_fileconflicts’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def424]
pacman-v7.0.0/lib/libalpm/conflict.c:272:17: warning[-Wanalyzer-malloc-leak]: leak of ‘conflict’
pacman-v7.0.0/lib/libalpm/conflict.c:404:14: enter_function: entry to ‘_alpm_db_find_fileconflicts’
pacman-v7.0.0/lib/libalpm/conflict.c:412:11: branch_false: following ‘false’ branch (when ‘upgrade’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:416:26: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:422:39: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:423:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:435:34: branch_true: following ‘true’ branch (when ‘j’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:437:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:444:27: branch_true: following ‘true’ branch...
branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:447:55: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:448:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:464:53: call_function: calling ‘add_fileconflict’ from ‘_alpm_db_find_fileconflicts’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def425]
pacman-v7.0.0/lib/libalpm/conflict.c:275:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/conflict.c:404:14: enter_function: entry to ‘_alpm_db_find_fileconflicts’
pacman-v7.0.0/lib/libalpm/conflict.c:412:11: branch_false: following ‘false’ branch (when ‘upgrade’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:416:26: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:422:39: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:423:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:435:34: branch_true: following ‘true’ branch (when ‘j’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:437:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:444:27: branch_true: following ‘true’ branch...
branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:447:55: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:448:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:464:53: call_function: calling ‘add_fileconflict’ from ‘_alpm_db_find_fileconflicts’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def426]
pacman-v7.0.0/lib/libalpm/conflict.c:275:17: warning[-Wanalyzer-malloc-leak]: leak of ‘conflict’
pacman-v7.0.0/lib/libalpm/conflict.c:404:14: enter_function: entry to ‘_alpm_db_find_fileconflicts’
pacman-v7.0.0/lib/libalpm/conflict.c:412:11: branch_false: following ‘false’ branch (when ‘upgrade’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:416:26: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:422:39: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:423:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:435:34: branch_true: following ‘true’ branch (when ‘j’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:437:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:444:27: branch_true: following ‘true’ branch...
branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:447:55: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:448:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:464:53: call_function: calling ‘add_fileconflict’ from ‘_alpm_db_find_fileconflicts’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def427]
pacman-v7.0.0/lib/libalpm/conflict.c:278:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/conflict.c:404:14: enter_function: entry to ‘_alpm_db_find_fileconflicts’
pacman-v7.0.0/lib/libalpm/conflict.c:412:11: branch_false: following ‘false’ branch (when ‘upgrade’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:416:26: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:422:39: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:423:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:435:34: branch_true: following ‘true’ branch (when ‘j’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:437:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:444:27: branch_true: following ‘true’ branch...
branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:447:55: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:448:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:464:53: call_function: calling ‘add_fileconflict’ from ‘_alpm_db_find_fileconflicts’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def428]
pacman-v7.0.0/lib/libalpm/conflict.c:278:21: warning[-Wanalyzer-malloc-leak]: leak of ‘conflict’
pacman-v7.0.0/lib/libalpm/conflict.c:404:14: enter_function: entry to ‘_alpm_db_find_fileconflicts’
pacman-v7.0.0/lib/libalpm/conflict.c:412:11: branch_false: following ‘false’ branch (when ‘upgrade’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:416:26: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:422:39: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:423:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:435:34: branch_true: following ‘true’ branch (when ‘j’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:437:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:444:27: branch_true: following ‘true’ branch...
branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:447:55: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:448:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:464:53: call_function: calling ‘add_fileconflict’ from ‘_alpm_db_find_fileconflicts’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def429]
pacman-v7.0.0/lib/libalpm/conflict.c:321:22: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&full_path)’
pacman-v7.0.0/lib/libalpm/conflict.c:316:15: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/conflict.c:317:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:321:22: danger: ‘opendir(&full_path)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def430]
pacman-v7.0.0/lib/libalpm/conflict.c:591:41: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(relative_path)’
pacman-v7.0.0/lib/libalpm/conflict.c:412:11: branch_false: following ‘false’ branch (when ‘upgrade’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:416:26: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:422:39: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:423:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:500:35: branch_true: following ‘true’ branch (when ‘j’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/conflict.c:501:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:515:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/conflict.c:519:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:575:42: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/conflict.c:576:55: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:577:35: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/conflict.c:582:87: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/conflict.c:585:35: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/conflict.c:592:91: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/conflict.c:591:41: danger: ‘strdup(relative_path)’ leaks here; was allocated at [(15)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/14)
Error: CPPCHECK_WARNING (CWE-476): [#def431]
pacman-v7.0.0/lib/libalpm/conflict.c:617: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dir
Error: CPPCHECK_WARNING (CWE-476): [#def432]
pacman-v7.0.0/lib/libalpm/db.c:181: warning[nullPointer]: Possible null pointer dereference: newurl
Error: GCC_ANALYZER_WARNING (CWE-401): [#def433]
pacman-v7.0.0/lib/libalpm/db.c:199:29: warning[-Wanalyzer-malloc-leak]: leak of ‘sanitize_url(url)’
pacman-v7.0.0/lib/libalpm/db.c:187:15: enter_function: entry to ‘alpm_db_add_cache_server’
pacman-v7.0.0/lib/libalpm/db.c:192:9: branch_false: following ‘false’ branch (when ‘db’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/db.c:193:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/db.c:194:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/db.c:196:18: call_function: calling ‘sanitize_url’ from ‘alpm_db_add_cache_server’
pacman-v7.0.0/lib/libalpm/db.c:196:18: return_function: returning to ‘alpm_db_add_cache_server’ from ‘sanitize_url’
pacman-v7.0.0/lib/libalpm/db.c:197:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/db.c:199:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/db.c:199:29: danger: ‘sanitize_url(url)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def434]
pacman-v7.0.0/lib/libalpm/db.c:218:23: warning[-Wanalyzer-malloc-leak]: leak of ‘sanitize_url(url)’
pacman-v7.0.0/lib/libalpm/db.c:206:15: enter_function: entry to ‘alpm_db_add_server’
pacman-v7.0.0/lib/libalpm/db.c:211:9: branch_false: following ‘false’ branch (when ‘db’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/db.c:212:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/db.c:213:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/db.c:215:18: call_function: calling ‘sanitize_url’ from ‘alpm_db_add_server’
pacman-v7.0.0/lib/libalpm/db.c:215:18: return_function: returning to ‘alpm_db_add_server’ from ‘sanitize_url’
pacman-v7.0.0/lib/libalpm/db.c:216:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/db.c:218:23: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/db.c:218:23: danger: ‘sanitize_url(url)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def435]
pacman-v7.0.0/lib/libalpm/db.c:238:29: warning[-Wanalyzer-malloc-leak]: leak of ‘sanitize_url(url)’
pacman-v7.0.0/lib/libalpm/db.c:225:15: enter_function: entry to ‘alpm_db_remove_cache_server’
pacman-v7.0.0/lib/libalpm/db.c:231:9: branch_false: following ‘false’ branch (when ‘db’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/db.c:232:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/db.c:233:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/db.c:235:18: call_function: calling ‘sanitize_url’ from ‘alpm_db_remove_cache_server’
pacman-v7.0.0/lib/libalpm/db.c:235:18: return_function: returning to ‘alpm_db_remove_cache_server’ from ‘sanitize_url’
pacman-v7.0.0/lib/libalpm/db.c:236:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/db.c:238:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/db.c:238:29: danger: ‘sanitize_url(url)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def436]
pacman-v7.0.0/lib/libalpm/db.c:241:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sanitize_url(url)’
pacman-v7.0.0/lib/libalpm/db.c:225:15: enter_function: entry to ‘alpm_db_remove_cache_server’
pacman-v7.0.0/lib/libalpm/db.c:231:9: branch_false: following ‘false’ branch (when ‘db’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/db.c:232:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/db.c:233:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/db.c:235:18: call_function: calling ‘sanitize_url’ from ‘alpm_db_remove_cache_server’
pacman-v7.0.0/lib/libalpm/db.c:235:18: return_function: returning to ‘alpm_db_remove_cache_server’ from ‘sanitize_url’
pacman-v7.0.0/lib/libalpm/db.c:236:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/db.c:238:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/db.c:240:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/db.c:241:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/db.c:241:17: danger: ‘sanitize_url(url)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def437]
pacman-v7.0.0/lib/libalpm/db.c:264:23: warning[-Wanalyzer-malloc-leak]: leak of ‘sanitize_url(url)’
pacman-v7.0.0/lib/libalpm/db.c:251:15: enter_function: entry to ‘alpm_db_remove_server’
pacman-v7.0.0/lib/libalpm/db.c:257:9: branch_false: following ‘false’ branch (when ‘db’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/db.c:258:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/db.c:259:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/db.c:261:18: call_function: calling ‘sanitize_url’ from ‘alpm_db_remove_server’
pacman-v7.0.0/lib/libalpm/db.c:261:18: return_function: returning to ‘alpm_db_remove_server’ from ‘sanitize_url’
pacman-v7.0.0/lib/libalpm/db.c:262:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/db.c:264:23: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/db.c:264:23: danger: ‘sanitize_url(url)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def438]
pacman-v7.0.0/lib/libalpm/db.c:267:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sanitize_url(url)’
pacman-v7.0.0/lib/libalpm/db.c:251:15: enter_function: entry to ‘alpm_db_remove_server’
pacman-v7.0.0/lib/libalpm/db.c:257:9: branch_false: following ‘false’ branch (when ‘db’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/db.c:258:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/db.c:259:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/db.c:261:18: call_function: calling ‘sanitize_url’ from ‘alpm_db_remove_server’
pacman-v7.0.0/lib/libalpm/db.c:261:18: return_function: returning to ‘alpm_db_remove_server’ from ‘sanitize_url’
pacman-v7.0.0/lib/libalpm/db.c:262:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/db.c:264:23: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/db.c:266:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/db.c:267:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/db.c:267:17: danger: ‘sanitize_url(url)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def439]
pacman-v7.0.0/lib/libalpm/db.c:376:9: warning[-Wanalyzer-malloc-leak]: leak of ‘db’
pacman-v7.0.0/lib/libalpm/db.c:375:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/db.c:375:9: branch_false: following ‘false’ branch (when ‘db’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/db.c:376:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/db.c:376:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/db.c:376:9: danger: ‘db’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def440]
pacman-v7.0.0/lib/libalpm/diskspace.c:119:17: warning[-Wanalyzer-malloc-leak]: leak of ‘mp’
pacman-v7.0.0/lib/libalpm/diskspace.c:107:11: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/diskspace.c:113:15: branch_true: following ‘true’ branch (when ‘mnt’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/diskspace.c:114:20: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/diskspace.c:118:17: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/diskspace.c:118:17: branch_false: following ‘false’ branch (when ‘mp’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/diskspace.c:119:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/diskspace.c:119:17: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/diskspace.c:119:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/diskspace.c:119:17: danger: ‘mp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def441]
pacman-v7.0.0/lib/libalpm/diskspace.c:122:32: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/diskspace.c:107:11: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/diskspace.c:113:15: branch_true: following ‘true’ branch (when ‘mnt’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/diskspace.c:114:20: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/diskspace.c:118:17: branch_false: following ‘false’ branch (when ‘mp’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/diskspace.c:119:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/diskspace.c:119:17: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/diskspace.c:119:17: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/diskspace.c:120:44: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/diskspace.c:122:32: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def442]
pacman-v7.0.0/lib/libalpm/diskspace.c:122:32: warning[-Wanalyzer-malloc-leak]: leak of ‘mp’
pacman-v7.0.0/lib/libalpm/diskspace.c:107:11: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/diskspace.c:113:15: branch_true: following ‘true’ branch (when ‘mnt’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/diskspace.c:114:20: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/diskspace.c:118:17: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/diskspace.c:118:17: branch_false: following ‘false’ branch (when ‘mp’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/diskspace.c:119:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/diskspace.c:119:17: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/diskspace.c:120:44: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/diskspace.c:122:32: danger: ‘mp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def443]
pacman-v7.0.0/lib/libalpm/dload.c:59: error[ctunullpointer]: Null pointer dereference: url
Error: CPPCHECK_WARNING (CWE-476): [#def444]
pacman-v7.0.0/lib/libalpm/dload.c:59: warning[nullPointer]: Possible null pointer dereference: url
Error: GCC_ANALYZER_WARNING (CWE-401): [#def445]
pacman-v7.0.0/lib/libalpm/dload.c:99:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: call_function: calling ‘get_filename’ from ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: return_function: returning to ‘alpm_fetch_pkgurl’ from ‘get_filename’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1343:51: call_function: calling ‘create_tempfile’ from ‘alpm_fetch_pkgurl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def446]
pacman-v7.0.0/lib/libalpm/dload.c:99:9: warning[-Wanalyzer-malloc-leak]: leak of ‘payload’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: call_function: calling ‘get_filename’ from ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: return_function: returning to ‘alpm_fetch_pkgurl’ from ‘get_filename’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1343:51: call_function: calling ‘create_tempfile’ from ‘alpm_fetch_pkgurl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def447]
pacman-v7.0.0/lib/libalpm/dload.c:99:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: call_function: calling ‘get_filename’ from ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: return_function: returning to ‘alpm_fetch_pkgurl’ from ‘get_filename’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1343:51: call_function: calling ‘create_tempfile’ from ‘alpm_fetch_pkgurl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def448]
pacman-v7.0.0/lib/libalpm/dload.c:101:18: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: call_function: calling ‘get_filename’ from ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: return_function: returning to ‘alpm_fetch_pkgurl’ from ‘get_filename’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1343:51: call_function: calling ‘create_tempfile’ from ‘alpm_fetch_pkgurl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def449]
pacman-v7.0.0/lib/libalpm/dload.c:101:18: warning[-Wanalyzer-malloc-leak]: leak of ‘payload’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: call_function: calling ‘get_filename’ from ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: return_function: returning to ‘alpm_fetch_pkgurl’ from ‘get_filename’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1343:51: call_function: calling ‘create_tempfile’ from ‘alpm_fetch_pkgurl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def450]
pacman-v7.0.0/lib/libalpm/dload.c:105:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: call_function: calling ‘get_filename’ from ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: return_function: returning to ‘alpm_fetch_pkgurl’ from ‘get_filename’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1343:51: call_function: calling ‘create_tempfile’ from ‘alpm_fetch_pkgurl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def451]
pacman-v7.0.0/lib/libalpm/dload.c:105:17: warning[-Wanalyzer-malloc-leak]: leak of ‘payload’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: call_function: calling ‘get_filename’ from ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: return_function: returning to ‘alpm_fetch_pkgurl’ from ‘get_filename’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1343:51: call_function: calling ‘create_tempfile’ from ‘alpm_fetch_pkgurl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def452]
pacman-v7.0.0/lib/libalpm/dload.c:106:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: call_function: calling ‘get_filename’ from ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: return_function: returning to ‘alpm_fetch_pkgurl’ from ‘get_filename’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1343:51: call_function: calling ‘create_tempfile’ from ‘alpm_fetch_pkgurl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def453]
pacman-v7.0.0/lib/libalpm/dload.c:106:17: warning[-Wanalyzer-malloc-leak]: leak of ‘payload’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: call_function: calling ‘get_filename’ from ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: return_function: returning to ‘alpm_fetch_pkgurl’ from ‘get_filename’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1343:51: call_function: calling ‘create_tempfile’ from ‘alpm_fetch_pkgurl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def454]
pacman-v7.0.0/lib/libalpm/dload.c:115:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1343:51: call_function: calling ‘create_tempfile’ from ‘alpm_fetch_pkgurl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def455]
pacman-v7.0.0/lib/libalpm/dload.c:115:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1343:51: call_function: calling ‘create_tempfile’ from ‘alpm_fetch_pkgurl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def456]
pacman-v7.0.0/lib/libalpm/dload.c:115:9: warning[-Wanalyzer-malloc-leak]: leak of ‘payload’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1343:51: call_function: calling ‘create_tempfile’ from ‘alpm_fetch_pkgurl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def457]
pacman-v7.0.0/lib/libalpm/dload.c:115:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1343:51: call_function: calling ‘create_tempfile’ from ‘alpm_fetch_pkgurl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def458]
pacman-v7.0.0/lib/libalpm/dload.c:157:28: warning[-Wanalyzer-malloc-leak]: leak of ‘h’
pacman-v7.0.0/lib/libalpm/dload.c:916:12: enter_function: entry to ‘curl_download_internal_sandboxed’
pacman-v7.0.0/lib/libalpm/dload.c:929:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:933:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:945:11: branch_true: following ‘true’ branch (when ‘pid == 0’)...
pacman-v7.0.0/lib/libalpm/dload.c:946:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:961:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:966:64: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:967:28: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:972:31: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:972:31: call_function: calling ‘curl_download_internal’ from ‘curl_download_internal_sandboxed’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def459]
pacman-v7.0.0/lib/libalpm/dload.c:946:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘callbacks_fd[0]’
pacman-v7.0.0/lib/libalpm/dload.c:929:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:933:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:945:11: branch_true: following ‘true’ branch (when ‘pid == 0’)...
pacman-v7.0.0/lib/libalpm/dload.c:946:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:946:17: danger: ‘callbacks_fd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def460]
pacman-v7.0.0/lib/libalpm/dload.c:946:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘callbacks_fd[1]’
pacman-v7.0.0/lib/libalpm/dload.c:929:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:933:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:945:11: branch_true: following ‘true’ branch (when ‘pid == 0’)...
pacman-v7.0.0/lib/libalpm/dload.c:946:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:946:17: danger: ‘callbacks_fd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def461]
pacman-v7.0.0/lib/libalpm/dload.c:947:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘callbacks_fd[1]’
pacman-v7.0.0/lib/libalpm/dload.c:929:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:933:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:945:11: branch_true: following ‘true’ branch (when ‘pid == 0’)...
pacman-v7.0.0/lib/libalpm/dload.c:946:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:947:17: danger: ‘callbacks_fd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def462]
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: warning[-Wanalyzer-malloc-leak]: leak of ‘payload’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: danger: ‘payload’ leaks here; was allocated at [(13)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def463]
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: call_function: calling ‘get_filename’ from ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: return_function: returning to ‘alpm_fetch_pkgurl’ from ‘get_filename’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: danger: ‘<unknown>’ leaks here; was allocated at [(16)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def464]
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: warning[-Wanalyzer-malloc-leak]: leak of ‘payload’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: call_function: calling ‘get_filename’ from ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: return_function: returning to ‘alpm_fetch_pkgurl’ from ‘get_filename’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: danger: ‘payload’ leaks here; was allocated at [(14)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def465]
pacman-v7.0.0/lib/libalpm/dload.c:1328:58: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: call_function: calling ‘get_filename’ from ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: return_function: returning to ‘alpm_fetch_pkgurl’ from ‘get_filename’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1326:27: branch_true: following ‘true’ branch (when ‘c’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1326:42: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1326:28: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1328:58: danger: ‘<unknown>’ leaks here; was allocated at [(16)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def466]
pacman-v7.0.0/lib/libalpm/dload.c:1328:58: warning[-Wanalyzer-malloc-leak]: leak of ‘payload’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: call_function: calling ‘get_filename’ from ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: return_function: returning to ‘alpm_fetch_pkgurl’ from ‘get_filename’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1326:27: branch_true: following ‘true’ branch (when ‘c’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1326:42: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1326:28: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1328:58: danger: ‘payload’ leaks here; was allocated at [(14)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def467]
pacman-v7.0.0/lib/libalpm/dload.c:1329:58: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: call_function: calling ‘get_filename’ from ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: return_function: returning to ‘alpm_fetch_pkgurl’ from ‘get_filename’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1326:27: branch_true: following ‘true’ branch (when ‘c’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1326:42: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1326:28: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1329:58: danger: ‘<unknown>’ leaks here; was allocated at [(16)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def468]
pacman-v7.0.0/lib/libalpm/dload.c:1329:58: warning[-Wanalyzer-malloc-leak]: leak of ‘payload’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: call_function: calling ‘get_filename’ from ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: return_function: returning to ‘alpm_fetch_pkgurl’ from ‘get_filename’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1326:27: branch_true: following ‘true’ branch (when ‘c’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1326:42: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1326:28: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1329:58: danger: ‘payload’ leaks here; was allocated at [(14)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def469]
pacman-v7.0.0/lib/libalpm/dload.c:1352:36: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: call_function: calling ‘get_filename’ from ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: return_function: returning to ‘alpm_fetch_pkgurl’ from ‘get_filename’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1326:27: branch_true: following ‘true’ branch (when ‘c’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1326:42: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1326:28: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1332:35: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1352:36: danger: ‘<unknown>’ leaks here; was allocated at [(16)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def470]
pacman-v7.0.0/lib/libalpm/dload.c:1352:36: warning[-Wanalyzer-malloc-leak]: leak of ‘payload’
pacman-v7.0.0/lib/libalpm/dload.c:1289:15: enter_function: entry to ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1298:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1299:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1302:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1304:9: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1306:23: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1307:23: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1311:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1318:25: branch_false: following ‘false’ branch (when ‘url’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/dload.c:1319:25: branch_false: following ‘false’ branch (when ‘payload’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1320:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: call_function: calling ‘get_filename’ from ‘alpm_fetch_pkgurl’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: return_function: returning to ‘alpm_fetch_pkgurl’ from ‘get_filename’
pacman-v7.0.0/lib/libalpm/dload.c:1322:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1325:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1326:27: branch_true: following ‘true’ branch (when ‘c’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/dload.c:1326:42: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/dload.c:1326:28: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1332:35: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/dload.c:1352:36: danger: ‘payload’ leaks here; was allocated at [(14)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/13)
Error: CPPCHECK_WARNING (CWE-457): [#def471]
pacman-v7.0.0/lib/libalpm/filelist.c:132: warning[uninitvar]: Uninitialized variables: &key.size, &key.mode
Error: GCC_ANALYZER_WARNING (CWE-401): [#def472]
pacman-v7.0.0/lib/libalpm/group.c:36:9: warning[-Wanalyzer-malloc-leak]: leak of ‘grp’
pacman-v7.0.0/lib/libalpm/group.c:35:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/group.c:35:9: branch_false: following ‘false’ branch (when ‘grp’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/group.c:36:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/group.c:36:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/group.c:36:9: danger: ‘grp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def473]
pacman-v7.0.0/lib/libalpm/handle.c:127: warning[nullPointer]: Possible null pointer dereference: dir
Error: GCC_ANALYZER_WARNING (CWE-401): [#def474]
pacman-v7.0.0/lib/libalpm/handle.c:131:12: warning[-Wanalyzer-malloc-leak]: leak of ‘dir’
pacman-v7.0.0/lib/libalpm/handle.c:122:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/handle.c:123:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:123:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/handle.c:126:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:126:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/handle.c:126:9: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/handle.c:127:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:128:11: branch_false: following ‘false’ branch (when ‘ptr’ is NULL)...
pacman-v7.0.0/lib/libalpm/handle.c:131:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:131:12: danger: ‘dir’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def475]
pacman-v7.0.0/lib/libalpm/handle.c:474:28: warning[-Wanalyzer-malloc-leak]: leak of ‘canonicalize_path(hookdir)’
pacman-v7.0.0/lib/libalpm/handle.c:463:15: enter_function: entry to ‘alpm_option_add_hookdir’
pacman-v7.0.0/lib/libalpm/handle.c:467:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/handle.c:467:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:468:9: branch_false: following ‘false’ branch (when ‘hookdir’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/handle.c:470:22: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:470:22: call_function: calling ‘canonicalize_path’ from ‘alpm_option_add_hookdir’
pacman-v7.0.0/lib/libalpm/handle.c:470:22: return_function: returning to ‘alpm_option_add_hookdir’ from ‘canonicalize_path’
pacman-v7.0.0/lib/libalpm/handle.c:471:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/handle.c:474:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:474:28: danger: ‘canonicalize_path(hookdir)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def476]
pacman-v7.0.0/lib/libalpm/handle.c:506:28: warning[-Wanalyzer-malloc-leak]: leak of ‘canonicalize_path(hookdir)’
pacman-v7.0.0/lib/libalpm/handle.c:495:15: enter_function: entry to ‘alpm_option_remove_hookdir’
pacman-v7.0.0/lib/libalpm/handle.c:499:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/handle.c:499:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:500:9: branch_false: following ‘false’ branch (when ‘hookdir’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/handle.c:502:22: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:502:22: call_function: calling ‘canonicalize_path’ from ‘alpm_option_remove_hookdir’
pacman-v7.0.0/lib/libalpm/handle.c:502:22: return_function: returning to ‘alpm_option_remove_hookdir’ from ‘canonicalize_path’
pacman-v7.0.0/lib/libalpm/handle.c:503:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/handle.c:506:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:506:28: danger: ‘canonicalize_path(hookdir)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def477]
pacman-v7.0.0/lib/libalpm/handle.c:528:29: warning[-Wanalyzer-malloc-leak]: leak of ‘canonicalize_path(cachedir)’
pacman-v7.0.0/lib/libalpm/handle.c:515:15: enter_function: entry to ‘alpm_option_add_cachedir’
pacman-v7.0.0/lib/libalpm/handle.c:519:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/handle.c:519:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:520:9: branch_false: following ‘false’ branch (when ‘cachedir’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/handle.c:524:23: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:524:23: call_function: calling ‘canonicalize_path’ from ‘alpm_option_add_cachedir’
pacman-v7.0.0/lib/libalpm/handle.c:524:23: return_function: returning to ‘alpm_option_add_cachedir’ from ‘canonicalize_path’
pacman-v7.0.0/lib/libalpm/handle.c:525:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/handle.c:528:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:528:29: danger: ‘canonicalize_path(cachedir)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def478]
pacman-v7.0.0/lib/libalpm/handle.c:560:29: warning[-Wanalyzer-malloc-leak]: leak of ‘canonicalize_path(cachedir)’
pacman-v7.0.0/lib/libalpm/handle.c:549:15: enter_function: entry to ‘alpm_option_remove_cachedir’
pacman-v7.0.0/lib/libalpm/handle.c:553:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/handle.c:553:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:554:9: branch_false: following ‘false’ branch (when ‘cachedir’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/handle.c:556:23: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:556:23: call_function: calling ‘canonicalize_path’ from ‘alpm_option_remove_cachedir’
pacman-v7.0.0/lib/libalpm/handle.c:556:23: return_function: returning to ‘alpm_option_remove_cachedir’ from ‘canonicalize_path’
pacman-v7.0.0/lib/libalpm/handle.c:557:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/handle.c:560:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:560:29: danger: ‘canonicalize_path(cachedir)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def479]
pacman-v7.0.0/lib/libalpm/handle.c:630:17: warning[-Wanalyzer-malloc-leak]: leak of ‘dup’
pacman-v7.0.0/lib/libalpm/handle.c:628:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/handle.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:629:9: branch_true: following ‘true’ branch (when ‘str’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/handle.c:629:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:629:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/handle.c:629:9: branch_false: following ‘false’ branch (when ‘dup’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/handle.c:630:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/handle.c:630:17: danger: ‘dup’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def480]
pacman-v7.0.0/lib/libalpm/handle.c:809:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(arch)’
pacman-v7.0.0/lib/libalpm/handle.c:809:70: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/handle.c:809:9: danger: ‘strdup(arch)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def481]
pacman-v7.0.0/lib/libalpm/hook.c:497:47: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘next’
pacman-v7.0.0/lib/libalpm/hook.c:507:12: enter_function: entry to ‘_alpm_hook_run_hook’
pacman-v7.0.0/lib/libalpm/hook.c:519:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:522:49: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:524:39: call_function: calling ‘_alpm_strlist_dedup’ from ‘_alpm_hook_run_hook’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def482]
pacman-v7.0.0/lib/libalpm/hook.c:565:43: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&path)’
pacman-v7.0.0/lib/libalpm/hook.c:540:51: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/hook.c:546:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:546:19: branch_false: following ‘false’ branch (when ‘dirlen <= 4095’)...
pacman-v7.0.0/lib/libalpm/hook.c:552:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:554:26: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/hook.c:554:19: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:565:43: danger: ‘opendir(&path)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def483]
pacman-v7.0.0/lib/libalpm/hook.c:608:25: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.hook’
pacman-v7.0.0/lib/libalpm/hook.c:532:5: enter_function: entry to ‘_alpm_hook_run’
pacman-v7.0.0/lib/libalpm/hook.c:540:51: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/hook.c:546:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:546:19: branch_false: following ‘false’ branch (when ‘dirlen <= 4095’)...
pacman-v7.0.0/lib/libalpm/hook.c:552:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:554:19: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:565:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:566:50: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:574:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:580:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:582:27: branch_false: following ‘false’ branch (when ‘name_len > 4’)...
pacman-v7.0.0/lib/libalpm/hook.c:583:76: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:582:28: branch_false: following ‘false’ branch (when the strings are equal)...
pacman-v7.0.0/lib/libalpm/hook.c:588:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:588:28: call_function: calling ‘find_hook’ from ‘_alpm_hook_run’
pacman-v7.0.0/lib/libalpm/hook.c:588:28: return_function: returning to ‘_alpm_hook_run’ from ‘find_hook’
pacman-v7.0.0/lib/libalpm/hook.c:588:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:593:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:593:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:600:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:600:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:605:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:605:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/hook.c:605:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:608:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:608:25: danger: ‘ctx.hook’ leaks here; was allocated at [(27)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def484]
pacman-v7.0.0/lib/libalpm/hook.c:609:28: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.hook’
pacman-v7.0.0/lib/libalpm/hook.c:532:5: enter_function: entry to ‘_alpm_hook_run’
pacman-v7.0.0/lib/libalpm/hook.c:540:51: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/hook.c:546:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:546:19: branch_false: following ‘false’ branch (when ‘dirlen <= 4095’)...
pacman-v7.0.0/lib/libalpm/hook.c:552:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:554:19: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:565:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:566:50: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:574:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:580:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:582:27: branch_false: following ‘false’ branch (when ‘name_len > 4’)...
pacman-v7.0.0/lib/libalpm/hook.c:583:76: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:582:28: branch_false: following ‘false’ branch (when the strings are equal)...
pacman-v7.0.0/lib/libalpm/hook.c:588:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:588:28: call_function: calling ‘find_hook’ from ‘_alpm_hook_run’
pacman-v7.0.0/lib/libalpm/hook.c:588:28: return_function: returning to ‘_alpm_hook_run’ from ‘find_hook’
pacman-v7.0.0/lib/libalpm/hook.c:588:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:593:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:593:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:600:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:600:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:605:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:605:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/hook.c:605:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:608:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:609:28: danger: ‘ctx.hook’ leaks here; was allocated at [(27)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def485]
pacman-v7.0.0/lib/libalpm/hook.c:617:25: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(&*<unknown>.d_name)’
pacman-v7.0.0/lib/libalpm/hook.c:532:5: enter_function: entry to ‘_alpm_hook_run’
pacman-v7.0.0/lib/libalpm/hook.c:540:51: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/hook.c:546:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:546:19: branch_false: following ‘false’ branch (when ‘dirlen <= 4095’)...
pacman-v7.0.0/lib/libalpm/hook.c:552:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:554:19: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:565:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:566:50: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:574:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:580:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:582:27: branch_false: following ‘false’ branch (when ‘name_len > 4’)...
pacman-v7.0.0/lib/libalpm/hook.c:583:76: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:582:28: branch_false: following ‘false’ branch (when the strings are equal)...
pacman-v7.0.0/lib/libalpm/hook.c:588:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:588:28: call_function: calling ‘find_hook’ from ‘_alpm_hook_run’
pacman-v7.0.0/lib/libalpm/hook.c:588:28: return_function: returning to ‘_alpm_hook_run’ from ‘find_hook’
pacman-v7.0.0/lib/libalpm/hook.c:588:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:593:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:593:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:600:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:600:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:605:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:605:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:608:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:609:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:610:44: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:609:28: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/hook.c:617:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/hook.c:617:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/hook.c:617:25: danger: ‘strdup(&*<unknown>.d_name)’ leaks here; was allocated at [(33)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/32)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def486]
pacman-v7.0.0/lib/libalpm/libarchive-compat.h:27:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/add.c:415:12: enter_function: entry to ‘commit_single_pkg’
pacman-v7.0.0/lib/libalpm/add.c:432:9: branch_false: following ‘false’ branch (when ‘trans’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/add.c:435:42: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:461:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:463:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:483:11: branch_false: following ‘false’ branch (when ‘oldpkg’ is NULL)...
pacman-v7.0.0/lib/libalpm/add.c:493:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:493:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:501:14: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:503:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:508:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/add.c:514:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/add.c:516:56: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:517:17: call_function: inlined call to ‘_alpm_archive_read_free’ from ‘commit_single_pkg’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def487]
pacman-v7.0.0/lib/libalpm/libarchive-compat.h:32:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/add.c:415:12: enter_function: entry to ‘commit_single_pkg’
pacman-v7.0.0/lib/libalpm/add.c:432:9: branch_false: following ‘false’ branch (when ‘trans’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/add.c:435:42: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:461:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:463:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:483:11: branch_false: following ‘false’ branch (when ‘oldpkg’ is NULL)...
pacman-v7.0.0/lib/libalpm/add.c:493:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:493:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:501:14: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:503:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:508:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/add.c:514:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:525:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:525:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/add.c:536:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/add.c:541:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/add.c:544:28: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:544:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/add.c:548:47: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/add.c:548:47: call_function: inlined call to ‘_alpm_archive_compressed_ftell’ from ‘commit_single_pkg’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def488]
pacman-v7.0.0/lib/libalpm/log.c:84:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
pacman-v7.0.0/lib/libalpm/log.c:51:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/log.c:53:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/log.c:77:9: acquire_resource: ‘va_start’ called here
pacman-v7.0.0/lib/libalpm/log.c:79:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/log.c:83:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/log.c:84:17: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def489]
pacman-v7.0.0/lib/libalpm/log.c:94:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
pacman-v7.0.0/lib/libalpm/log.c:51:9: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/log.c:53:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/log.c:77:9: acquire_resource: ‘va_start’ called here
pacman-v7.0.0/lib/libalpm/log.c:88:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/log.c:89:20: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/log.c:94:17: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def490]
pacman-v7.0.0/lib/libalpm/log.c:110:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
pacman-v7.0.0/lib/libalpm/log.c:105:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/log.c:109:9: acquire_resource: ‘va_start’ called here
pacman-v7.0.0/lib/libalpm/log.c:110:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def491]
pacman-v7.0.0/lib/libalpm/package.c:518:41: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(cachepkgname)’
pacman-v7.0.0/lib/libalpm/package.c:498:13: enter_function: entry to ‘find_requiredby’
pacman-v7.0.0/lib/libalpm/package.c:504:44: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:505:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:509:29: call_function: calling ‘alpm_pkg_get_depends’ from ‘find_requiredby’
pacman-v7.0.0/lib/libalpm/package.c:509:29: return_function: returning to ‘find_requiredby’ from ‘alpm_pkg_get_depends’
pacman-v7.0.0/lib/libalpm/package.c:514:23: branch_true: following ‘true’ branch (when ‘j’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:515:46: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:515:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:516:45: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:517:35: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:518:70: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:518:70: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:518:41: danger: ‘strdup(cachepkgname)’ leaks here; was allocated at [(15)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def492]
pacman-v7.0.0/lib/libalpm/package.c:567:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:635:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:642:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:642:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:644:30: branch_false: following ‘false’ branch (when ‘i’ is NULL)...
pacman-v7.0.0/lib/libalpm/package.c:647:30: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:647:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:647:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:648:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:648:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:649:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:649:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:650:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:650:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:652:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:654:24: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:655:17: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:655:17: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:656:34: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:658:49: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:657:29: call_function: calling ‘_alpm_file_copy’ from ‘_alpm_pkg_dup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def493]
pacman-v7.0.0/lib/libalpm/package.c:567:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:635:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:642:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:642:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:644:30: branch_false: following ‘false’ branch (when ‘i’ is NULL)...
pacman-v7.0.0/lib/libalpm/package.c:647:30: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:647:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:647:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:648:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:648:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:649:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:649:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:650:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:650:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:652:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:654:24: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:655:17: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:656:34: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:658:49: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:657:29: call_function: calling ‘_alpm_file_copy’ from ‘_alpm_pkg_dup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def494]
pacman-v7.0.0/lib/libalpm/package.c:587:23: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:635:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:642:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def495]
pacman-v7.0.0/lib/libalpm/package.c:587:23: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:635:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:642:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def496]
pacman-v7.0.0/lib/libalpm/package.c:587:42: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:635:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:642:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def497]
pacman-v7.0.0/lib/libalpm/package.c:587:42: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:635:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:642:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def498]
pacman-v7.0.0/lib/libalpm/package.c:623:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: danger: ‘newpkg’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def499]
pacman-v7.0.0/lib/libalpm/package.c:624:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: danger: ‘<unknown>’ leaks here; was allocated at [(9)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def500]
pacman-v7.0.0/lib/libalpm/package.c:624:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: danger: ‘newpkg’ leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def501]
pacman-v7.0.0/lib/libalpm/package.c:625:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: danger: ‘<unknown>’ leaks here; was allocated at [(11)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def502]
pacman-v7.0.0/lib/libalpm/package.c:625:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: danger: ‘newpkg’ leaks here; was allocated at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def503]
pacman-v7.0.0/lib/libalpm/package.c:626:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def504]
pacman-v7.0.0/lib/libalpm/package.c:626:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: danger: ‘newpkg’ leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def505]
pacman-v7.0.0/lib/libalpm/package.c:627:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: danger: ‘<unknown>’ leaks here; was allocated at [(15)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def506]
pacman-v7.0.0/lib/libalpm/package.c:627:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: danger: ‘newpkg’ leaks here; was allocated at [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def507]
pacman-v7.0.0/lib/libalpm/package.c:628:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: danger: ‘<unknown>’ leaks here; was allocated at [(15)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def508]
pacman-v7.0.0/lib/libalpm/package.c:628:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: danger: ‘newpkg’ leaks here; was allocated at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def509]
pacman-v7.0.0/lib/libalpm/package.c:631:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: danger: ‘<unknown>’ leaks here; was allocated at [(15)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def510]
pacman-v7.0.0/lib/libalpm/package.c:631:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: danger: ‘newpkg’ leaks here; was allocated at [(5)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def511]
pacman-v7.0.0/lib/libalpm/package.c:632:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: danger: ‘<unknown>’ leaks here; was allocated at [(15)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def512]
pacman-v7.0.0/lib/libalpm/package.c:632:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: danger: ‘newpkg’ leaks here; was allocated at [(5)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def513]
pacman-v7.0.0/lib/libalpm/package.c:633:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: danger: ‘<unknown>’ leaks here; was allocated at [(15)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def514]
pacman-v7.0.0/lib/libalpm/package.c:633:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: danger: ‘newpkg’ leaks here; was allocated at [(5)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def515]
pacman-v7.0.0/lib/libalpm/package.c:634:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: danger: ‘<unknown>’ leaks here; was allocated at [(15)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def516]
pacman-v7.0.0/lib/libalpm/package.c:634:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: danger: ‘newpkg’ leaks here; was allocated at [(5)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def517]
pacman-v7.0.0/lib/libalpm/package.c:641:30: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:635:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:641:30: danger: ‘<unknown>’ leaks here; was allocated at [(15)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def518]
pacman-v7.0.0/lib/libalpm/package.c:641:30: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:635:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:641:30: danger: ‘newpkg’ leaks here; was allocated at [(5)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def519]
pacman-v7.0.0/lib/libalpm/package.c:643:30: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:635:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:642:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:642:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:643:30: danger: ‘<unknown>’ leaks here; was allocated at [(16)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def520]
pacman-v7.0.0/lib/libalpm/package.c:643:30: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:635:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:642:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:642:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:643:30: danger: ‘newpkg’ leaks here; was allocated at [(6)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def521]
pacman-v7.0.0/lib/libalpm/package.c:645:34: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:635:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:642:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:642:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:644:30: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:645:81: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:645:34: danger: ‘<unknown>’ leaks here; was allocated at [(16)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def522]
pacman-v7.0.0/lib/libalpm/package.c:645:34: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:635:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:642:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:642:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:644:30: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:645:81: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:645:34: danger: ‘newpkg’ leaks here; was allocated at [(6)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def523]
pacman-v7.0.0/lib/libalpm/package.c:645:64: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:635:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:642:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:642:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:644:30: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:645:81: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:645:64: danger: ‘<unknown>’ leaks here; was allocated at [(16)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def524]
pacman-v7.0.0/lib/libalpm/package.c:645:64: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:635:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:642:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:642:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:644:30: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:645:81: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:645:64: danger: ‘newpkg’ leaks here; was allocated at [(6)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def525]
pacman-v7.0.0/lib/libalpm/package.c:655:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:635:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:642:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:642:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:644:30: branch_false: following ‘false’ branch (when ‘i’ is NULL)...
pacman-v7.0.0/lib/libalpm/package.c:647:30: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:647:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:647:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:648:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:648:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:649:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:649:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:650:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:650:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:652:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:654:24: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:655:17: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:655:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:655:17: danger: ‘<unknown>’ leaks here; was allocated at [(16)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def526]
pacman-v7.0.0/lib/libalpm/package.c:655:17: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:635:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:642:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:642:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:644:30: branch_false: following ‘false’ branch (when ‘i’ is NULL)...
pacman-v7.0.0/lib/libalpm/package.c:647:30: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:647:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:647:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:648:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:648:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:649:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:649:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:650:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:650:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:652:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:654:24: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:655:17: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:655:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:655:17: danger: ‘newpkg’ leaks here; was allocated at [(6)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def527]
pacman-v7.0.0/lib/libalpm/package.c:669:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:635:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:642:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:642:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:644:30: branch_false: following ‘false’ branch (when ‘i’ is NULL)...
pacman-v7.0.0/lib/libalpm/package.c:647:30: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:647:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:647:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:648:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:648:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:649:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:649:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:650:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:650:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:652:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:666:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:668:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:669:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:669:17: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:669:17: danger: ‘<unknown>’ leaks here; was allocated at [(16)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def528]
pacman-v7.0.0/lib/libalpm/package.c:669:17: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:624:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:625:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:626:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:627:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:628:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:629:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:631:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:632:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:633:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:634:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:635:24: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:642:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:642:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:644:30: branch_false: following ‘false’ branch (when ‘i’ is NULL)...
pacman-v7.0.0/lib/libalpm/package.c:647:30: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:647:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:647:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:648:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:648:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:649:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:649:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:650:30: call_function: calling ‘list_depdup’ from ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:650:30: return_function: returning to ‘_alpm_pkg_dup’ from ‘list_depdup’
pacman-v7.0.0/lib/libalpm/package.c:652:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:666:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:668:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:669:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:669:17: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:669:17: danger: ‘newpkg’ leaks here; was allocated at [(6)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def529]
pacman-v7.0.0/lib/libalpm/package.c:686:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:680:9: call_function: inlined call to ‘_alpm_pkg_free’ from ‘_alpm_pkg_dup’
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:680:9: call_function: inlined call to ‘_alpm_pkg_free’ from ‘_alpm_pkg_dup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def530]
pacman-v7.0.0/lib/libalpm/package.c:687:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:680:9: call_function: inlined call to ‘_alpm_pkg_free’ from ‘_alpm_pkg_dup’
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:680:9: call_function: inlined call to ‘_alpm_pkg_free’ from ‘_alpm_pkg_dup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def531]
pacman-v7.0.0/lib/libalpm/package.c:699:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pd’
pacman-v7.0.0/lib/libalpm/package.c:694:11: branch_false: following ‘false’ branch (when ‘string’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:694:37: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:694:12: branch_false: following ‘false’ branch (when ‘sep’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:698:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:698:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:698:9: branch_false: following ‘false’ branch (when ‘pd’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:699:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:699:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:699:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:699:9: danger: ‘pd’ leaks here; was allocated at [(6)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def532]
pacman-v7.0.0/lib/libalpm/package.c:700:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/package.c:694:11: branch_false: following ‘false’ branch (when ‘string’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:694:37: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:694:12: branch_false: following ‘false’ branch (when ‘sep’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:698:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:698:9: branch_false: following ‘false’ branch (when ‘pd’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:699:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:699:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:699:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:700:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:700:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:700:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:700:9: danger: ‘<unknown>’ leaks here; was allocated at [(8)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def533]
pacman-v7.0.0/lib/libalpm/package.c:700:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pd’
pacman-v7.0.0/lib/libalpm/package.c:694:11: branch_false: following ‘false’ branch (when ‘string’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:694:37: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:694:12: branch_false: following ‘false’ branch (when ‘sep’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:698:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:698:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:698:9: branch_false: following ‘false’ branch (when ‘pd’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:699:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:699:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:700:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:700:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:700:9: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/package.c:700:9: danger: ‘pd’ leaks here; was allocated at [(6)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def534]
pacman-v7.0.0/lib/libalpm/package.c:732:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:623:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/package.c:680:9: call_function: inlined call to ‘_alpm_pkg_free’ from ‘_alpm_pkg_dup’
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:680:9: call_function: inlined call to ‘_alpm_pkg_free’ from ‘_alpm_pkg_dup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def535]
pacman-v7.0.0/lib/libalpm/package.c:734:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:680:9: call_function: inlined call to ‘_alpm_pkg_free’ from ‘_alpm_pkg_dup’
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:680:9: call_function: inlined call to ‘_alpm_pkg_free’ from ‘_alpm_pkg_dup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def536]
pacman-v7.0.0/lib/libalpm/package.c:742:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:680:9: call_function: inlined call to ‘_alpm_pkg_free’ from ‘_alpm_pkg_dup’
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:680:9: call_function: inlined call to ‘_alpm_pkg_free’ from ‘_alpm_pkg_dup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def537]
pacman-v7.0.0/lib/libalpm/package.c:743:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newpkg’
pacman-v7.0.0/lib/libalpm/package.c:598:5: enter_function: entry to ‘_alpm_pkg_dup’
pacman-v7.0.0/lib/libalpm/package.c:604:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/package.c:608:11: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:612:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:620:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/package.c:620:9: branch_false: following ‘false’ branch (when ‘newpkg’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/package.c:622:29: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:680:9: call_function: inlined call to ‘_alpm_pkg_free’ from ‘_alpm_pkg_dup’
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/package.c:680:9: call_function: inlined call to ‘_alpm_pkg_free’ from ‘_alpm_pkg_dup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def538]
pacman-v7.0.0/lib/libalpm/pkghash.c:84:9: warning[-Wanalyzer-malloc-leak]: leak of ‘hash’
pacman-v7.0.0/lib/libalpm/pkghash.c:202:17: enter_function: entry to ‘_alpm_pkghash_add_sorted’
pacman-v7.0.0/lib/libalpm/pkghash.c:204:16: call_function: calling ‘pkghash_add_pkg’ from ‘_alpm_pkghash_add_sorted’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def539]
pacman-v7.0.0/lib/libalpm/remove.c:363:19: warning[-Wanalyzer-malloc-leak]: leak of ‘newpath’
pacman-v7.0.0/lib/libalpm/remove.c:611:12: enter_function: entry to ‘remove_package_files’
pacman-v7.0.0/lib/libalpm/remove.c:641:34: branch_true: following ‘true’ branch (when ‘i != 0’)...
pacman-v7.0.0/lib/libalpm/remove.c:642:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/remove.c:647:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/remove.c:653:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/remove.c:653:20: call_function: calling ‘unlink_file’ from ‘remove_package_files’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def540]
pacman-v7.0.0/lib/libalpm/remove.c:368:20: warning[-Wanalyzer-malloc-leak]: leak of ‘newpath’
pacman-v7.0.0/lib/libalpm/remove.c:611:12: enter_function: entry to ‘remove_package_files’
pacman-v7.0.0/lib/libalpm/remove.c:641:34: branch_true: following ‘true’ branch (when ‘i != 0’)...
pacman-v7.0.0/lib/libalpm/remove.c:642:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/remove.c:647:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/remove.c:653:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/remove.c:653:20: call_function: calling ‘unlink_file’ from ‘remove_package_files’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def541]
pacman-v7.0.0/lib/libalpm/remove.c:372:12: warning[-Wanalyzer-malloc-leak]: leak of ‘newpath’
pacman-v7.0.0/lib/libalpm/remove.c:611:12: enter_function: entry to ‘remove_package_files’
pacman-v7.0.0/lib/libalpm/remove.c:641:34: branch_true: following ‘true’ branch (when ‘i != 0’)...
pacman-v7.0.0/lib/libalpm/remove.c:642:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/remove.c:647:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/remove.c:653:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/remove.c:653:20: call_function: calling ‘unlink_file’ from ‘remove_package_files’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def542]
pacman-v7.0.0/lib/libalpm/remove.c:376:15: warning[-Wanalyzer-malloc-leak]: leak of ‘newpath’
pacman-v7.0.0/lib/libalpm/remove.c:611:12: enter_function: entry to ‘remove_package_files’
pacman-v7.0.0/lib/libalpm/remove.c:641:34: branch_true: following ‘true’ branch (when ‘i != 0’)...
pacman-v7.0.0/lib/libalpm/remove.c:642:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/remove.c:647:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/remove.c:653:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/remove.c:653:20: call_function: calling ‘unlink_file’ from ‘remove_package_files’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def543]
pacman-v7.0.0/lib/libalpm/remove.c:378:17: warning[-Wanalyzer-malloc-leak]: leak of ‘newpath’
pacman-v7.0.0/lib/libalpm/remove.c:611:12: enter_function: entry to ‘remove_package_files’
pacman-v7.0.0/lib/libalpm/remove.c:641:34: branch_true: following ‘true’ branch (when ‘i != 0’)...
pacman-v7.0.0/lib/libalpm/remove.c:642:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/remove.c:647:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/remove.c:653:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/remove.c:653:20: call_function: calling ‘unlink_file’ from ‘remove_package_files’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def544]
pacman-v7.0.0/lib/libalpm/remove.c:383:22: warning[-Wanalyzer-malloc-leak]: leak of ‘newpath’
pacman-v7.0.0/lib/libalpm/remove.c:611:12: enter_function: entry to ‘remove_package_files’
pacman-v7.0.0/lib/libalpm/remove.c:641:34: branch_true: following ‘true’ branch (when ‘i != 0’)...
pacman-v7.0.0/lib/libalpm/remove.c:642:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/remove.c:647:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/remove.c:653:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/remove.c:653:20: call_function: calling ‘unlink_file’ from ‘remove_package_files’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def545]
pacman-v7.0.0/lib/libalpm/remove.c:383:22: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(mdirname(file))’
pacman-v7.0.0/lib/libalpm/remove.c:611:12: enter_function: entry to ‘remove_package_files’
pacman-v7.0.0/lib/libalpm/remove.c:641:34: branch_true: following ‘true’ branch (when ‘i != 0’)...
pacman-v7.0.0/lib/libalpm/remove.c:642:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/remove.c:647:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/remove.c:653:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/remove.c:653:20: call_function: calling ‘unlink_file’ from ‘remove_package_files’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def546]
pacman-v7.0.0/lib/libalpm/remove.c:388:20: warning[-Wanalyzer-malloc-leak]: leak of ‘newpath’
pacman-v7.0.0/lib/libalpm/remove.c:611:12: enter_function: entry to ‘remove_package_files’
pacman-v7.0.0/lib/libalpm/remove.c:641:34: branch_true: following ‘true’ branch (when ‘i != 0’)...
pacman-v7.0.0/lib/libalpm/remove.c:642:37: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/remove.c:647:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/remove.c:653:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/remove.c:653:20: call_function: calling ‘unlink_file’ from ‘remove_package_files’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def547]
pacman-v7.0.0/lib/libalpm/sandbox.c:179:9: warning[-Wanalyzer-malloc-leak]: leak of ‘string’
pacman-v7.0.0/lib/libalpm/sandbox.c:166:6: enter_function: entry to ‘_alpm_sandbox_process_cb_log’
pacman-v7.0.0/lib/libalpm/sandbox.c:171:9: call_function: calling ‘read_from_pipe’ from ‘_alpm_sandbox_process_cb_log’
pacman-v7.0.0/lib/libalpm/sandbox.c:171:9: return_function: returning to ‘_alpm_sandbox_process_cb_log’ from ‘read_from_pipe’
pacman-v7.0.0/lib/libalpm/sandbox.c:171:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/sandbox.c:172:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/sandbox.c:172:9: call_function: calling ‘read_from_pipe’ from ‘_alpm_sandbox_process_cb_log’
pacman-v7.0.0/lib/libalpm/sandbox.c:172:9: return_function: returning to ‘_alpm_sandbox_process_cb_log’ from ‘read_from_pipe’
pacman-v7.0.0/lib/libalpm/sandbox.c:172:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/sandbox.c:174:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/sandbox.c:174:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/sandbox.c:174:9: branch_false: following ‘false’ branch (when ‘string’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/sandbox.c:176:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/sandbox.c:176:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/sandbox.c:177:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/sandbox.c:179:9: danger: ‘string’ leaks here; was allocated at [(20)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def548]
pacman-v7.0.0/lib/libalpm/signing.c:158:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "rb")’
pacman-v7.0.0/lib/libalpm/signing.c:571:5: enter_function: entry to ‘_alpm_gpgme_checksig’
pacman-v7.0.0/lib/libalpm/signing.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:588:11: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:591:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:593:11: branch_false: following ‘false’ branch (when ‘base64_sig’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:604:16: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:604:16: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/signing.c:605:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:609:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:609:12: call_function: calling ‘init_gpgme’ from ‘_alpm_gpgme_checksig’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def549]
pacman-v7.0.0/lib/libalpm/signing.c:158:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘sigfile’
pacman-v7.0.0/lib/libalpm/signing.c:1011:15: enter_function: entry to ‘alpm_db_check_pgp_signature’
pacman-v7.0.0/lib/libalpm/signing.c:1014:9: branch_false: following ‘false’ branch (when ‘db’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1016:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1018:16: call_function: calling ‘_alpm_gpgme_checksig’ from ‘alpm_db_check_pgp_signature’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def550]
pacman-v7.0.0/lib/libalpm/signing.c:158:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "rb")’
pacman-v7.0.0/lib/libalpm/signing.c:571:5: enter_function: entry to ‘_alpm_gpgme_checksig’
pacman-v7.0.0/lib/libalpm/signing.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:588:11: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:591:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:593:11: branch_false: following ‘false’ branch (when ‘base64_sig’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:604:16: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:604:16: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/signing.c:605:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:609:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:609:12: call_function: calling ‘init_gpgme’ from ‘_alpm_gpgme_checksig’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def551]
pacman-v7.0.0/lib/libalpm/signing.c:158:12: warning[-Wanalyzer-malloc-leak]: leak of ‘sigfile’
pacman-v7.0.0/lib/libalpm/signing.c:1011:15: enter_function: entry to ‘alpm_db_check_pgp_signature’
pacman-v7.0.0/lib/libalpm/signing.c:1014:9: branch_false: following ‘false’ branch (when ‘db’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1016:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1018:16: call_function: calling ‘_alpm_gpgme_checksig’ from ‘alpm_db_check_pgp_signature’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def552]
pacman-v7.0.0/lib/libalpm/signing.c:159:28: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "rb")’
pacman-v7.0.0/lib/libalpm/signing.c:571:5: enter_function: entry to ‘_alpm_gpgme_checksig’
pacman-v7.0.0/lib/libalpm/signing.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:588:11: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:591:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:593:11: branch_false: following ‘false’ branch (when ‘base64_sig’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:604:16: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:604:16: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/signing.c:605:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:609:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:609:12: call_function: calling ‘init_gpgme’ from ‘_alpm_gpgme_checksig’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def553]
pacman-v7.0.0/lib/libalpm/signing.c:159:28: warning[-Wanalyzer-file-leak]: leak of FILE ‘sigfile’
pacman-v7.0.0/lib/libalpm/signing.c:1011:15: enter_function: entry to ‘alpm_db_check_pgp_signature’
pacman-v7.0.0/lib/libalpm/signing.c:1014:9: branch_false: following ‘false’ branch (when ‘db’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1016:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1018:16: call_function: calling ‘_alpm_gpgme_checksig’ from ‘alpm_db_check_pgp_signature’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def554]
pacman-v7.0.0/lib/libalpm/signing.c:159:28: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "rb")’
pacman-v7.0.0/lib/libalpm/signing.c:571:5: enter_function: entry to ‘_alpm_gpgme_checksig’
pacman-v7.0.0/lib/libalpm/signing.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:588:11: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:591:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:593:11: branch_false: following ‘false’ branch (when ‘base64_sig’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:604:16: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:604:16: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/signing.c:605:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:609:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:609:12: call_function: calling ‘init_gpgme’ from ‘_alpm_gpgme_checksig’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def555]
pacman-v7.0.0/lib/libalpm/signing.c:159:28: warning[-Wanalyzer-malloc-leak]: leak of ‘sigfile’
pacman-v7.0.0/lib/libalpm/signing.c:1011:15: enter_function: entry to ‘alpm_db_check_pgp_signature’
pacman-v7.0.0/lib/libalpm/signing.c:1014:9: branch_false: following ‘false’ branch (when ‘db’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1016:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1018:16: call_function: calling ‘_alpm_gpgme_checksig’ from ‘alpm_db_check_pgp_signature’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def556]
pacman-v7.0.0/lib/libalpm/signing.c:161:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "rb")’
pacman-v7.0.0/lib/libalpm/signing.c:571:5: enter_function: entry to ‘_alpm_gpgme_checksig’
pacman-v7.0.0/lib/libalpm/signing.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:588:11: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:591:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:593:11: branch_false: following ‘false’ branch (when ‘base64_sig’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:604:16: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:604:16: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/signing.c:605:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:609:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:609:12: call_function: calling ‘init_gpgme’ from ‘_alpm_gpgme_checksig’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def557]
pacman-v7.0.0/lib/libalpm/signing.c:161:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘sigfile’
pacman-v7.0.0/lib/libalpm/signing.c:1011:15: enter_function: entry to ‘alpm_db_check_pgp_signature’
pacman-v7.0.0/lib/libalpm/signing.c:1014:9: branch_false: following ‘false’ branch (when ‘db’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1016:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1018:16: call_function: calling ‘_alpm_gpgme_checksig’ from ‘alpm_db_check_pgp_signature’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def558]
pacman-v7.0.0/lib/libalpm/signing.c:161:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "rb")’
pacman-v7.0.0/lib/libalpm/signing.c:571:5: enter_function: entry to ‘_alpm_gpgme_checksig’
pacman-v7.0.0/lib/libalpm/signing.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:588:11: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:591:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:593:11: branch_false: following ‘false’ branch (when ‘base64_sig’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:604:16: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:604:16: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/signing.c:605:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:609:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:609:12: call_function: calling ‘init_gpgme’ from ‘_alpm_gpgme_checksig’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def559]
pacman-v7.0.0/lib/libalpm/signing.c:161:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sigfile’
pacman-v7.0.0/lib/libalpm/signing.c:1011:15: enter_function: entry to ‘alpm_db_check_pgp_signature’
pacman-v7.0.0/lib/libalpm/signing.c:1014:9: branch_false: following ‘false’ branch (when ‘db’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1016:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1018:16: call_function: calling ‘_alpm_gpgme_checksig’ from ‘alpm_db_check_pgp_signature’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def560]
pacman-v7.0.0/lib/libalpm/signing.c:162:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "rb")’
pacman-v7.0.0/lib/libalpm/signing.c:571:5: enter_function: entry to ‘_alpm_gpgme_checksig’
pacman-v7.0.0/lib/libalpm/signing.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:588:11: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:591:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:593:11: branch_false: following ‘false’ branch (when ‘base64_sig’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:604:16: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:604:16: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/signing.c:605:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:609:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:609:12: call_function: calling ‘init_gpgme’ from ‘_alpm_gpgme_checksig’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def561]
pacman-v7.0.0/lib/libalpm/signing.c:162:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘sigfile’
pacman-v7.0.0/lib/libalpm/signing.c:1011:15: enter_function: entry to ‘alpm_db_check_pgp_signature’
pacman-v7.0.0/lib/libalpm/signing.c:1014:9: branch_false: following ‘false’ branch (when ‘db’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1016:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1018:16: call_function: calling ‘_alpm_gpgme_checksig’ from ‘alpm_db_check_pgp_signature’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def562]
pacman-v7.0.0/lib/libalpm/signing.c:162:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "rb")’
pacman-v7.0.0/lib/libalpm/signing.c:571:5: enter_function: entry to ‘_alpm_gpgme_checksig’
pacman-v7.0.0/lib/libalpm/signing.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:588:11: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:591:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:593:11: branch_false: following ‘false’ branch (when ‘base64_sig’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:604:16: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:604:16: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/signing.c:605:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:609:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:609:12: call_function: calling ‘init_gpgme’ from ‘_alpm_gpgme_checksig’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def563]
pacman-v7.0.0/lib/libalpm/signing.c:162:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sigfile’
pacman-v7.0.0/lib/libalpm/signing.c:1011:15: enter_function: entry to ‘alpm_db_check_pgp_signature’
pacman-v7.0.0/lib/libalpm/signing.c:1014:9: branch_false: following ‘false’ branch (when ‘db’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1016:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1018:16: call_function: calling ‘_alpm_gpgme_checksig’ from ‘alpm_db_check_pgp_signature’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def564]
pacman-v7.0.0/lib/libalpm/signing.c:170:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "rb")’
pacman-v7.0.0/lib/libalpm/signing.c:571:5: enter_function: entry to ‘_alpm_gpgme_checksig’
pacman-v7.0.0/lib/libalpm/signing.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:588:11: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:591:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:593:11: branch_false: following ‘false’ branch (when ‘base64_sig’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:604:16: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:604:16: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/signing.c:605:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:609:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:609:12: call_function: calling ‘init_gpgme’ from ‘_alpm_gpgme_checksig’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def565]
pacman-v7.0.0/lib/libalpm/signing.c:170:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘sigfile’
pacman-v7.0.0/lib/libalpm/signing.c:1011:15: enter_function: entry to ‘alpm_db_check_pgp_signature’
pacman-v7.0.0/lib/libalpm/signing.c:1014:9: branch_false: following ‘false’ branch (when ‘db’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1016:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1018:16: call_function: calling ‘_alpm_gpgme_checksig’ from ‘alpm_db_check_pgp_signature’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def566]
pacman-v7.0.0/lib/libalpm/signing.c:170:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "rb")’
pacman-v7.0.0/lib/libalpm/signing.c:571:5: enter_function: entry to ‘_alpm_gpgme_checksig’
pacman-v7.0.0/lib/libalpm/signing.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:588:11: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:591:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:593:11: branch_false: following ‘false’ branch (when ‘base64_sig’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:604:16: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:604:16: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/signing.c:605:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:609:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:609:12: call_function: calling ‘init_gpgme’ from ‘_alpm_gpgme_checksig’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def567]
pacman-v7.0.0/lib/libalpm/signing.c:170:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sigfile’
pacman-v7.0.0/lib/libalpm/signing.c:1011:15: enter_function: entry to ‘alpm_db_check_pgp_signature’
pacman-v7.0.0/lib/libalpm/signing.c:1014:9: branch_false: following ‘false’ branch (when ‘db’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1015:9: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:1016:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1018:16: call_function: calling ‘_alpm_gpgme_checksig’ from ‘alpm_db_check_pgp_signature’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def568]
pacman-v7.0.0/lib/libalpm/signing.c:171:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "rb")’
pacman-v7.0.0/lib/libalpm/signing.c:571:5: enter_function: entry to ‘_alpm_gpgme_checksig’
pacman-v7.0.0/lib/libalpm/signing.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:588:11: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:591:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:593:11: branch_false: following ‘false’ branch (when ‘base64_sig’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:604:16: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:604:16: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/signing.c:605:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:609:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:609:12: call_function: calling ‘init_gpgme’ from ‘_alpm_gpgme_checksig’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def569]
pacman-v7.0.0/lib/libalpm/signing.c:171:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "rb")’
pacman-v7.0.0/lib/libalpm/signing.c:571:5: enter_function: entry to ‘_alpm_gpgme_checksig’
pacman-v7.0.0/lib/libalpm/signing.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:588:11: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:591:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:593:11: branch_false: following ‘false’ branch (when ‘base64_sig’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:604:16: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:604:16: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/signing.c:605:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:609:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:609:12: call_function: calling ‘init_gpgme’ from ‘_alpm_gpgme_checksig’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def570]
pacman-v7.0.0/lib/libalpm/signing.c:173:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "rb")’
pacman-v7.0.0/lib/libalpm/signing.c:571:5: enter_function: entry to ‘_alpm_gpgme_checksig’
pacman-v7.0.0/lib/libalpm/signing.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:588:11: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:591:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:593:11: branch_false: following ‘false’ branch (when ‘base64_sig’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:604:16: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:604:16: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/signing.c:605:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:609:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:609:12: call_function: calling ‘init_gpgme’ from ‘_alpm_gpgme_checksig’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def571]
pacman-v7.0.0/lib/libalpm/signing.c:173:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "rb")’
pacman-v7.0.0/lib/libalpm/signing.c:571:5: enter_function: entry to ‘_alpm_gpgme_checksig’
pacman-v7.0.0/lib/libalpm/signing.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:588:11: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:591:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:593:11: branch_false: following ‘false’ branch (when ‘base64_sig’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:604:16: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:604:16: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/signing.c:605:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:609:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:609:12: call_function: calling ‘init_gpgme’ from ‘_alpm_gpgme_checksig’
Error: COMPILER_WARNING (CWE-1023): [#def572]
pacman-v7.0.0/lib/libalpm/signing.c: scope_hint: In function ‘key_search_keyserver’
pacman-v7.0.0/lib/libalpm/signing.c:378:9: warning[-Wswitch]: enumeration value ‘GPGME_PK_KYBER’ not handled in switch
Error: GCC_ANALYZER_WARNING (CWE-401): [#def573]
pacman-v7.0.0/lib/libalpm/signing.c:584:21: warning[-Wanalyzer-malloc-leak]: leak of ‘siglist’
pacman-v7.0.0/lib/libalpm/signing.c:837:5: enter_function: entry to ‘_alpm_check_pgp_helper’
pacman-v7.0.0/lib/libalpm/signing.c:844:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/signing.c:844:9: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:847:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:847:15: call_function: calling ‘_alpm_gpgme_checksig’ from ‘_alpm_check_pgp_helper’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def574]
pacman-v7.0.0/lib/libalpm/signing.c:585:17: warning[-Wanalyzer-malloc-leak]: leak of ‘siglist’
pacman-v7.0.0/lib/libalpm/signing.c:837:5: enter_function: entry to ‘_alpm_check_pgp_helper’
pacman-v7.0.0/lib/libalpm/signing.c:844:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/signing.c:844:9: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:847:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:847:15: call_function: calling ‘_alpm_gpgme_checksig’ from ‘_alpm_check_pgp_helper’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def575]
pacman-v7.0.0/lib/libalpm/signing.c:595:20: warning[-Wanalyzer-malloc-leak]: leak of ‘siglist’
pacman-v7.0.0/lib/libalpm/signing.c:837:5: enter_function: entry to ‘_alpm_check_pgp_helper’
pacman-v7.0.0/lib/libalpm/signing.c:844:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/signing.c:844:9: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:847:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:847:15: call_function: calling ‘_alpm_gpgme_checksig’ from ‘_alpm_check_pgp_helper’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def576]
pacman-v7.0.0/lib/libalpm/signing.c:606:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘sigfile’
pacman-v7.0.0/lib/libalpm/signing.c:571:5: enter_function: entry to ‘_alpm_gpgme_checksig’
pacman-v7.0.0/lib/libalpm/signing.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:588:11: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:591:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:593:11: branch_true: following ‘true’ branch (when ‘base64_sig’ is NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:594:27: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:594:27: call_function: calling ‘_alpm_sigpath’ from ‘_alpm_gpgme_checksig’
pacman-v7.0.0/lib/libalpm/signing.c:594:27: return_function: returning to ‘_alpm_gpgme_checksig’ from ‘_alpm_sigpath’
pacman-v7.0.0/lib/libalpm/signing.c:595:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:596:47: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:596:47: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/signing.c:595:20: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:604:16: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:605:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:606:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:606:17: danger: ‘sigfile’ leaks here; was opened at [(17)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def577]
pacman-v7.0.0/lib/libalpm/signing.c:606:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sigfile’
pacman-v7.0.0/lib/libalpm/signing.c:571:5: enter_function: entry to ‘_alpm_gpgme_checksig’
pacman-v7.0.0/lib/libalpm/signing.c:584:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:588:11: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:591:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:593:11: branch_true: following ‘true’ branch (when ‘base64_sig’ is NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:594:27: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:594:27: call_function: calling ‘_alpm_sigpath’ from ‘_alpm_gpgme_checksig’
pacman-v7.0.0/lib/libalpm/signing.c:594:27: return_function: returning to ‘_alpm_gpgme_checksig’ from ‘_alpm_sigpath’
pacman-v7.0.0/lib/libalpm/signing.c:595:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:596:47: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:596:47: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/signing.c:595:20: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:604:16: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:605:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:606:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:606:17: danger: ‘sigfile’ leaks here; was allocated at [(17)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def578]
pacman-v7.0.0/lib/libalpm/signing.c:818:9: warning[-Wanalyzer-malloc-leak]: leak of ‘siglist’
pacman-v7.0.0/lib/libalpm/signing.c:837:5: enter_function: entry to ‘_alpm_check_pgp_helper’
pacman-v7.0.0/lib/libalpm/signing.c:844:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/signing.c:844:9: branch_false: following ‘false’ branch (when ‘siglist’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/signing.c:847:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:847:15: call_function: calling ‘_alpm_gpgme_checksig’ from ‘_alpm_check_pgp_helper’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def579]
pacman-v7.0.0/lib/libalpm/signing.c:1090:33: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(&key)’
pacman-v7.0.0/lib/libalpm/signing.c:1063:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:1064:31: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1080:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/signing.c:1084:36: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1084:35: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1087:45: branch_true: following ‘true’ branch (when ‘i != 8’)...
pacman-v7.0.0/lib/libalpm/signing.c:1088:78: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/signing.c:1090:62: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/signing.c:1090:33: danger: ‘strdup(&key)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def580]
pacman-v7.0.0/lib/libalpm/sync.c:943:66: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/lib/libalpm/sync.c:910:37: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/sync.c:911:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:918:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/sync.c:922:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:923:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/sync.c:924:40: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:927:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/sync.c:928:46: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:929:35: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/sync.c:932:45: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:932:55: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/sync.c:933:55: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:935:51: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/sync.c:936:65: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:935:52: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/sync.c:937:67: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:938:59: branch_false: following ‘false’ branch (when ‘keyinfo’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/sync.c:941:79: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:941:72: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/sync.c:943:66: danger: ‘<unknown>’ leaks here; was allocated at [(19)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def581]
pacman-v7.0.0/lib/libalpm/sync.c:943:66: warning[-Wanalyzer-malloc-leak]: leak of ‘keyinfo’
pacman-v7.0.0/lib/libalpm/sync.c:910:37: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/sync.c:911:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:918:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/sync.c:922:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:923:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/sync.c:924:40: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:927:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/sync.c:928:46: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:929:35: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/sync.c:932:45: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:932:55: branch_true: following ‘true’ branch (when ‘k’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/sync.c:933:55: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:935:51: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/sync.c:936:65: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:935:52: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/sync.c:937:67: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:937:67: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/sync.c:938:59: branch_false: following ‘false’ branch (when ‘keyinfo’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/sync.c:941:79: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:943:66: danger: ‘keyinfo’ leaks here; was allocated at [(17)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def582]
pacman-v7.0.0/lib/libalpm/sync.c:1032:34: warning[-Wanalyzer-malloc-leak]: leak of ‘invalid’
pacman-v7.0.0/lib/libalpm/sync.c:1005:37: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/sync.c:1006:39: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:1011:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/sync.c:1015:34: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:1018:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/sync.c:1024:30: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:1026:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/sync.c:1029:35: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:1030:25: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/sync.c:1030:25: branch_false: following ‘false’ branch (when ‘invalid’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/sync.c:1031:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:1032:34: danger: ‘invalid’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def583]
pacman-v7.0.0/lib/libalpm/sync.c:1205:25: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*spkg.filename)’
pacman-v7.0.0/lib/libalpm/sync.c:1169:37: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/sync.c:1171:29: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:1177:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/sync.c:1181:34: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:1184:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/sync.c:1193:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:1197:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/sync.c:1198:25: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/sync.c:1205:54: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/sync.c:1205:25: danger: ‘strdup(*spkg.filename)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def584]
pacman-v7.0.0/lib/libalpm/trans.c:320:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fn, "r")’
pacman-v7.0.0/lib/libalpm/trans.c:315:18: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/trans.c:315:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/trans.c:318:15: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/trans.c:320:20: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/trans.c:320:20: danger: ‘fopen(fn, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def585]
pacman-v7.0.0/lib/libalpm/trans.c:320:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fn, "r")’
pacman-v7.0.0/lib/libalpm/trans.c:315:18: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/trans.c:315:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/trans.c:318:15: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/trans.c:320:20: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/trans.c:320:20: danger: ‘fopen(fn, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def586]
pacman-v7.0.0/lib/libalpm/util.c:118: warning[nullPointer]: Possible null pointer dereference: ptr
Error: GCC_ANALYZER_WARNING (CWE-476): [#def587]
pacman-v7.0.0/lib/libalpm/util.c:118:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ptr’
pacman-v7.0.0/lib/libalpm/util.c:114:9: branch_false: following ‘false’ branch (when ‘path’ is NULL)...
pacman-v7.0.0/lib/libalpm/util.c:116:19: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:118:24: danger: dereference of NULL ‘ptr’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def588]
pacman-v7.0.0/lib/libalpm/util.c:162:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
pacman-v7.0.0/lib/libalpm/util.c:160:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/util.c:160:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:162:9: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def589]
pacman-v7.0.0/lib/libalpm/util.c:164:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:160:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:162:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:164:23: danger: ‘<unknown>’ leaks here; was opened at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def590]
pacman-v7.0.0/lib/libalpm/util.c:164:23: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
pacman-v7.0.0/lib/libalpm/util.c:160:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/util.c:160:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:164:23: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def591]
pacman-v7.0.0/lib/libalpm/util.c:181:34: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
pacman-v7.0.0/lib/libalpm/util.c:160:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/util.c:160:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:166:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:170:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:170:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:177:19: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:181:34: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def592]
pacman-v7.0.0/lib/libalpm/util.c:193:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:160:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:162:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:166:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:167:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:193:11: danger: ‘<unknown>’ leaks here; was opened at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def593]
pacman-v7.0.0/lib/libalpm/util.c:194:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:160:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:162:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:166:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:167:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:193:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:194:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:194:17: danger: ‘<unknown>’ leaks here; was opened at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def594]
pacman-v7.0.0/lib/libalpm/util.c:272:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:255:5: enter_function: entry to ‘_alpm_open_archive’
pacman-v7.0.0/lib/libalpm/util.c:262:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:266:9: call_function: inlined call to ‘_alpm_archive_read_support_filter_all’ from ‘_alpm_open_archive’
pacman-v7.0.0/lib/libalpm/util.c:270:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:271:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:272:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:272:17: danger: ‘<unknown>’ leaks here; was opened at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def595]
pacman-v7.0.0/lib/libalpm/util.c:299:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:255:5: enter_function: entry to ‘_alpm_open_archive’
pacman-v7.0.0/lib/libalpm/util.c:262:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:266:9: call_function: inlined call to ‘_alpm_archive_read_support_filter_all’ from ‘_alpm_open_archive’
pacman-v7.0.0/lib/libalpm/util.c:270:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:271:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:272:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:299:11: danger: ‘<unknown>’ leaks here; was opened at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def596]
pacman-v7.0.0/lib/libalpm/util.c:380: warning[nullPointer]: Possible null pointer dereference: entry_prefix
Error: GCC_ANALYZER_WARNING (CWE-401): [#def597]
pacman-v7.0.0/lib/libalpm/util.c:460:22: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(path)’
pacman-v7.0.0/lib/libalpm/util.c:449:20: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/util.c:451:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:460:22: danger: ‘opendir(path)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def598]
pacman-v7.0.0/lib/libalpm/util.c:496:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:610:5: enter_function: entry to ‘_alpm_run_chroot’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: following ‘false’ branch (when ‘pid != 0’)...
pacman-v7.0.0/lib/libalpm/util.c:707:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:730:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:732:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:739:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:739:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:745:34: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:745:34: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:749:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:749:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:750:36: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:750:36: call_function: calling ‘_alpm_chroot_write_to_child’ from ‘_alpm_run_chroot’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def599]
pacman-v7.0.0/lib/libalpm/util.c:496:33: warning[-Wanalyzer-jump-through-null]: jump through null pointer
pacman-v7.0.0/lib/libalpm/util.c:820:5: enter_function: entry to ‘_alpm_ldconfig’
pacman-v7.0.0/lib/libalpm/util.c:827:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:828:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:829:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:831:31: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:833:32: call_function: calling ‘_alpm_run_chroot’ from ‘_alpm_ldconfig’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def600]
pacman-v7.0.0/lib/libalpm/util.c:502:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:610:5: enter_function: entry to ‘_alpm_run_chroot’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: following ‘false’ branch (when ‘pid != 0’)...
pacman-v7.0.0/lib/libalpm/util.c:707:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:730:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:732:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:739:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:739:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:745:34: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:745:34: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:749:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:749:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:750:36: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:750:36: call_function: calling ‘_alpm_chroot_write_to_child’ from ‘_alpm_run_chroot’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def601]
pacman-v7.0.0/lib/libalpm/util.c:624:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:623:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:624:51: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:624:17: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def602]
pacman-v7.0.0/lib/libalpm/util.c:629:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:630:56: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:629:17: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def603]
pacman-v7.0.0/lib/libalpm/util.c:634:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:634:9: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def604]
pacman-v7.0.0/lib/libalpm/util.c:638:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:638:9: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def605]
pacman-v7.0.0/lib/libalpm/util.c:641:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:641:95: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:641:17: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def606]
pacman-v7.0.0/lib/libalpm/util.c:647:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:647:95: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:647:17: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def607]
pacman-v7.0.0/lib/libalpm/util.c:655:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_true: following ‘true’ branch (when ‘pid == -1’)...
pacman-v7.0.0/lib/libalpm/util.c:655:102: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:655:17: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def608]
pacman-v7.0.0/lib/libalpm/util.c:662:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_true: following ‘true’ branch (when ‘pid == 0’)...
pacman-v7.0.0/lib/libalpm/util.c:662:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:662:17: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def609]
pacman-v7.0.0/lib/libalpm/util.c:663:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_true: following ‘true’ branch (when ‘pid == 0’)...
pacman-v7.0.0/lib/libalpm/util.c:662:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:663:17: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def610]
pacman-v7.0.0/lib/libalpm/util.c:664:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_true: following ‘true’ branch (when ‘pid == 0’)...
pacman-v7.0.0/lib/libalpm/util.c:662:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:664:17: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING: [#def611]
pacman-v7.0.0/lib/libalpm/util.c:665:23: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_true: following ‘true’ branch (when ‘pid == 0’)...
pacman-v7.0.0/lib/libalpm/util.c:662:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:663:17: release_resource: closed here
pacman-v7.0.0/lib/libalpm/util.c:665:23: danger: ‘1’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def612]
pacman-v7.0.0/lib/libalpm/util.c:666:23: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘2’
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_true: following ‘true’ branch (when ‘pid == 0’)...
pacman-v7.0.0/lib/libalpm/util.c:662:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:664:17: release_resource: closed here
pacman-v7.0.0/lib/libalpm/util.c:666:23: danger: ‘2’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def613]
pacman-v7.0.0/lib/libalpm/util.c:667:23: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_true: following ‘true’ branch (when ‘pid == 0’)...
pacman-v7.0.0/lib/libalpm/util.c:662:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:662:17: release_resource: closed here
pacman-v7.0.0/lib/libalpm/util.c:667:23: danger: ‘0’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def614]
pacman-v7.0.0/lib/libalpm/util.c:668:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_true: following ‘true’ branch (when ‘pid == 0’)...
pacman-v7.0.0/lib/libalpm/util.c:662:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:668:17: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def615]
pacman-v7.0.0/lib/libalpm/util.c:669:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_true: following ‘true’ branch (when ‘pid == 0’)...
pacman-v7.0.0/lib/libalpm/util.c:662:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:669:17: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def616]
pacman-v7.0.0/lib/libalpm/util.c:670:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_true: following ‘true’ branch (when ‘pid == 0’)...
pacman-v7.0.0/lib/libalpm/util.c:662:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:670:17: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def617]
pacman-v7.0.0/lib/libalpm/util.c:671:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_true: following ‘true’ branch (when ‘pid == 0’)...
pacman-v7.0.0/lib/libalpm/util.c:662:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:671:17: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def618]
pacman-v7.0.0/lib/libalpm/util.c:672:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_true: following ‘true’ branch (when ‘pid == 0’)...
pacman-v7.0.0/lib/libalpm/util.c:662:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:672:19: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def619]
pacman-v7.0.0/lib/libalpm/util.c:673:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_true: following ‘true’ branch (when ‘pid == 0’)...
pacman-v7.0.0/lib/libalpm/util.c:662:17: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:672:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:673:25: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:673:25: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def620]
pacman-v7.0.0/lib/libalpm/util.c:714:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: following ‘false’ branch (when ‘pid != 0’)...
pacman-v7.0.0/lib/libalpm/util.c:707:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:714:17: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def621]
pacman-v7.0.0/lib/libalpm/util.c:715:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: following ‘false’ branch (when ‘pid != 0’)...
pacman-v7.0.0/lib/libalpm/util.c:707:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:715:17: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def622]
pacman-v7.0.0/lib/libalpm/util.c:716:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: following ‘false’ branch (when ‘pid != 0’)...
pacman-v7.0.0/lib/libalpm/util.c:707:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:716:17: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def623]
pacman-v7.0.0/lib/libalpm/util.c:721:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: following ‘false’ branch (when ‘pid != 0’)...
pacman-v7.0.0/lib/libalpm/util.c:707:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:718:19: branch_true: following ‘true’ branch (when ‘stdin_cb’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/util.c:719:44: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:721:25: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def624]
pacman-v7.0.0/lib/libalpm/util.c:725:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: following ‘false’ branch (when ‘pid != 0’)...
pacman-v7.0.0/lib/libalpm/util.c:707:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:718:19: branch_false: following ‘false’ branch (when ‘stdin_cb’ is NULL)...
pacman-v7.0.0/lib/libalpm/util.c:723:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:725:25: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def625]
pacman-v7.0.0/lib/libalpm/util.c:731:48: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: following ‘false’ branch (when ‘pid != 0’)...
pacman-v7.0.0/lib/libalpm/util.c:707:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:718:19: branch_true: following ‘true’ branch (when ‘stdin_cb’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/util.c:719:44: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:730:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:731:48: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:731:48: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def626]
pacman-v7.0.0/lib/libalpm/util.c:747:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: following ‘false’ branch (when ‘pid != 0’)...
pacman-v7.0.0/lib/libalpm/util.c:707:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:730:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:732:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:739:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:739:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:745:34: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:745:34: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:747:33: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:747:33: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def627]
pacman-v7.0.0/lib/libalpm/util.c:756:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: following ‘false’ branch (when ‘pid != 0’)...
pacman-v7.0.0/lib/libalpm/util.c:707:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:730:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:732:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:739:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:739:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:745:34: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:745:34: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:749:28: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:749:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:754:34: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:754:34: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:756:33: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:756:33: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def628]
pacman-v7.0.0/lib/libalpm/util.c:771:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: following ‘false’ branch (when ‘pid != 0’)...
pacman-v7.0.0/lib/libalpm/util.c:707:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:730:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:731:48: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:760:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:770:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:770:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:771:25: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:771:25: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def629]
pacman-v7.0.0/lib/libalpm/util.c:774:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: following ‘false’ branch (when ‘pid != 0’)...
pacman-v7.0.0/lib/libalpm/util.c:707:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:730:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:731:48: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:760:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:770:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:773:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:774:25: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:774:25: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def630]
pacman-v7.0.0/lib/libalpm/util.c:777:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: following ‘false’ branch (when ‘pid != 0’)...
pacman-v7.0.0/lib/libalpm/util.c:707:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:760:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:770:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:777:23: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def631]
pacman-v7.0.0/lib/libalpm/util.c:779:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: following ‘false’ branch (when ‘pid != 0’)...
pacman-v7.0.0/lib/libalpm/util.c:707:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:760:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:770:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:777:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:778:28: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:778:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:779:33: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:779:33: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def632]
pacman-v7.0.0/lib/libalpm/util.c:787:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: following ‘false’ branch (when ‘pid != 0’)...
pacman-v7.0.0/lib/libalpm/util.c:707:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:760:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:770:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:777:23: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:786:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:786:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:787:25: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:787:25: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def633]
pacman-v7.0.0/lib/libalpm/util.c:789:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: following ‘false’ branch (when ‘pid != 0’)...
pacman-v7.0.0/lib/libalpm/util.c:707:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:760:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:770:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:777:23: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:786:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:786:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:787:25: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:788:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:789:67: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:789:33: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def634]
pacman-v7.0.0/lib/libalpm/util.c:798:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:628:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:634:9: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:640:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:646:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:646:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:653:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:654:11: branch_false: following ‘false’ branch (when ‘pid != -1’)...
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:660:11: branch_false: following ‘false’ branch (when ‘pid != 0’)...
pacman-v7.0.0/lib/libalpm/util.c:707:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:760:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:770:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:777:23: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:786:20: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:786:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:792:27: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:792:26: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:793:52: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:798:25: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def635]
pacman-v7.0.0/lib/libalpm/util.c:805:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:622:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:805:11: danger: ‘<unknown>’ leaks here; was opened at [(1)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def636]
pacman-v7.0.0/lib/libalpm/util.c:871:33: warning[-Wanalyzer-malloc-leak]: leak of ‘retpath’
pacman-v7.0.0/lib/libalpm/util.c:865:36: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/util.c:866:58: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:868:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:869:28: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:869:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/util.c:870:43: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/util.c:870:43: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/util.c:871:33: danger: ‘retpath’ leaks here; was allocated at [(7)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def637]
pacman-v7.0.0/lib/libalpm/util.c:1002:18: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dir)’
pacman-v7.0.0/lib/libalpm/util.c:995:9: branch_false: following ‘false’ branch (when ‘dir’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/util.c:996:25: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:998:21: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/util.c:999:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:1002:18: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1002:18: danger: ‘opendir(dir)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def638]
pacman-v7.0.0/lib/libalpm/util.c:1041:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
pacman-v7.0.0/lib/libalpm/util.c:1039:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/util.c:1039:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1041:9: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def639]
pacman-v7.0.0/lib/libalpm/util.c:1042:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:1039:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1041:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:1042:11: danger: ‘<unknown>’ leaks here; was opened at [(3)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def640]
pacman-v7.0.0/lib/libalpm/util.c:1049:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:1039:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1041:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:1042:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:1048:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1049:9: danger: ‘<unknown>’ leaks here; was opened at [(3)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def641]
pacman-v7.0.0/lib/libalpm/util.c:1049:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
pacman-v7.0.0/lib/libalpm/util.c:1039:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/util.c:1039:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1042:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:1048:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1049:9: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def642]
pacman-v7.0.0/lib/libalpm/util.c:1059:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:1039:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1041:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:1042:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:1048:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1059:17: danger: ‘<unknown>’ leaks here; was opened at [(3)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def643]
pacman-v7.0.0/lib/libalpm/util.c:1059:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
pacman-v7.0.0/lib/libalpm/util.c:1039:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/util.c:1039:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1042:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:1048:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1059:17: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/56/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def644]
pacman-v7.0.0/lib/libalpm/util.c:1065:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
pacman-v7.0.0/lib/libalpm/util.c:1039:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/util.c:1039:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1042:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:1048:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1065:9: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/57/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def645]
pacman-v7.0.0/lib/libalpm/util.c:1066:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:1039:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1041:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:1042:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:1048:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1066:9: danger: ‘<unknown>’ leaks here; was opened at [(3)](sarif:/runs/0/results/58/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def646]
pacman-v7.0.0/lib/libalpm/util.c:1100:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
pacman-v7.0.0/lib/libalpm/util.c:1098:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/util.c:1098:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1100:9: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/59/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def647]
pacman-v7.0.0/lib/libalpm/util.c:1101:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:1098:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1100:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:1101:11: danger: ‘<unknown>’ leaks here; was opened at [(3)](sarif:/runs/0/results/60/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def648]
pacman-v7.0.0/lib/libalpm/util.c:1108:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:1098:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1100:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:1101:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:1107:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1108:9: danger: ‘<unknown>’ leaks here; was opened at [(3)](sarif:/runs/0/results/61/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def649]
pacman-v7.0.0/lib/libalpm/util.c:1108:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
pacman-v7.0.0/lib/libalpm/util.c:1098:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/util.c:1098:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1101:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:1107:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1108:9: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/62/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def650]
pacman-v7.0.0/lib/libalpm/util.c:1118:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:1098:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1100:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:1101:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:1107:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1118:17: danger: ‘<unknown>’ leaks here; was opened at [(3)](sarif:/runs/0/results/63/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def651]
pacman-v7.0.0/lib/libalpm/util.c:1118:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
pacman-v7.0.0/lib/libalpm/util.c:1098:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/util.c:1098:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1101:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:1107:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1118:17: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/64/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def652]
pacman-v7.0.0/lib/libalpm/util.c:1124:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
pacman-v7.0.0/lib/libalpm/util.c:1098:9: acquire_memory: allocated here
pacman-v7.0.0/lib/libalpm/util.c:1098:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1101:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:1107:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1124:9: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/65/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def653]
pacman-v7.0.0/lib/libalpm/util.c:1125:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘<unknown>’
pacman-v7.0.0/lib/libalpm/util.c:1098:9: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1100:9: acquire_resource: opened here
pacman-v7.0.0/lib/libalpm/util.c:1101:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/util.c:1107:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/util.c:1125:9: danger: ‘<unknown>’ leaks here; was opened at [(3)](sarif:/runs/0/results/66/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def654]
pacman-v7.0.0/lib/libalpm/version.c:49: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: GCC_ANALYZER_WARNING (CWE-476): [#def655]
pacman-v7.0.0/lib/libalpm/version.c:49:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘s’
pacman-v7.0.0/lib/libalpm/version.c:219:15: enter_function: entry to ‘alpm_pkg_vercmp’
pacman-v7.0.0/lib/libalpm/version.c:227:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/version.c:229:18: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/version.c:229:18: branch_false: following ‘false’ branch (when ‘a’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/version.c:231:18: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/version.c:231:18: branch_false: following ‘false’ branch (when ‘b’ is non-NULL)...
pacman-v7.0.0/lib/libalpm/version.c:235:12: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/version.c:235:11: branch_false: following ‘false’ branch (when the strings are non-equal)...
pacman-v7.0.0/lib/libalpm/version.c:242:17: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/version.c:242:17: acquire_memory: this call could return NULL
pacman-v7.0.0/lib/libalpm/version.c:246:9: call_function: calling ‘parseEVR’ from ‘alpm_pkg_vercmp’
Error: CPPCHECK_WARNING (CWE-476): [#def656]
pacman-v7.0.0/lib/libalpm/version.c:57: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: epoch
Error: CPPCHECK_WARNING (CWE-476): [#def657]
pacman-v7.0.0/lib/libalpm/version.c:103: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: one
Error: GCC_ANALYZER_WARNING (CWE-476): [#def658]
pacman-v7.0.0/lib/libalpm/version.c:103:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ptr1’
pacman-v7.0.0/lib/libalpm/version.c:96:16: acquire_memory: this call could return NULL
pacman-v7.0.0/lib/libalpm/version.c:103:16: danger: ‘ptr1’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def659]
pacman-v7.0.0/lib/libalpm/version.c:103:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ptr2’
pacman-v7.0.0/lib/libalpm/version.c:97:16: acquire_memory: this call could return NULL
pacman-v7.0.0/lib/libalpm/version.c:103:16: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/version.c:103:24: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/version.c:103:24: danger: ‘ptr2’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def660]
pacman-v7.0.0/lib/libalpm/version.c:195:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘two’
pacman-v7.0.0/lib/libalpm/version.c:97:16: acquire_memory: this call could return NULL
pacman-v7.0.0/lib/libalpm/version.c:103:16: branch_false: following ‘false’ branch...
pacman-v7.0.0/lib/libalpm/version.c:195:15: branch_false: ...to here
pacman-v7.0.0/lib/libalpm/version.c:195:12: branch_true: following ‘true’ branch...
pacman-v7.0.0/lib/libalpm/version.c:195:26: branch_true: ...to here
pacman-v7.0.0/lib/libalpm/version.c:195:26: danger: ‘two’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def661]
pacman-v7.0.0/src/common/ini.c:62:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(file, "r")’
pacman-v7.0.0/src/common/ini.c:57:14: acquire_resource: opened here
pacman-v7.0.0/src/common/ini.c:58:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/common/ini.c:62:15: danger: ‘fopen(file, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def662]
pacman-v7.0.0/src/common/ini.c:62:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(file, "r")’
pacman-v7.0.0/src/common/ini.c:57:14: acquire_memory: allocated here
pacman-v7.0.0/src/common/ini.c:58:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/common/ini.c:62:15: danger: ‘fopen(file, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def663]
pacman-v7.0.0/src/common/ini.c:78: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: name
Error: GCC_ANALYZER_WARNING (CWE-401): [#def664]
pacman-v7.0.0/src/common/ini.c:80:31: warning[-Wanalyzer-malloc-leak]: leak of ‘name’
pacman-v7.0.0/src/common/ini.c:58:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/common/ini.c:62:15: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/common/ini.c:66:17: branch_true: ...to here
pacman-v7.0.0/src/common/ini.c:70:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/common/ini.c:74:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/common/ini.c:77:32: acquire_memory: allocated here
pacman-v7.0.0/src/common/ini.c:80:31: danger: ‘name’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def665]
pacman-v7.0.0/src/pacman/callback.c:714:23: warning[-Wanalyzer-malloc-leak]: leak of ‘clean_filename(filename)’
pacman-v7.0.0/src/pacman/callback.c:1115:6: enter_function: entry to ‘cb_download’
pacman-v7.0.0/src/pacman/callback.c:1120:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_false: ...to here
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_true: following ‘true’ branch (when ‘event == 0’)...
pacman-v7.0.0/src/pacman/callback.c:1125:17: branch_true: ...to here
pacman-v7.0.0/src/pacman/callback.c:1125:17: call_function: calling ‘dload_init_event’ from ‘cb_download’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def666]
pacman-v7.0.0/src/pacman/callback.c:714:43: warning[-Wanalyzer-malloc-leak]: leak of ‘clean_filename(filename)’
pacman-v7.0.0/src/pacman/callback.c:1115:6: enter_function: entry to ‘cb_download’
pacman-v7.0.0/src/pacman/callback.c:1120:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_false: ...to here
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_true: following ‘true’ branch (when ‘event == 0’)...
pacman-v7.0.0/src/pacman/callback.c:1125:17: branch_true: ...to here
pacman-v7.0.0/src/pacman/callback.c:1125:17: call_function: calling ‘dload_init_event’ from ‘cb_download’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def667]
pacman-v7.0.0/src/pacman/callback.c:721:17: warning[-Wanalyzer-malloc-leak]: leak of ‘clean_filename(filename)’
pacman-v7.0.0/src/pacman/callback.c:1115:6: enter_function: entry to ‘cb_download’
pacman-v7.0.0/src/pacman/callback.c:1120:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_false: ...to here
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_true: following ‘true’ branch (when ‘event == 0’)...
pacman-v7.0.0/src/pacman/callback.c:1125:17: branch_true: ...to here
pacman-v7.0.0/src/pacman/callback.c:1125:17: call_function: calling ‘dload_init_event’ from ‘cb_download’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def668]
pacman-v7.0.0/src/pacman/callback.c:723:17: warning[-Wanalyzer-malloc-leak]: leak of ‘clean_filename(filename)’
pacman-v7.0.0/src/pacman/callback.c:1115:6: enter_function: entry to ‘cb_download’
pacman-v7.0.0/src/pacman/callback.c:1120:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_false: ...to here
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_true: following ‘true’ branch (when ‘event == 0’)...
pacman-v7.0.0/src/pacman/callback.c:1125:17: branch_true: ...to here
pacman-v7.0.0/src/pacman/callback.c:1125:17: call_function: calling ‘dload_init_event’ from ‘cb_download’
Error: CPPCHECK_WARNING (CWE-476): [#def669]
pacman-v7.0.0/src/pacman/callback.c:769: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: fname
Error: GCC_ANALYZER_WARNING (CWE-688): [#def670]
pacman-v7.0.0/src/pacman/callback.c:769:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fname’ where non-null expected
pacman-v7.0.0/src/pacman/callback.c:1115:6: enter_function: entry to ‘cb_download’
pacman-v7.0.0/src/pacman/callback.c:1120:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_false: ...to here
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_true: following ‘true’ branch (when ‘event == 0’)...
pacman-v7.0.0/src/pacman/callback.c:1125:17: branch_true: ...to here
pacman-v7.0.0/src/pacman/callback.c:1125:17: call_function: calling ‘dload_init_event’ from ‘cb_download’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def671]
pacman-v7.0.0/src/pacman/callback.c:789:37: warning[-Wanalyzer-malloc-leak]: leak of ‘clean_filename(filename)’
pacman-v7.0.0/src/pacman/callback.c:1115:6: enter_function: entry to ‘cb_download’
pacman-v7.0.0/src/pacman/callback.c:1120:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_false: ...to here
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_true: following ‘true’ branch (when ‘event == 0’)...
pacman-v7.0.0/src/pacman/callback.c:1125:17: branch_true: ...to here
pacman-v7.0.0/src/pacman/callback.c:1125:17: call_function: calling ‘dload_init_event’ from ‘cb_download’
Error: CPPCHECK_WARNING (CWE-476): [#def672]
pacman-v7.0.0/src/pacman/callback.c:810: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: name
Error: GCC_ANALYZER_WARNING (CWE-401): [#def673]
pacman-v7.0.0/src/pacman/callback.c:851:22: warning[-Wanalyzer-malloc-leak]: leak of ‘clean_filename(filename)’
pacman-v7.0.0/src/pacman/callback.c:1115:6: enter_function: entry to ‘cb_download’
pacman-v7.0.0/src/pacman/callback.c:1120:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_false: ...to here
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_true: following ‘true’ branch (when ‘event == 0’)...
pacman-v7.0.0/src/pacman/callback.c:1125:17: branch_true: ...to here
pacman-v7.0.0/src/pacman/callback.c:1125:17: call_function: calling ‘dload_init_event’ from ‘cb_download’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def674]
pacman-v7.0.0/src/pacman/callback.c:851:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fname’
pacman-v7.0.0/src/pacman/callback.c:1032:13: enter_function: entry to ‘dload_complete_event’
pacman-v7.0.0/src/pacman/callback.c:1038:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/callback.c:1042:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/callback.c:1047:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/callback.c:1048:12: branch_true: ...to here
pacman-v7.0.0/src/pacman/callback.c:1054:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/callback.c:1061:18: branch_false: ...to here
pacman-v7.0.0/src/pacman/callback.c:1061:18: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/callback.c:1062:17: branch_true: ...to here
pacman-v7.0.0/src/pacman/callback.c:1080:17: call_function: calling ‘draw_pacman_progress_bar’ from ‘dload_complete_event’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def675]
pacman-v7.0.0/src/pacman/callback.c:852:24: warning[-Wanalyzer-malloc-leak]: leak of ‘clean_filename(filename)’
pacman-v7.0.0/src/pacman/callback.c:1115:6: enter_function: entry to ‘cb_download’
pacman-v7.0.0/src/pacman/callback.c:1120:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_false: ...to here
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_true: following ‘true’ branch (when ‘event == 0’)...
pacman-v7.0.0/src/pacman/callback.c:1125:17: branch_true: ...to here
pacman-v7.0.0/src/pacman/callback.c:1125:17: call_function: calling ‘dload_init_event’ from ‘cb_download’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def676]
pacman-v7.0.0/src/pacman/callback.c:852:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fname’
pacman-v7.0.0/src/pacman/callback.c:1032:13: enter_function: entry to ‘dload_complete_event’
pacman-v7.0.0/src/pacman/callback.c:1038:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/callback.c:1042:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/callback.c:1047:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/callback.c:1048:12: branch_true: ...to here
pacman-v7.0.0/src/pacman/callback.c:1054:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/callback.c:1061:18: branch_false: ...to here
pacman-v7.0.0/src/pacman/callback.c:1061:18: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/callback.c:1062:17: branch_true: ...to here
pacman-v7.0.0/src/pacman/callback.c:1080:17: call_function: calling ‘draw_pacman_progress_bar’ from ‘dload_complete_event’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def677]
pacman-v7.0.0/src/pacman/callback.c:898:40: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
pacman-v7.0.0/src/pacman/callback.c:1115:6: enter_function: entry to ‘cb_download’
pacman-v7.0.0/src/pacman/callback.c:1120:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_false: ...to here
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_true: following ‘true’ branch (when ‘event == 0’)...
pacman-v7.0.0/src/pacman/callback.c:1125:17: branch_true: ...to here
pacman-v7.0.0/src/pacman/callback.c:1125:17: call_function: calling ‘dload_init_event’ from ‘cb_download’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def678]
pacman-v7.0.0/src/pacman/callback.c:898:40: warning[-Wanalyzer-malloc-leak]: leak of ‘bar’
pacman-v7.0.0/src/pacman/callback.c:1115:6: enter_function: entry to ‘cb_download’
pacman-v7.0.0/src/pacman/callback.c:1120:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_false: ...to here
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_true: following ‘true’ branch (when ‘event == 0’)...
pacman-v7.0.0/src/pacman/callback.c:1125:17: branch_true: ...to here
pacman-v7.0.0/src/pacman/callback.c:1125:17: call_function: calling ‘dload_init_event’ from ‘cb_download’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def679]
pacman-v7.0.0/src/pacman/callback.c:898:40: warning[-Wanalyzer-malloc-leak]: leak of ‘clean_filename(filename)’
pacman-v7.0.0/src/pacman/callback.c:1115:6: enter_function: entry to ‘cb_download’
pacman-v7.0.0/src/pacman/callback.c:1120:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_false: ...to here
pacman-v7.0.0/src/pacman/callback.c:1124:11: branch_true: following ‘true’ branch (when ‘event == 0’)...
pacman-v7.0.0/src/pacman/callback.c:1125:17: branch_true: ...to here
pacman-v7.0.0/src/pacman/callback.c:1125:17: call_function: calling ‘dload_init_event’ from ‘cb_download’
Error: CPPCHECK_WARNING (CWE-476): [#def680]
pacman-v7.0.0/src/pacman/conf.c:199: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: destfile
Error: CPPCHECK_WARNING (CWE-476): [#def681]
pacman-v7.0.0/src/pacman/conf.c:211: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: tempfile
Error: CPPCHECK_WARNING (CWE-476): [#def682]
pacman-v7.0.0/src/pacman/conf.c:1246: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: section->repo
Error: CPPCHECK_WARNING (CWE-476): [#def683]
pacman-v7.0.0/src/pacman/conf.c:1332: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rootdir
Error: GCC_ANALYZER_WARNING (CWE-688): [#def684]
pacman-v7.0.0/src/pacman/conf.c:1332:35: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘rootdir’ where non-null expected
pacman-v7.0.0/src/pacman/conf.c:1330:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/conf.c:1331:33: branch_true: ...to here
pacman-v7.0.0/src/pacman/conf.c:1331:33: acquire_memory: this call could return NULL
pacman-v7.0.0/src/pacman/conf.c:1332:35: danger: argument 1 (‘rootdir’) from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def685]
pacman-v7.0.0/src/pacman/conf.c:1334: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rootdir
Error: GCC_ANALYZER_WARNING (CWE-401): [#def686]
pacman-v7.0.0/src/pacman/conf.c:1344:40: warning[-Wanalyzer-malloc-leak]: leak of ‘ppath’
pacman-v7.0.0/src/pacman/conf.c:1330:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/conf.c:1331:33: branch_true: ...to here
pacman-v7.0.0/src/pacman/conf.c:1338:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/conf.c:1340:25: branch_true: ...to here
pacman-v7.0.0/src/pacman/conf.c:1341:33: acquire_memory: allocated here
pacman-v7.0.0/src/pacman/conf.c:1342:27: branch_false: following ‘false’ branch (when ‘ppath’ is non-NULL)...
pacman-v7.0.0/src/pacman/conf.c:1346:25: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1346:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1348:21: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1348:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/conf.c:1350:25: branch_true: ...to here
pacman-v7.0.0/src/pacman/conf.c:1352:27: branch_true: following ‘true’ branch (when ‘ppath’ is NULL)...
pacman-v7.0.0/src/pacman/conf.c:1353:33: branch_true: ...to here
pacman-v7.0.0/src/pacman/conf.c:1344:40: danger: ‘ppath’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-401): [#def687]
pacman-v7.0.0/src/pacman/conf.c:1347: error[memleak]: Memory leak: ppath
Error: CPPCHECK_WARNING (CWE-401): [#def688]
pacman-v7.0.0/src/pacman/conf.c:1357: error[memleak]: Memory leak: ppath
Error: GCC_ANALYZER_WARNING (CWE-401): [#def689]
pacman-v7.0.0/src/pacman/conf.c:1365:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ppath’
pacman-v7.0.0/src/pacman/conf.c:1409:5: enter_function: entry to ‘parseconfig’
pacman-v7.0.0/src/pacman/conf.c:1412:19: call_function: calling ‘parseconfigfile’ from ‘parseconfig’
pacman-v7.0.0/src/pacman/conf.c:1412:19: return_function: returning to ‘parseconfig’ from ‘parseconfigfile’
pacman-v7.0.0/src/pacman/conf.c:1412:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1415:19: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1415:19: call_function: calling ‘setdefaults’ from ‘parseconfig’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def690]
pacman-v7.0.0/src/pacman/conf.c:1366:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ppath’
pacman-v7.0.0/src/pacman/conf.c:1330:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/conf.c:1331:33: branch_true: ...to here
pacman-v7.0.0/src/pacman/conf.c:1338:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/conf.c:1340:25: branch_true: ...to here
pacman-v7.0.0/src/pacman/conf.c:1341:33: acquire_memory: allocated here
pacman-v7.0.0/src/pacman/conf.c:1342:27: branch_false: following ‘false’ branch (when ‘ppath’ is non-NULL)...
pacman-v7.0.0/src/pacman/conf.c:1346:25: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1346:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1348:21: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1348:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1358:17: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1364:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1365:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1365:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1366:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1366:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/conf.c:1366:9: branch_true: ...to here
pacman-v7.0.0/src/pacman/conf.c:1366:9: danger: ‘ppath’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def691]
pacman-v7.0.0/src/pacman/conf.c:1366:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("/var/cache/pacman/pkg/")’
pacman-v7.0.0/src/pacman/conf.c:1330:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1360:17: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1360:17: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1361:17: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1361:17: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1364:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1364:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1365:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1365:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1366:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1366:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/conf.c:1366:9: branch_true: ...to here
pacman-v7.0.0/src/pacman/conf.c:1366:9: acquire_memory: allocated here
pacman-v7.0.0/src/pacman/conf.c:1366:9: danger: ‘strdup("/var/cache/pacman/pkg/")’ leaks here; was allocated at [(13)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def692]
pacman-v7.0.0/src/pacman/conf.c:1367:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ppath’
pacman-v7.0.0/src/pacman/conf.c:1330:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/conf.c:1331:33: branch_true: ...to here
pacman-v7.0.0/src/pacman/conf.c:1338:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/conf.c:1340:25: branch_true: ...to here
pacman-v7.0.0/src/pacman/conf.c:1341:33: acquire_memory: allocated here
pacman-v7.0.0/src/pacman/conf.c:1342:27: branch_false: following ‘false’ branch (when ‘ppath’ is non-NULL)...
pacman-v7.0.0/src/pacman/conf.c:1346:25: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1346:25: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1348:21: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1348:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1358:17: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1364:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1365:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1365:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1366:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1366:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1367:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1367:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/conf.c:1367:9: branch_true: ...to here
pacman-v7.0.0/src/pacman/conf.c:1367:9: danger: ‘ppath’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def693]
pacman-v7.0.0/src/pacman/conf.c:1367:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("/etc/pacman.d/hooks/")’
pacman-v7.0.0/src/pacman/conf.c:1330:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1360:17: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1360:17: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1361:17: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1361:17: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1364:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1364:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1365:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1365:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1366:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1366:9: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1367:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1367:9: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/conf.c:1367:9: branch_true: ...to here
pacman-v7.0.0/src/pacman/conf.c:1367:9: acquire_memory: allocated here
pacman-v7.0.0/src/pacman/conf.c:1367:9: danger: ‘strdup("/etc/pacman.d/hooks/")’ leaks here; was allocated at [(15)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def694]
pacman-v7.0.0/src/pacman/conf.c:1400:15: warning[-Wanalyzer-malloc-leak]: leak of ‘prepend_dir(*config.sysroot, file)’
pacman-v7.0.0/src/pacman/conf.c:1392:5: enter_function: entry to ‘parseconfigfile’
pacman-v7.0.0/src/pacman/conf.c:1397:24: call_function: calling ‘prepend_dir’ from ‘parseconfigfile’
pacman-v7.0.0/src/pacman/conf.c:1397:24: return_function: returning to ‘parseconfigfile’ from ‘prepend_dir’
pacman-v7.0.0/src/pacman/conf.c:1397:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/conf.c:1400:15: branch_false: ...to here
pacman-v7.0.0/src/pacman/conf.c:1400:15: danger: ‘prepend_dir(*config.sysroot, file)’ leaks here; was allocated at [(6)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def695]
pacman-v7.0.0/src/pacman/database.c:129:22: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&path)’
pacman-v7.0.0/src/pacman/database.c:123:22: acquire_memory: allocated here
pacman-v7.0.0/src/pacman/database.c:123:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/database.c:129:22: danger: ‘opendir(&path)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def696]
pacman-v7.0.0/src/pacman/database.c:193:45: warning[-Wanalyzer-malloc-leak]: leak of ‘all_files’
pacman-v7.0.0/src/pacman/database.c:189:21: acquire_memory: allocated here
pacman-v7.0.0/src/pacman/database.c:191:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/database.c:192:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/database.c:193:45: danger: ‘all_files’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def697]
pacman-v7.0.0/src/pacman/database.c:214:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘all_files’
pacman-v7.0.0/src/pacman/database.c:189:21: acquire_memory: this call could return NULL
pacman-v7.0.0/src/pacman/database.c:191:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/database.c:192:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/database.c:194:28: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/database.c:195:45: branch_true: ...to here
pacman-v7.0.0/src/pacman/database.c:197:27: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/database.c:202:27: branch_false: ...to here
pacman-v7.0.0/src/pacman/database.c:202:27: branch_false: following ‘false’ branch (when ‘list_size > offset’)...
pacman-v7.0.0/src/pacman/database.c:214:34: branch_false: ...to here
pacman-v7.0.0/src/pacman/database.c:214:25: danger: ‘all_files + offset * 16’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def698]
pacman-v7.0.0/src/pacman/database.c:221:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘all_files’ where non-null expected
pacman-v7.0.0/src/pacman/database.c:189:21: acquire_memory: this call could return NULL
pacman-v7.0.0/src/pacman/database.c:221:9: danger: argument 1 (‘all_files’) from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def699]
pacman-v7.0.0/src/pacman/files.c:45:37: warning[-Wanalyzer-malloc-leak]: leak of ‘repo’
pacman-v7.0.0/src/pacman/files.c:309:5: enter_function: entry to ‘pacman_files’
pacman-v7.0.0/src/pacman/files.c:313:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/files.c:317:44: branch_false: ...to here
pacman-v7.0.0/src/pacman/files.c:330:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/files.c:331:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/files.c:331:24: call_function: calling ‘files_list’ from ‘pacman_files’
Error: CPPCHECK_WARNING (CWE-476): [#def700]
pacman-v7.0.0/src/pacman/files.c:136: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ftarg
Error: GCC_ANALYZER_WARNING (CWE-476): [#def701]
pacman-v7.0.0/src/pacman/files.c:136:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ftarg’
pacman-v7.0.0/src/pacman/files.c:309:5: enter_function: entry to ‘pacman_files’
pacman-v7.0.0/src/pacman/files.c:313:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/files.c:317:44: branch_false: ...to here
pacman-v7.0.0/src/pacman/files.c:330:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/files.c:334:11: branch_false: ...to here
pacman-v7.0.0/src/pacman/files.c:340:16: call_function: calling ‘files_search’ from ‘pacman_files’
Error: CPPCHECK_WARNING (CWE-476): [#def702]
pacman-v7.0.0/src/pacman/files.c:137: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ftarg
Error: CPPCHECK_WARNING (CWE-476): [#def703]
pacman-v7.0.0/src/pacman/files.c:138: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ftarg
Error: GCC_ANALYZER_WARNING (CWE-401): [#def704]
pacman-v7.0.0/src/pacman/files.c:140:29: warning[-Wanalyzer-malloc-leak]: leak of ‘ftarg’
pacman-v7.0.0/src/pacman/files.c:309:5: enter_function: entry to ‘pacman_files’
pacman-v7.0.0/src/pacman/files.c:313:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/files.c:317:44: branch_false: ...to here
pacman-v7.0.0/src/pacman/files.c:330:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/files.c:334:11: branch_false: ...to here
pacman-v7.0.0/src/pacman/files.c:340:16: call_function: calling ‘files_search’ from ‘pacman_files’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def705]
pacman-v7.0.0/src/pacman/files.c:222:19: warning[-Wanalyzer-malloc-leak]: leak of ‘repo’
pacman-v7.0.0/src/pacman/files.c:309:5: enter_function: entry to ‘pacman_files’
pacman-v7.0.0/src/pacman/files.c:313:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/files.c:317:44: branch_false: ...to here
pacman-v7.0.0/src/pacman/files.c:330:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/files.c:331:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/files.c:331:24: call_function: calling ‘files_list’ from ‘pacman_files’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def706]
pacman-v7.0.0/src/pacman/files.c:223:20: warning[-Wanalyzer-malloc-leak]: leak of ‘repo’
pacman-v7.0.0/src/pacman/files.c:309:5: enter_function: entry to ‘pacman_files’
pacman-v7.0.0/src/pacman/files.c:313:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/files.c:317:44: branch_false: ...to here
pacman-v7.0.0/src/pacman/files.c:330:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/files.c:331:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/files.c:331:24: call_function: calling ‘files_list’ from ‘pacman_files’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def707]
pacman-v7.0.0/src/pacman/files.c:236:9: warning[-Wanalyzer-malloc-leak]: leak of ‘repo’
pacman-v7.0.0/src/pacman/files.c:309:5: enter_function: entry to ‘pacman_files’
pacman-v7.0.0/src/pacman/files.c:313:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/files.c:317:44: branch_false: ...to here
pacman-v7.0.0/src/pacman/files.c:330:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/files.c:331:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/files.c:331:24: call_function: calling ‘files_list’ from ‘pacman_files’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def708]
pacman-v7.0.0/src/pacman/files.c:262:47: warning[-Wanalyzer-malloc-leak]: leak of ‘repo’
pacman-v7.0.0/src/pacman/files.c:309:5: enter_function: entry to ‘pacman_files’
pacman-v7.0.0/src/pacman/files.c:313:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/files.c:317:44: branch_false: ...to here
pacman-v7.0.0/src/pacman/files.c:330:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/files.c:331:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/files.c:331:24: call_function: calling ‘files_list’ from ‘pacman_files’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def709]
pacman-v7.0.0/src/pacman/files.c:267:44: warning[-Wanalyzer-malloc-leak]: leak of ‘repo’
pacman-v7.0.0/src/pacman/files.c:309:5: enter_function: entry to ‘pacman_files’
pacman-v7.0.0/src/pacman/files.c:313:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/files.c:317:44: branch_false: ...to here
pacman-v7.0.0/src/pacman/files.c:330:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/files.c:331:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/files.c:331:24: call_function: calling ‘files_list’ from ‘pacman_files’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def710]
pacman-v7.0.0/src/pacman/files.c:272:43: warning[-Wanalyzer-malloc-leak]: leak of ‘repo’
pacman-v7.0.0/src/pacman/files.c:309:5: enter_function: entry to ‘pacman_files’
pacman-v7.0.0/src/pacman/files.c:313:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/files.c:317:44: branch_false: ...to here
pacman-v7.0.0/src/pacman/files.c:330:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/files.c:331:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/files.c:331:24: call_function: calling ‘files_list’ from ‘pacman_files’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def711]
pacman-v7.0.0/src/pacman/files.c:284:33: warning[-Wanalyzer-malloc-leak]: leak of ‘repo’
pacman-v7.0.0/src/pacman/files.c:309:5: enter_function: entry to ‘pacman_files’
pacman-v7.0.0/src/pacman/files.c:313:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/files.c:317:44: branch_false: ...to here
pacman-v7.0.0/src/pacman/files.c:330:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/files.c:331:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/files.c:331:24: call_function: calling ‘files_list’ from ‘pacman_files’
Error: CPPCHECK_WARNING (CWE-401): [#def712]
pacman-v7.0.0/src/pacman/package.c:175: error[memleakOnRealloc]: Common realloc mistake: 'depstring' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-688): [#def713]
pacman-v7.0.0/src/pacman/package.c:176:52: warning[-Wanalyzer-null-argument]: use of NULL ‘depstring’ where non-null expected
pacman-v7.0.0/src/pacman/package.c:169:47: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/package.c:170:32: branch_true: ...to here
pacman-v7.0.0/src/pacman/package.c:172:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/package.c:173:28: branch_true: ...to here
pacman-v7.0.0/src/pacman/package.c:173:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/package.c:174:57: branch_true: ...to here
pacman-v7.0.0/src/pacman/package.c:176:52: danger: argument 1 (‘depstring’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def714]
pacman-v7.0.0/src/pacman/package.c:179:24: warning[-Wanalyzer-malloc-leak]: leak of ‘depstring’
pacman-v7.0.0/src/pacman/package.c:169:47: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/package.c:170:32: branch_true: ...to here
pacman-v7.0.0/src/pacman/package.c:172:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/package.c:173:28: branch_true: ...to here
pacman-v7.0.0/src/pacman/package.c:173:27: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/package.c:174:57: branch_true: ...to here
pacman-v7.0.0/src/pacman/package.c:179:24: danger: ‘depstring’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def715]
pacman-v7.0.0/src/pacman/package.c:431:68: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
pacman-v7.0.0/src/pacman/package.c:417:6: enter_function: entry to ‘dump_pkg_backups’
pacman-v7.0.0/src/pacman/package.c:422:43: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/package.c:423:38: branch_true: ...to here
pacman-v7.0.0/src/pacman/package.c:427:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/package.c:430:25: branch_false: ...to here
pacman-v7.0.0/src/pacman/package.c:430:25: call_function: calling ‘get_backup_file_status’ from ‘dump_pkg_backups’
pacman-v7.0.0/src/pacman/package.c:430:25: return_function: returning to ‘dump_pkg_backups’ from ‘get_backup_file_status’
pacman-v7.0.0/src/pacman/package.c:431:68: danger: argument 1 (‘get_backup_file_status(alpm_option_get_root(*config.handle), backup)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def716]
pacman-v7.0.0/src/pacman/pacman.c:326:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(i)’
pacman-v7.0.0/src/pacman/pacman.c:1123:5: enter_function: entry to ‘main’
pacman-v7.0.0/src/pacman/pacman.c:1133:9: call_function: calling ‘localize’ from ‘main’
pacman-v7.0.0/src/pacman/pacman.c:1133:9: return_function: returning to ‘main’ from ‘localize’
pacman-v7.0.0/src/pacman/pacman.c:1140:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/pacman.c:1145:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/pacman.c:1147:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/pacman.c:1149:23: branch_true: ...to here
pacman-v7.0.0/src/pacman/pacman.c:1165:15: call_function: calling ‘parseargs’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def717]
pacman-v7.0.0/src/pacman/pacman.c:382:25: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(optarg)’
pacman-v7.0.0/src/pacman/pacman.c:1123:5: enter_function: entry to ‘main’
pacman-v7.0.0/src/pacman/pacman.c:1133:9: call_function: calling ‘localize’ from ‘main’
pacman-v7.0.0/src/pacman/pacman.c:1133:9: return_function: returning to ‘main’ from ‘localize’
pacman-v7.0.0/src/pacman/pacman.c:1140:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/pacman.c:1145:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/pacman.c:1147:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/pacman.c:1149:23: branch_true: ...to here
pacman-v7.0.0/src/pacman/pacman.c:1165:15: call_function: calling ‘parseargs’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def718]
pacman-v7.0.0/src/pacman/pacman.c:406:25: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(optarg)’
pacman-v7.0.0/src/pacman/pacman.c:1123:5: enter_function: entry to ‘main’
pacman-v7.0.0/src/pacman/pacman.c:1133:9: call_function: calling ‘localize’ from ‘main’
pacman-v7.0.0/src/pacman/pacman.c:1133:9: return_function: returning to ‘main’ from ‘localize’
pacman-v7.0.0/src/pacman/pacman.c:1140:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/pacman.c:1145:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/pacman.c:1147:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/pacman.c:1149:23: branch_true: ...to here
pacman-v7.0.0/src/pacman/pacman.c:1165:15: call_function: calling ‘parseargs’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def719]
pacman-v7.0.0/src/pacman/pacman.c:466:25: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(optarg)’
pacman-v7.0.0/src/pacman/pacman.c:1123:5: enter_function: entry to ‘main’
pacman-v7.0.0/src/pacman/pacman.c:1133:9: call_function: calling ‘localize’ from ‘main’
pacman-v7.0.0/src/pacman/pacman.c:1133:9: return_function: returning to ‘main’ from ‘localize’
pacman-v7.0.0/src/pacman/pacman.c:1140:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/pacman.c:1145:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/pacman.c:1147:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/pacman.c:1149:23: branch_true: ...to here
pacman-v7.0.0/src/pacman/pacman.c:1165:15: call_function: calling ‘parseargs’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def720]
pacman-v7.0.0/src/pacman/pacman.c:1071:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*<unknown>)’
pacman-v7.0.0/src/pacman/pacman.c:1123:5: enter_function: entry to ‘main’
pacman-v7.0.0/src/pacman/pacman.c:1133:9: call_function: calling ‘localize’ from ‘main’
pacman-v7.0.0/src/pacman/pacman.c:1133:9: return_function: returning to ‘main’ from ‘localize’
pacman-v7.0.0/src/pacman/pacman.c:1140:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/pacman.c:1145:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/pacman.c:1147:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/pacman.c:1149:23: branch_true: ...to here
pacman-v7.0.0/src/pacman/pacman.c:1165:15: call_function: calling ‘parseargs’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def721]
pacman-v7.0.0/src/pacman/query.c:170:25: warning[-Wanalyzer-malloc-leak]: leak of ‘filename’
pacman-v7.0.0/src/pacman/query.c:148:11: branch_false: following ‘false’ branch (when ‘targets’ is non-NULL)...
pacman-v7.0.0/src/pacman/query.c:153:43: branch_false: ...to here
pacman-v7.0.0/src/pacman/query.c:156:26: branch_true: following ‘true’ branch (when ‘t’ is non-NULL)...
pacman-v7.0.0/src/pacman/query.c:165:39: branch_true: ...to here
pacman-v7.0.0/src/pacman/query.c:165:32: acquire_memory: allocated here
pacman-v7.0.0/src/pacman/query.c:165:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/query.c:169:20: branch_false: ...to here
pacman-v7.0.0/src/pacman/query.c:169:19: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/query.c:170:51: branch_true: ...to here
pacman-v7.0.0/src/pacman/query.c:170:25: danger: ‘filename’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def722]
pacman-v7.0.0/src/pacman/sync.c:411: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: name
Error: GCC_ANALYZER_WARNING (CWE-688): [#def723]
pacman-v7.0.0/src/pacman/sync.c:411:34: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘name’ where non-null expected
pacman-v7.0.0/src/pacman/sync.c:900:5: enter_function: entry to ‘pacman_sync’
pacman-v7.0.0/src/pacman/sync.c:905:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:922:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:922:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:926:43: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:938:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:943:18: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:943:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:948:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:948:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:953:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:953:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/sync.c:954:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:954:24: call_function: calling ‘sync_info’ from ‘pacman_sync’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def724]
pacman-v7.0.0/src/pacman/sync.c:421:47: warning[-Wanalyzer-malloc-leak]: leak of ‘pkgstr’
pacman-v7.0.0/src/pacman/sync.c:900:5: enter_function: entry to ‘pacman_sync’
pacman-v7.0.0/src/pacman/sync.c:905:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:922:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:922:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:926:43: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:938:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:943:18: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:943:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:948:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:948:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:953:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:953:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/sync.c:954:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:954:24: call_function: calling ‘sync_info’ from ‘pacman_sync’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def725]
pacman-v7.0.0/src/pacman/sync.c:421:47: warning[-Wanalyzer-malloc-leak]: leak of ‘repo’
pacman-v7.0.0/src/pacman/sync.c:900:5: enter_function: entry to ‘pacman_sync’
pacman-v7.0.0/src/pacman/sync.c:905:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:922:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:922:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:926:43: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:938:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:943:18: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:943:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:948:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:948:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:953:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:953:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/sync.c:954:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:954:24: call_function: calling ‘sync_info’ from ‘pacman_sync’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def726]
pacman-v7.0.0/src/pacman/sync.c:423:44: warning[-Wanalyzer-malloc-leak]: leak of ‘repo’
pacman-v7.0.0/src/pacman/sync.c:900:5: enter_function: entry to ‘pacman_sync’
pacman-v7.0.0/src/pacman/sync.c:905:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:922:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:922:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:926:43: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:938:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:943:18: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:943:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:948:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:948:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:953:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:953:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/sync.c:954:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:954:24: call_function: calling ‘sync_info’ from ‘pacman_sync’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def727]
pacman-v7.0.0/src/pacman/sync.c:428:41: warning[-Wanalyzer-malloc-leak]: leak of ‘pkgstr’
pacman-v7.0.0/src/pacman/sync.c:900:5: enter_function: entry to ‘pacman_sync’
pacman-v7.0.0/src/pacman/sync.c:905:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:922:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:922:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:926:43: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:938:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:943:18: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:943:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:948:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:948:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:953:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:953:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/sync.c:954:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:954:24: call_function: calling ‘sync_info’ from ‘pacman_sync’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def728]
pacman-v7.0.0/src/pacman/sync.c:428:41: warning[-Wanalyzer-malloc-leak]: leak of ‘repo’
pacman-v7.0.0/src/pacman/sync.c:900:5: enter_function: entry to ‘pacman_sync’
pacman-v7.0.0/src/pacman/sync.c:905:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:922:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:922:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:926:43: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:938:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:943:18: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:943:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:948:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:948:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:953:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:953:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/sync.c:954:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:954:24: call_function: calling ‘sync_info’ from ‘pacman_sync’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def729]
pacman-v7.0.0/src/pacman/sync.c:428:74: warning[-Wanalyzer-malloc-leak]: leak of ‘pkgstr’
pacman-v7.0.0/src/pacman/sync.c:900:5: enter_function: entry to ‘pacman_sync’
pacman-v7.0.0/src/pacman/sync.c:905:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:922:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:922:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:926:43: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:938:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:943:18: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:943:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:948:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:948:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:953:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:953:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/sync.c:954:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:954:24: call_function: calling ‘sync_info’ from ‘pacman_sync’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def730]
pacman-v7.0.0/src/pacman/sync.c:428:74: warning[-Wanalyzer-malloc-leak]: leak of ‘repo’
pacman-v7.0.0/src/pacman/sync.c:900:5: enter_function: entry to ‘pacman_sync’
pacman-v7.0.0/src/pacman/sync.c:905:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:922:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:922:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:926:43: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:938:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:943:18: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:943:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:948:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:948:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:953:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:953:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/sync.c:954:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:954:24: call_function: calling ‘sync_info’ from ‘pacman_sync’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def731]
pacman-v7.0.0/src/pacman/sync.c:431:44: warning[-Wanalyzer-malloc-leak]: leak of ‘pkgstr’
pacman-v7.0.0/src/pacman/sync.c:900:5: enter_function: entry to ‘pacman_sync’
pacman-v7.0.0/src/pacman/sync.c:905:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:922:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:922:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:926:43: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:938:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:943:18: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:943:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:948:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:948:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:953:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:953:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/sync.c:954:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:954:24: call_function: calling ‘sync_info’ from ‘pacman_sync’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def732]
pacman-v7.0.0/src/pacman/sync.c:431:44: warning[-Wanalyzer-malloc-leak]: leak of ‘repo’
pacman-v7.0.0/src/pacman/sync.c:900:5: enter_function: entry to ‘pacman_sync’
pacman-v7.0.0/src/pacman/sync.c:905:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:922:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:922:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:926:43: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:938:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:943:18: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:943:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:948:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:948:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:953:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:953:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/sync.c:954:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:954:24: call_function: calling ‘sync_info’ from ‘pacman_sync’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def733]
pacman-v7.0.0/src/pacman/sync.c:432:49: warning[-Wanalyzer-malloc-leak]: leak of ‘pkgstr’
pacman-v7.0.0/src/pacman/sync.c:900:5: enter_function: entry to ‘pacman_sync’
pacman-v7.0.0/src/pacman/sync.c:905:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:922:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:922:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:926:43: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:938:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:943:18: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:943:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:948:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:948:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:953:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:953:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/sync.c:954:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:954:24: call_function: calling ‘sync_info’ from ‘pacman_sync’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def734]
pacman-v7.0.0/src/pacman/sync.c:432:49: warning[-Wanalyzer-malloc-leak]: leak of ‘repo’
pacman-v7.0.0/src/pacman/sync.c:900:5: enter_function: entry to ‘pacman_sync’
pacman-v7.0.0/src/pacman/sync.c:905:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:922:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:922:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:926:43: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:938:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:943:18: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:943:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:948:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:948:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:953:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:953:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/sync.c:954:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:954:24: call_function: calling ‘sync_info’ from ‘pacman_sync’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def735]
pacman-v7.0.0/src/pacman/sync.c:440:33: warning[-Wanalyzer-malloc-leak]: leak of ‘pkgstr’
pacman-v7.0.0/src/pacman/sync.c:900:5: enter_function: entry to ‘pacman_sync’
pacman-v7.0.0/src/pacman/sync.c:905:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:922:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:922:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:926:43: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:938:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:943:18: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:943:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:948:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:948:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:953:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:953:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/sync.c:954:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:954:24: call_function: calling ‘sync_info’ from ‘pacman_sync’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def736]
pacman-v7.0.0/src/pacman/sync.c:445:33: warning[-Wanalyzer-malloc-leak]: leak of ‘pkgstr’
pacman-v7.0.0/src/pacman/sync.c:900:5: enter_function: entry to ‘pacman_sync’
pacman-v7.0.0/src/pacman/sync.c:905:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:922:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:922:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:926:43: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:938:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:943:18: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:943:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:948:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:948:11: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/sync.c:953:12: branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:953:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/sync.c:954:24: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:954:24: call_function: calling ‘sync_info’ from ‘pacman_sync’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def737]
pacman-v7.0.0/src/pacman/sync.c:526:17: warning[-Wanalyzer-malloc-leak]: leak of ‘targstring’
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def738]
pacman-v7.0.0/src/pacman/sync.c:528:20: warning[-Wanalyzer-malloc-leak]: leak of ‘targstring’
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def739]
pacman-v7.0.0/src/pacman/sync.c:537:19: warning[-Wanalyzer-malloc-leak]: leak of ‘targstring’
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def740]
pacman-v7.0.0/src/pacman/sync.c:540:36: warning[-Wanalyzer-malloc-leak]: leak of ‘targstring’
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def741]
pacman-v7.0.0/src/pacman/sync.c:541:17: warning[-Wanalyzer-malloc-leak]: leak of ‘targstring’
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def742]
pacman-v7.0.0/src/pacman/sync.c:589:17: warning[-Wanalyzer-malloc-leak]: leak of ‘array’
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def743]
pacman-v7.0.0/src/pacman/sync.c:592:17: warning[-Wanalyzer-malloc-leak]: leak of ‘array’
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def744]
pacman-v7.0.0/src/pacman/sync.c:597:20: warning[-Wanalyzer-malloc-leak]: leak of ‘array’
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def745]
pacman-v7.0.0/src/pacman/sync.c:635:27: warning[-Wanalyzer-malloc-leak]: leak of ‘targstring’
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def746]
pacman-v7.0.0/src/pacman/sync.c:638:12: warning[-Wanalyzer-malloc-leak]: leak of ‘targstring’
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def747]
pacman-v7.0.0/src/pacman/sync.c:639:25: warning[-Wanalyzer-malloc-leak]: leak of ‘targstring’
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: CPPCHECK_WARNING (CWE-476): [#def748]
pacman-v7.0.0/src/pacman/sync.c:654: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: targstring
Error: GCC_ANALYZER_WARNING (CWE-688): [#def749]
pacman-v7.0.0/src/pacman/sync.c:654:26: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘targstring’ where non-null expected
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def750]
pacman-v7.0.0/src/pacman/sync.c:668:25: warning[-Wanalyzer-malloc-leak]: leak of ‘targstring’
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def751]
pacman-v7.0.0/src/pacman/sync.c:676:17: warning[-Wanalyzer-malloc-leak]: leak of ‘targstring’
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def752]
pacman-v7.0.0/src/pacman/sync.c:677:17: warning[-Wanalyzer-malloc-leak]: leak of ‘targstring’
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def753]
pacman-v7.0.0/src/pacman/sync.c:679:26: warning[-Wanalyzer-malloc-leak]: leak of ‘targstring’
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def754]
pacman-v7.0.0/src/pacman/sync.c:681:17: warning[-Wanalyzer-malloc-leak]: leak of ‘targstring’
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def755]
pacman-v7.0.0/src/pacman/sync.c:685:17: warning[-Wanalyzer-malloc-leak]: leak of ‘targstring’
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def756]
pacman-v7.0.0/src/pacman/sync.c:688:26: warning[-Wanalyzer-malloc-leak]: leak of ‘targstring’
pacman-v7.0.0/src/pacman/sync.c:702:12: enter_function: entry to ‘sync_trans’
pacman-v7.0.0/src/pacman/sync.c:708:11: branch_false: following ‘false’ branch...
branch_false: ...to here
pacman-v7.0.0/src/pacman/sync.c:713:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/sync.c:714:29: branch_true: ...to here
pacman-v7.0.0/src/pacman/sync.c:715:20: call_function: calling ‘process_target’ from ‘sync_trans’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def757]
pacman-v7.0.0/src/pacman/util.c:477:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘replaced’
pacman-v7.0.0/src/pacman/util.c:458:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/util.c:459:34: branch_true: ...to here
pacman-v7.0.0/src/pacman/util.c:459:34: acquire_memory: this call could return NULL
pacman-v7.0.0/src/pacman/util.c:461:23: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/util.c:462:27: branch_true: ...to here
pacman-v7.0.0/src/pacman/util.c:477:25: danger: ‘replaced + iter’ could be NULL: unchecked value from [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def758]
pacman-v7.0.0/src/pacman/util.c:480:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘replaced’
pacman-v7.0.0/src/pacman/util.c:458:11: branch_true: following ‘true’ branch...
pacman-v7.0.0/src/pacman/util.c:459:34: branch_true: ...to here
pacman-v7.0.0/src/pacman/util.c:459:34: acquire_memory: this call could return NULL
pacman-v7.0.0/src/pacman/util.c:480:17: danger: ‘replaced + iter’ could be NULL: unchecked value from [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3)
Error: CPPCHECK_WARNING (CWE-476): [#def759]
pacman-v7.0.0/src/pacman/util.c:503: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cell
Error: CPPCHECK_WARNING (CWE-476): [#def760]
pacman-v7.0.0/src/pacman/util.c:504: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cell
Error: CPPCHECK_WARNING (CWE-476): [#def761]
pacman-v7.0.0/src/pacman/util.c:505: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cell
Error: CPPCHECK_WARNING (CWE-476): [#def762]
pacman-v7.0.0/src/pacman/util.c:1208: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: temp
Error: CPPCHECK_WARNING (CWE-401): [#def763]
pacman-v7.0.0/src/pacman/util.c:1351: error[memleakOnRealloc]: Common realloc mistake: 'optstring' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-688): [#def764]
pacman-v7.0.0/src/pacman/util.c:1352:36: warning[-Wanalyzer-null-argument]: use of NULL ‘optstring’ where non-null expected
pacman-v7.0.0/src/pacman/util.c:1381:6: enter_function: entry to ‘display_optdepends’
pacman-v7.0.0/src/pacman/util.c:1388:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/util.c:1389:32: branch_true: ...to here
pacman-v7.0.0/src/pacman/util.c:1390:56: call_function: calling ‘make_optstring’ from ‘display_optdepends’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def765]
pacman-v7.0.0/src/pacman/util.c:1366:33: warning[-Wanalyzer-malloc-leak]: leak of ‘make_optstring(optdep)’
pacman-v7.0.0/src/pacman/util.c:1357:6: enter_function: entry to ‘display_new_optdepends’
pacman-v7.0.0/src/pacman/util.c:1366:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/util.c:1367:32: branch_true: ...to here
pacman-v7.0.0/src/pacman/util.c:1368:56: call_function: calling ‘make_optstring’ from ‘display_new_optdepends’
pacman-v7.0.0/src/pacman/util.c:1368:56: return_function: returning to ‘display_new_optdepends’ from ‘make_optstring’
pacman-v7.0.0/src/pacman/util.c:1366:33: danger: ‘make_optstring(optdep)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def766]
pacman-v7.0.0/src/pacman/util.c:1388:33: warning[-Wanalyzer-malloc-leak]: leak of ‘make_optstring(optdep)’
pacman-v7.0.0/src/pacman/util.c:1381:6: enter_function: entry to ‘display_optdepends’
pacman-v7.0.0/src/pacman/util.c:1388:26: branch_true: following ‘true’ branch (when ‘i’ is non-NULL)...
pacman-v7.0.0/src/pacman/util.c:1389:32: branch_true: ...to here
pacman-v7.0.0/src/pacman/util.c:1390:56: call_function: calling ‘make_optstring’ from ‘display_optdepends’
pacman-v7.0.0/src/pacman/util.c:1390:56: return_function: returning to ‘display_optdepends’ from ‘make_optstring’
pacman-v7.0.0/src/pacman/util.c:1388:33: danger: ‘make_optstring(optdep)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def767]
pacman-v7.0.0/src/pacman/util.c:1535:17: warning[-Wanalyzer-malloc-leak]: leak of ‘new_response’
pacman-v7.0.0/src/pacman/util.c:1548:5: enter_function: entry to ‘multiselect_question’
pacman-v7.0.0/src/pacman/util.c:1562:11: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
pacman-v7.0.0/src/pacman/util.c:1565:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/util.c:1577:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/util.c:1582:17: branch_false: ...to here
pacman-v7.0.0/src/pacman/util.c:1582:17: call_function: calling ‘flush_term_input’ from ‘multiselect_question’
pacman-v7.0.0/src/pacman/util.c:1582:17: return_function: returning to ‘multiselect_question’ from ‘flush_term_input’
pacman-v7.0.0/src/pacman/util.c:1584:20: call_function: calling ‘safe_fgets_stdin’ from ‘multiselect_question’
pacman-v7.0.0/src/pacman/util.c:1584:20: return_function: returning to ‘multiselect_question’ from ‘safe_fgets_stdin’
pacman-v7.0.0/src/pacman/util.c:1584:19: branch_true: following ‘true’ branch...
branch_true: ...to here
pacman-v7.0.0/src/pacman/util.c:1592:35: branch_false: following ‘false’ branch (when ‘new_response’ is non-NULL)...
pacman-v7.0.0/src/pacman/util.c:1597:68: branch_false: ...to here
pacman-v7.0.0/src/pacman/util.c:1600:36: call_function: calling ‘safe_fgets_stdin’ from ‘multiselect_question’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def768]
pacman-v7.0.0/src/pacman/util.c:1535:17: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
pacman-v7.0.0/src/pacman/util.c:1548:5: enter_function: entry to ‘multiselect_question’
pacman-v7.0.0/src/pacman/util.c:1561:20: acquire_memory: allocated here
pacman-v7.0.0/src/pacman/util.c:1562:11: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
pacman-v7.0.0/src/pacman/util.c:1565:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/util.c:1577:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/util.c:1582:17: branch_false: ...to here
pacman-v7.0.0/src/pacman/util.c:1582:17: call_function: calling ‘flush_term_input’ from ‘multiselect_question’
pacman-v7.0.0/src/pacman/util.c:1582:17: return_function: returning to ‘multiselect_question’ from ‘flush_term_input’
pacman-v7.0.0/src/pacman/util.c:1584:20: call_function: calling ‘safe_fgets_stdin’ from ‘multiselect_question’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def769]
pacman-v7.0.0/src/pacman/util.c:1535:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
pacman-v7.0.0/src/pacman/util.c:1772:5: enter_function: entry to ‘noyes’
pacman-v7.0.0/src/pacman/util.c:1777:9: acquire_resource: ‘va_start’ called here
pacman-v7.0.0/src/pacman/util.c:1778:15: call_function: calling ‘question’ from ‘noyes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def770]
pacman-v7.0.0/src/pacman/util.c:1543:18: warning[-Wanalyzer-malloc-leak]: leak of ‘new_response’
pacman-v7.0.0/src/pacman/util.c:1548:5: enter_function: entry to ‘multiselect_question’
pacman-v7.0.0/src/pacman/util.c:1562:11: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
pacman-v7.0.0/src/pacman/util.c:1565:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/util.c:1577:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/util.c:1582:17: branch_false: ...to here
pacman-v7.0.0/src/pacman/util.c:1582:17: call_function: calling ‘flush_term_input’ from ‘multiselect_question’
pacman-v7.0.0/src/pacman/util.c:1582:17: return_function: returning to ‘multiselect_question’ from ‘flush_term_input’
pacman-v7.0.0/src/pacman/util.c:1584:20: call_function: calling ‘safe_fgets_stdin’ from ‘multiselect_question’
pacman-v7.0.0/src/pacman/util.c:1584:20: return_function: returning to ‘multiselect_question’ from ‘safe_fgets_stdin’
pacman-v7.0.0/src/pacman/util.c:1584:19: branch_true: following ‘true’ branch...
branch_true: ...to here
pacman-v7.0.0/src/pacman/util.c:1592:35: branch_false: following ‘false’ branch (when ‘new_response’ is non-NULL)...
pacman-v7.0.0/src/pacman/util.c:1597:68: branch_false: ...to here
pacman-v7.0.0/src/pacman/util.c:1600:36: call_function: calling ‘safe_fgets_stdin’ from ‘multiselect_question’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def771]
pacman-v7.0.0/src/pacman/util.c:1543:18: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
pacman-v7.0.0/src/pacman/util.c:1548:5: enter_function: entry to ‘multiselect_question’
pacman-v7.0.0/src/pacman/util.c:1561:20: acquire_memory: allocated here
pacman-v7.0.0/src/pacman/util.c:1562:11: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
pacman-v7.0.0/src/pacman/util.c:1565:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/util.c:1577:19: branch_false: following ‘false’ branch...
pacman-v7.0.0/src/pacman/util.c:1582:17: branch_false: ...to here
pacman-v7.0.0/src/pacman/util.c:1582:17: call_function: calling ‘flush_term_input’ from ‘multiselect_question’
pacman-v7.0.0/src/pacman/util.c:1582:17: return_function: returning to ‘multiselect_question’ from ‘flush_term_input’
pacman-v7.0.0/src/pacman/util.c:1584:20: call_function: calling ‘safe_fgets_stdin’ from ‘multiselect_question’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def772]
pacman-v7.0.0/src/pacman/util.c:1543:18: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
pacman-v7.0.0/src/pacman/util.c:1772:5: enter_function: entry to ‘noyes’
pacman-v7.0.0/src/pacman/util.c:1777:9: acquire_resource: ‘va_start’ called here
pacman-v7.0.0/src/pacman/util.c:1778:15: call_function: calling ‘question’ from ‘noyes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def773]
pacman-v7.0.0/src/pacman/util.c:1575:17: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
pacman-v7.0.0/src/pacman/util.c:1561:20: acquire_memory: allocated here
pacman-v7.0.0/src/pacman/util.c:1562:11: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
pacman-v7.0.0/src/pacman/util.c:1565:9: branch_false: ...to here
pacman-v7.0.0/src/pacman/util.c:1575:17: danger: ‘response’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def774]
pacman-v7.0.0/src/pacman/util.c:1717:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
pacman-v7.0.0/src/pacman/util.c:1772:5: enter_function: entry to ‘noyes’
pacman-v7.0.0/src/pacman/util.c:1777:9: acquire_resource: ‘va_start’ called here
pacman-v7.0.0/src/pacman/util.c:1778:15: call_function: calling ‘question’ from ‘noyes’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def775]
pacman-v7.0.0/src/pacman/util.c:1718:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
pacman-v7.0.0/src/pacman/util.c:1772:5: enter_function: entry to ‘noyes’
pacman-v7.0.0/src/pacman/util.c:1777:9: acquire_resource: ‘va_start’ called here
pacman-v7.0.0/src/pacman/util.c:1778:15: call_function: calling ‘question’ from ‘noyes’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def776]
pacman-v7.0.0/src/pacman/util.c:1730:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
pacman-v7.0.0/src/pacman/util.c:1772:5: enter_function: entry to ‘noyes’
pacman-v7.0.0/src/pacman/util.c:1777:9: acquire_resource: ‘va_start’ called here
pacman-v7.0.0/src/pacman/util.c:1778:15: call_function: calling ‘question’ from ‘noyes’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def777]
pacman-v7.0.0/src/pacman/util.c:1740:30: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
pacman-v7.0.0/src/pacman/util.c:1772:5: enter_function: entry to ‘noyes’
pacman-v7.0.0/src/pacman/util.c:1777:9: acquire_resource: ‘va_start’ called here
pacman-v7.0.0/src/pacman/util.c:1778:15: call_function: calling ‘question’ from ‘noyes’
Scan Properties
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-143.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-gcc-latest-x86_64 |
| project-name | pacman-7.0.0-5.fc44 |
| store-results-to | /tmp/tmpe1j99boi/pacman-7.0.0-5.fc44.tar.xz |
| time-created | 2025-10-28 19:33:42 |
| time-finished | 2025-10-28 19:35:26 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpe1j99boi/pacman-7.0.0-5.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpe1j99boi/pacman-7.0.0-5.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |