Newly introduced findings

List of Findings

Error: SHELLCHECK_WARNING (CWE-398): [#def1]
/usr/libexec/anaconda/webui-desktop:41:9: warning[SC2214]: This case is not specified by getopts.
#   39|           t)THEME_ID=${OPTARG};;
#   40|           r)WEBUI_REMOTE=${OPTARG};;
#   41|->         b)DEFAULT_BROWSER_CMD=${OPTARG};;
#   42|           *) echo "Usage: $0 [-t THEME_ID] [-r WEBUI_REMOTE] [-b DEFAULT_BROWSER_CMD]" >&2
#   43|          exit 1 ;;

Error: SHELLCHECK_WARNING (CWE-670): [#def2]
/usr/libexec/anaconda/webui-desktop:121:10: warning[SC2128]: Expanding an array without an index only gives the first element.
#  119|       BROWSER=(/usr/bin/firefox --new-instance --window-size "1024,768" --profile "${FIREFOX_PROFILE_PATH}")
#  120|   
#  121|->     echo $BROWSER
#  122|   }
#  123|   

Error: SHELLCHECK_WARNING (CWE-140): [#def3]
/usr/libexec/anaconda/webui-desktop:151:18: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#  149|       # If default browser command is not set, or set to firefox then prepare the firefox command
#  150|       if [[ -z "${DEFAULT_BROWSER_CMD:-}" || "${DEFAULT_BROWSER_CMD}" == "firefox" ]]; then
#  151|->         BROWSER=($(prepare_firefox_cmd "$INSTALLER_USER"))
#  152|       else
#  153|           # Otherwise, use the default browser command

Error: SHELLCHECK_WARNING (CWE-140): [#def4]
/usr/libexec/anaconda/webui-desktop:154:18: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#  152|       else
#  153|           # Otherwise, use the default browser command
#  154|->         BROWSER=(${DEFAULT_BROWSER_CMD})
#  155|       fi
#  156|   

Scan Properties

analyzer-version-clippy1.88.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.1.1
analyzer-version-gcc-analyzer15.1.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.88.0
diffbase-analyzer-version-cppcheck2.17.1
diffbase-analyzer-version-gcc15.1.1
diffbase-analyzer-version-gcc-analyzer15.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-157.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-nameanaconda-webui-41-1.20250626100605968841.main.6.g19cd20ab
diffbase-store-results-to/tmp/tmp5k23o71f/anaconda-webui-41-1.20250626100605968841.main.6.g19cd20ab.tar.xz
diffbase-time-created2025-06-27 11:11:59
diffbase-time-finished2025-06-27 11:13:32
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,shellcheck,gcc,cppcheck,unicontrol' '-o' '/tmp/tmp5k23o71f/anaconda-webui-41-1.20250626100605968841.main.6.g19cd20ab.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp5k23o71f/anaconda-webui-41-1.20250626100605968841.main.6.g19cd20ab.src.rpm'
diffbase-tool-versioncsmock-3.8.1.20250626.171830.gc374be3-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-157.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-nameanaconda-webui-41-1.20250627110049759176.pr894.11.gb7a94d0b
store-results-to/tmp/tmpv8r0nclt/anaconda-webui-41-1.20250627110049759176.pr894.11.gb7a94d0b.tar.xz
time-created2025-06-27 11:13:43
time-finished2025-06-27 11:14:51
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,shellcheck,gcc,cppcheck,unicontrol' '-o' '/tmp/tmpv8r0nclt/anaconda-webui-41-1.20250627110049759176.pr894.11.gb7a94d0b.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpv8r0nclt/anaconda-webui-41-1.20250627110049759176.pr894.11.gb7a94d0b.src.rpm'
tool-versioncsmock-3.8.1.20250626.171830.gc374be3-1.el9