wireless-regdb-2025.10.07-1.fc44

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.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-239.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namewireless-regdb-2025.10.07-1.fc44
store-results-to/tmp/tmp7qahusyd/wireless-regdb-2025.10.07-1.fc44.tar.xz
time-created2026-01-08 22:11:28
time-finished2026-01-08 22:12:39
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp7qahusyd/wireless-regdb-2025.10.07-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp7qahusyd/wireless-regdb-2025.10.07-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9