firewalld-2.3.0-1.fc42
List of Findings
Error: SHELLCHECK_WARNING (CWE-156): [#def1]
/usr/lib/firewalld/xmlschema/check.sh:10:20: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-563): [#def2]
/usr/share/firewalld/testsuite/integration/testsuite:17:3: warning[SC2034]: NULLCMD appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-398): [#def3]
/usr/share/firewalld/testsuite/integration/testsuite:20:12: error[SC2142]: Aliases can't use positional parameters. Use a function.
Error: SHELLCHECK_WARNING: [#def4]
/usr/share/firewalld/testsuite/integration/testsuite:22:11: warning[SC2194]: This word is constant. Did you forget the $ on a variable?
Error: SHELLCHECK_WARNING: [#def5]
/usr/share/firewalld/testsuite/integration/testsuite:25:12: warning[SC3040]: In POSIX sh, set option posix is undefined.
Error: SHELLCHECK_WARNING (CWE-569): [#def6]
/usr/share/firewalld/testsuite/integration/testsuite:62:16: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
Error: SHELLCHECK_WARNING (CWE-569): [#def7]
/usr/share/firewalld/testsuite/integration/testsuite:62:26: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
Error: SHELLCHECK_WARNING (CWE-563): [#def8]
/usr/share/firewalld/testsuite/integration/testsuite:75:24: warning[SC2034]: FPATH appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def9]
/usr/share/firewalld/testsuite/integration/testsuite:160:11: warning[SC2194]: This word is constant. Did you forget the $ on a variable?
Error: SHELLCHECK_WARNING: [#def10]
/usr/share/firewalld/testsuite/integration/testsuite:167:11: warning[SC2194]: This word is constant. Did you forget the $ on a variable?
Error: SHELLCHECK_WARNING: [#def11]
/usr/share/firewalld/testsuite/integration/testsuite:201:11: warning[SC2194]: This word is constant. Did you forget the $ on a variable?
Error: SHELLCHECK_WARNING (CWE-563): [#def12]
/usr/share/firewalld/testsuite/integration/testsuite:255:1: warning[SC2034]: CLICOLOR_FORCE appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-480): [#def13]
/usr/share/firewalld/testsuite/integration/testsuite:255:16: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-563): [#def14]
/usr/share/firewalld/testsuite/integration/testsuite:255:17: warning[SC2034]: GREP_OPTIONS appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def15]
/usr/share/firewalld/testsuite/integration/testsuite:268:1: warning[SC2034]: as_unset appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def16]
/usr/share/firewalld/testsuite/integration/testsuite:356:11: warning[SC2194]: This word is constant. Did you forget the $ on a variable?
Error: SHELLCHECK_WARNING: [#def17]
/usr/share/firewalld/testsuite/integration/testsuite:375:11: warning[SC2194]: This word is constant. Did you forget the $ on a variable?
Error: SHELLCHECK_WARNING (CWE-456): [#def18]
/usr/share/firewalld/testsuite/integration/testsuite:402:3: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-456): [#def19]
/usr/share/firewalld/testsuite/integration/testsuite:408:3: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-456): [#def20]
/usr/share/firewalld/testsuite/integration/testsuite:433:3: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-563): [#def21]
/usr/share/firewalld/testsuite/integration/testsuite:446:3: warning[SC2034]: as_lineno_1 appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def22]
/usr/share/firewalld/testsuite/integration/testsuite:446:23: warning[SC2034]: as_lineno_1a appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def23]
/usr/share/firewalld/testsuite/integration/testsuite:447:3: warning[SC2034]: as_lineno_2 appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def24]
/usr/share/firewalld/testsuite/integration/testsuite:447:23: warning[SC2034]: as_lineno_2a appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def25]
/usr/share/firewalld/testsuite/integration/testsuite:448:29: warning[SC2154]: as_run is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-480): [#def26]
/usr/share/firewalld/testsuite/integration/testsuite:487:8: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-480): [#def27]
/usr/share/firewalld/testsuite/integration/testsuite:487:16: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING: [#def28]
/usr/share/firewalld/testsuite/integration/testsuite:488:12: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def29]
/usr/share/firewalld/testsuite/integration/testsuite:492:8: warning[SC2034]: ECHO_C appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-156): [#def30]
/usr/share/firewalld/testsuite/integration/testsuite:493:13: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-563): [#def31]
/usr/share/firewalld/testsuite/integration/testsuite:494:8: warning[SC2034]: ECHO_T appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def32]
/usr/share/firewalld/testsuite/integration/testsuite:497:3: warning[SC2034]: ECHO_N appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def33]
/usr/share/firewalld/testsuite/integration/testsuite:503:1: warning[SC2034]: as_echo appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def34]
/usr/share/firewalld/testsuite/integration/testsuite:504:1: warning[SC2034]: as_echo_n appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-456): [#def35]
/usr/share/firewalld/testsuite/integration/testsuite:523:5: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-563): [#def36]
/usr/share/firewalld/testsuite/integration/testsuite:528:3: warning[SC2034]: as_ln_s appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def37]
/usr/share/firewalld/testsuite/integration/testsuite:540:1: warning[SC2034]: as_test_x appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def38]
/usr/share/firewalld/testsuite/integration/testsuite:541:1: warning[SC2034]: as_executable_p appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def39]
/usr/share/firewalld/testsuite/integration/testsuite:545:1: warning[SC2034]: as_tr_cpp appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def40]
/usr/share/firewalld/testsuite/integration/testsuite:549:1: warning[SC2034]: as_tr_sh appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-569): [#def41]
/usr/share/firewalld/testsuite/integration/testsuite:558:13: warning[SC2124]: Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
Error: SHELLCHECK_WARNING (CWE-456): [#def42]
/usr/share/firewalld/testsuite/integration/testsuite:712:2: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-456): [#def43]
/usr/share/firewalld/testsuite/integration/testsuite:793:6: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-398): [#def44]
/usr/share/firewalld/testsuite/integration/testsuite:807:46: error[SC1087]: Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
Error: SHELLCHECK_WARNING (CWE-398): [#def45]
/usr/share/firewalld/testsuite/integration/testsuite:826:9: warning[SC2163]: This does not export 'at_envvar'. Remove $/${} for that, or use ${var?} to quiet.
Error: SHELLCHECK_WARNING (CWE-480): [#def46]
/usr/share/firewalld/testsuite/integration/testsuite:874:10: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-480): [#def47]
/usr/share/firewalld/testsuite/integration/testsuite:874:18: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-480): [#def48]
/usr/share/firewalld/testsuite/integration/testsuite:874:26: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-480): [#def49]
/usr/share/firewalld/testsuite/integration/testsuite:874:34: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-563): [#def50]
/usr/share/firewalld/testsuite/integration/testsuite:996:1: warning[SC2034]: at_banner_text_1 appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def51]
/usr/share/firewalld/testsuite/integration/testsuite:999:1: warning[SC2034]: at_banner_text_2 appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def52]
/usr/share/firewalld/testsuite/integration/testsuite:1002:1: warning[SC2034]: at_banner_text_3 appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def53]
/usr/share/firewalld/testsuite/integration/testsuite:1005:1: warning[SC2034]: at_banner_text_4 appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def54]
/usr/share/firewalld/testsuite/integration/testsuite:1008:1: warning[SC2034]: at_banner_text_5 appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def55]
/usr/share/firewalld/testsuite/integration/testsuite:1032:13: warning[SC2154]: at_top_srcdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-563): [#def56]
/usr/share/firewalld/testsuite/integration/testsuite:1033:3: warning[SC2034]: builddir appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def57]
/usr/share/firewalld/testsuite/integration/testsuite:1037:10: warning[SC2154]: at_val is referenced but not assigned (did you mean 'as_val'?).
Error: SHELLCHECK_WARNING (CWE-563): [#def58]
/usr/share/firewalld/testsuite/integration/testsuite:1039:10: warning[SC2034]: at_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-691): [#def59]
/usr/share/firewalld/testsuite/integration/testsuite:1154:3: warning[SC2254]: Quote expansions in case patterns to match literally rather than as a glob.
Error: SHELLCHECK_WARNING (CWE-457): [#def60]
/usr/share/firewalld/testsuite/integration/testsuite:1261:10: warning[SC2154]: at_banner_text is referenced but not assigned (did you mean 'at_banner_text_1'?).
Error: SHELLCHECK_WARNING (CWE-691): [#def61]
/usr/share/firewalld/testsuite/integration/testsuite:1353:5: warning[SC2254]: Quote expansions in case patterns to match literally rather than as a glob.
Error: SHELLCHECK_WARNING (CWE-457): [#def62]
/usr/share/firewalld/testsuite/integration/testsuite:1378:8: warning[SC2154]: at_sed is referenced but not assigned (did you mean 'at_red'?).
Error: SHELLCHECK_WARNING (CWE-569): [#def63]
/usr/share/firewalld/testsuite/integration/testsuite:1419:3: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
Error: SHELLCHECK_WARNING (CWE-456): [#def64]
/usr/share/firewalld/testsuite/integration/testsuite:1427:3: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-456): [#def65]
/usr/share/firewalld/testsuite/integration/testsuite:1450:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-252): [#def66]
/usr/share/firewalld/testsuite/integration/testsuite:1497:3: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-398): [#def67]
/usr/share/firewalld/testsuite/integration/testsuite:1522:10: warning[SC2115]: Use "${var:?}" to ensure this never expands to /* .
Error: SHELLCHECK_WARNING (CWE-252): [#def68]
/usr/share/firewalld/testsuite/integration/testsuite:1566:3: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-457): [#def69]
/usr/share/firewalld/testsuite/integration/testsuite:1678:8: warning[SC2154]: at_pgid is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def70]
/usr/share/firewalld/testsuite/integration/testsuite:1678:8: warning[SC2154]: at_pgids is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def71]
/usr/share/firewalld/testsuite/integration/testsuite:1678:8: warning[SC2154]: at_signame is referenced but not assigned (did you mean 'at_signal'?).
Error: SHELLCHECK_WARNING (CWE-457): [#def72]
/usr/share/firewalld/testsuite/integration/testsuite:1678:8: warning[SC2154]: exit_status is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-398): [#def73]
/usr/share/firewalld/testsuite/integration/testsuite:1707:52: error[SC2173]: SIGKILL/SIGSTOP can not be trapped.
Error: SHELLCHECK_WARNING (CWE-457): [#def74]
/usr/share/firewalld/testsuite/integration/testsuite:1711:8: warning[SC2154]: at_pid is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def75]
/usr/share/firewalld/testsuite/integration/testsuite:1711:8: warning[SC2154]: at_pids is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def76]
/usr/share/firewalld/testsuite/integration/testsuite:1711:8: warning[SC2154]: at_sig is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-456): [#def77]
/usr/share/firewalld/testsuite/integration/testsuite:1727:7: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-456): [#def78]
/usr/share/firewalld/testsuite/integration/testsuite:1764:11: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-569): [#def79]
/usr/share/firewalld/testsuite/integration/testsuite:1764:13: warning[SC2048]: Use "$@" (with quotes) to prevent whitespace problems.
Error: SHELLCHECK_WARNING (CWE-456): [#def80]
/usr/share/firewalld/testsuite/integration/testsuite:1770:7: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-563): [#def81]
/usr/share/firewalld/testsuite/integration/testsuite:1774:5: warning[SC2034]: at_job appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def82]
/usr/share/firewalld/testsuite/integration/testsuite:1776:12: warning[SC2034]: at_token appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-252): [#def83]
/usr/share/firewalld/testsuite/integration/testsuite:1799:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-456): [#def84]
/usr/share/firewalld/testsuite/integration/testsuite:1810:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-456): [#def85]
/usr/share/firewalld/testsuite/integration/testsuite:1812:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-456): [#def86]
/usr/share/firewalld/testsuite/integration/testsuite:1813:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-456): [#def87]
/usr/share/firewalld/testsuite/integration/testsuite:1814:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-456): [#def88]
/usr/share/firewalld/testsuite/integration/testsuite:1815:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-252): [#def89]
/usr/share/firewalld/testsuite/integration/testsuite:1822:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING: [#def90]
/usr/share/firewalld/testsuite/integration/testsuite:2044:16: warning[SC3045]: In POSIX sh, ulimit -d is undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def91]
/usr/share/firewalld/testsuite/integration/testsuite:2049:16: warning[SC2154]: at_srcdir is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def92]
/usr/share/firewalld/testsuite/integration/testsuite:2747:16: warning[SC3045]: In POSIX sh, ulimit -d is undefined.
Error: SHELLCHECK_WARNING: [#def93]
/usr/share/firewalld/testsuite/integration/testsuite:3327:16: warning[SC3045]: In POSIX sh, ulimit -d is undefined.
Error: SHELLCHECK_WARNING: [#def94]
/usr/share/firewalld/testsuite/integration/testsuite:3842:16: warning[SC3045]: In POSIX sh, ulimit -d is undefined.
Error: SHELLCHECK_WARNING: [#def95]
/usr/share/firewalld/testsuite/integration/testsuite:4458:16: warning[SC3045]: In POSIX sh, ulimit -d is undefined.
Error: SHELLCHECK_WARNING: [#def96]
/usr/share/firewalld/testsuite/integration/testsuite:5100:16: warning[SC3045]: In POSIX sh, ulimit -d is undefined.
Error: SHELLCHECK_WARNING: [#def97]
/usr/share/firewalld/testsuite/integration/testsuite:5742:16: warning[SC3045]: In POSIX sh, ulimit -d is undefined.
Error: SHELLCHECK_WARNING: [#def98]
/usr/share/firewalld/testsuite/integration/testsuite:6306:16: warning[SC3045]: In POSIX sh, ulimit -d is undefined.
Error: SHELLCHECK_WARNING: [#def99]
/usr/share/firewalld/testsuite/integration/testsuite:6776:16: warning[SC3045]: In POSIX sh, ulimit -d is undefined.
Error: SHELLCHECK_WARNING: [#def100]
/usr/share/firewalld/testsuite/integration/testsuite:7249:16: warning[SC3045]: In POSIX sh, ulimit -d is undefined.
Error: SHELLCHECK_WARNING (CWE-156): [#def101]
/usr/share/firewalld/testsuite/integration/testsuite:7569:6: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def102]
/usr/share/firewalld/testsuite/integration/testsuite:7572:6: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def103]
/usr/share/firewalld/testsuite/integration/testsuite:8071:92: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def104]
/usr/share/firewalld/testsuite/integration/testsuite:8188:16: warning[SC3045]: In POSIX sh, ulimit -d is undefined.
Error: SHELLCHECK_WARNING (CWE-156): [#def105]
/usr/share/firewalld/testsuite/integration/testsuite:8508:6: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def106]
/usr/share/firewalld/testsuite/integration/testsuite:8511:6: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-563): [#def107]
/usr/share/firewalld/testsuite/integration/testsuite:8530:5: warning[SC2034]: I appears unused. Verify use (or export if used externally).
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-35.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | firewalld-2.3.0-1.fc42 |
store-results-to | /tmp/tmpyiy1gizg/firewalld-2.3.0-1.fc42.tar.xz |
time-created | 2024-11-12 23:49:02 |
time-finished | 2024-11-12 23:50:56 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpyiy1gizg/firewalld-2.3.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpyiy1gizg/firewalld-2.3.0-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |