Error: SHELLCHECK_WARNING (CWE-156): [#def1] /usr/bin/fips-finish-install:20:6: warning[SC2046]: Quote this to prevent word splitting. # 18| fi # 19| # 20|-> if [ $(id -u) != 0 ]; then # 21| echo "You must be root to run $(basename $0)" # 22| exit 1 Error: SHELLCHECK_WARNING (CWE-569): [#def2] /usr/bin/fips-finish-install:35:14: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled. # 33| # 34| if test x"$1" == x--complete; then # 35|-> trap "rm -f $dracut_cfg" ERR # 36| cat >$dracut_cfg <<EOF # 37| # turn on fips module Error: SHELLCHECK_WARNING (CWE-758): [#def3] /usr/share/crypto-policies/reload-cmds.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive. # 1|-> systemctl try-reload-or-restart bind.service 2>/dev/null || : # 2| systemctl try-restart ipsec.service 2>/dev/null || : # 3| systemctl try-restart sshd.service 2>/dev/null || :
analyzer-version-clang | 18.1.3 |
analyzer-version-cppcheck | 2.13.0 |
analyzer-version-gcc | 14.0.1 |
analyzer-version-gcc-analyzer | 14.0.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-5.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | crypto-policies-20240320-1.git58e3d95.fc41 |
store-results-to | /tmp/tmp3z0p4m65/crypto-policies-20240320-1.git58e3d95.fc41.tar.xz |
time-created | 2024-04-22 10:47:30 |
time-finished | 2024-04-22 10:48:28 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp3z0p4m65/crypto-policies-20240320-1.git58e3d95.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp3z0p4m65/crypto-policies-20240320-1.git58e3d95.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |