wireless-regdb-2025.02.20-1.fc43

List of Findings

Error: SHELLCHECK_WARNING (CWE-563): [#def1]
/usr/bin/setregdomain:24:15: warning[SC2034]: a appears unused. Verify use (or export if used externally).
#   22|   
#   23|   getcountry() {
#   24|-> 	while read c a z r
#   25|   	do
#   26|   		if [ "$z" = "$ZONE" ]

Error: SHELLCHECK_WARNING (CWE-563): [#def2]
/usr/bin/setregdomain:24:19: warning[SC2034]: r appears unused. Verify use (or export if used externally).
#   22|   
#   23|   getcountry() {
#   24|-> 	while read c a z r
#   25|   	do
#   26|   		if [ "$z" = "$ZONE" ]

Error: SHELLCHECK_WARNING (CWE-477): [#def3]
/usr/bin/setregdomain:54:17: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#   52|   fi
#   53|   
#   54|-> if [ -z "$ZONE" -o "$ZONE" = "$LOCALTIME" ]
#   55|   then
#   56|   	$LOGGER -s "Could not determine timezone!  Unable to set regulatory domain."

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-197.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namewireless-regdb-2025.02.20-1.fc43
store-results-to/tmp/tmpld3sn3dx/wireless-regdb-2025.02.20-1.fc43.tar.xz
time-created2025-04-25 16:03:26
time-finished2025-04-25 16:04:32
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpld3sn3dx/wireless-regdb-2025.02.20-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpld3sn3dx/wireless-regdb-2025.02.20-1.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9