Newly introduced findings

List of Findings

Error: SHELLCHECK_WARNING (CWE-571): [#def1]
/usr/share/go-fdo-server/fdo-utils.sh:17:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
#   15|     local rendezvous_port=$4
#   16|     local rendezvous_protocol=$5
#   17|->   local rv_bypass=$([[ "${6}" == "true" ]] && echo true || echo false)
#   18|     local rendezvous_info="[{\"dns\": \"${rendezvous_dns}\", \"device_port\": \"${rendezvous_port}\", \"protocol\": \"${rendezvous_protocol}\", \"ip\": \"${rendezvous_ip}\", \"owner_port\": \"${rendezvous_port}\", \"rv_bypass\": ${rv_bypass}}]"
#   19|     curl --fail --verbose --silent --insecure \

Error: SHELLCHECK_WARNING (CWE-571): [#def2]
/usr/share/go-fdo-server/fdo-utils.sh:32:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
#   30|     local rendezvous_port=$4
#   31|     local rendezvous_protocol=$5
#   32|->   local rv_bypass=$([[ "${6}" == "true" ]] && echo true || echo false)
#   33|     local rendezvous_info="[{\"dns\": \"${rendezvous_dns}\", \"device_port\": \"${rendezvous_port}\", \"protocol\": \"${rendezvous_protocol}\", \"ip\": \"${rendezvous_ip}\", \"owner_port\": \"${rendezvous_port}\", \"rv_bypass\": ${rv_bypass}}]"
#   34|     curl --fail --verbose --silent --insecure \

Scan Properties

analyzer-version-clippy1.91.1
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer15.2.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.91.1
diffbase-analyzer-version-cppcheck2.18.3
diffbase-analyzer-version-gcc15.2.1
diffbase-analyzer-version-gcc-analyzer15.2.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-199.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namego-fdo-server-0-0.20251120135731884161.main
diffbase-store-results-to/tmp/tmp2ll3jhs1/go-fdo-server-0-0.20251120135731884161.main.tar.xz
diffbase-time-created2025-11-21 17:03:54
diffbase-time-finished2025-11-21 17:06:16
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmp2ll3jhs1/go-fdo-server-0-0.20251120135731884161.main.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp2ll3jhs1/go-fdo-server-0-0.20251120135731884161.main.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-199.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-namego-fdo-server-0.0.1-0.20251121165513666774.pr127
store-results-to/tmp/tmp0c0cgykv/go-fdo-server-0.0.1-0.20251121165513666774.pr127.tar.xz
time-created2025-11-21 17:06:39
time-finished2025-11-21 17:08:34
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmp0c0cgykv/go-fdo-server-0.0.1-0.20251121165513666774.pr127.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp0c0cgykv/go-fdo-server-0.0.1-0.20251121165513666774.pr127.src.rpm'
tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9