bash-completion-2.17-1.fc44

List of Findings

Error: SHELLCHECK_WARNING (CWE-563): [#def1]
/etc/bash_completion.d/000_bash_completion_compat.bash:60:32: warning[SC2034]: have appears unused. Verify use (or export if used externally).
#   58|   {
#   59|       unset -v have
#   60|->     _comp_have_command "$1" && have=yes
#   61|   }
#   62|   

Error: SHELLCHECK_WARNING (CWE-670): [#def2]
/etc/bash_completion.d/000_bash_completion_compat.bash:117:28: warning[SC2128]: Expanding an array without an index only gives the first element.
#  115|   _upvar()
#  116|   {
#  117|->     echo "bash_completion: $FUNCNAME: deprecated function," \
#  118|           "use _comp_upvars instead" >&2
#  119|       if unset -v "$1"; then # Unset & validate varname

Error: SHELLCHECK_WARNING (CWE-563): [#def3]
/etc/bash_completion.d/000_bash_completion_compat.bash:259:21: warning[SC2034]: split appears unused. Verify use (or export if used externally).
#  257|                       split=true
#  258|                   else
#  259|->                     split=false
#  260|                   fi
#  261|                   break

Error: SHELLCHECK_WARNING (CWE-563): [#def4]
/etc/bash_completion.d/000_bash_completion_compat.bash:465:13: warning[SC2034]: arg appears unused. Verify use (or export if used externally).
#  463|       for ((i = 1; i < COMP_CWORD; i++)); do
#  464|           if [[ ${COMP_WORDS[i]} != -* ]]; then
#  465|->             arg=${COMP_WORDS[i]}
#  466|               break
#  467|           fi

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-54.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-namebash-completion-2.17-1.fc44
store-results-to/tmp/tmpm25gwj3n/bash-completion-2.17-1.fc44.tar.xz
time-created2026-01-08 15:34:12
time-finished2026-01-08 15:35:33
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpm25gwj3n/bash-completion-2.17-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpm25gwj3n/bash-completion-2.17-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9