mock-5.9-1.fc42

List of Findings

Error: SHELLCHECK_WARNING (CWE-156): [#def1]
/usr/libexec/mock/create_default_route_in_container.sh:10:6: warning[SC2046]: Quote this to prevent word splitting.
#    8|   # setup
#    9|   mkdir -p /run/netns
#   10|-> eval $(machinectl show -p Leader ${container})
#   11|   touch /run/netns/ns-pid-${Leader}
#   12|   mount --bind /proc/${Leader}/ns/net /run/netns/ns-pid-${Leader}

Error: SHELLCHECK_WARNING (CWE-457): [#def2]
/usr/libexec/mock/create_default_route_in_container.sh:11:25: warning[SC2154]: Leader is referenced but not assigned.
#    9|   mkdir -p /run/netns
#   10|   eval $(machinectl show -p Leader ${container})
#   11|-> touch /run/netns/ns-pid-${Leader}
#   12|   mount --bind /proc/${Leader}/ns/net /run/netns/ns-pid-${Leader}
#   13|   

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-17.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namemock-5.9-1.fc42
store-results-to/tmp/tmptjugsgvd/mock-5.9-1.fc42.tar.xz
time-created2024-11-13 02:02:34
time-finished2024-11-13 02:03:40
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmptjugsgvd/mock-5.9-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmptjugsgvd/mock-5.9-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9