Fixed findings

List of Findings

Error: SHELLCHECK_WARNING (CWE-569): [#def1]
/usr/lib/rpm/redhat/config.sub:245:8: warning[SC2221]: This pattern always overrides a later one on line 247.
#  243|   					| semi \
#  244|   					| sequent* \
#  245|-> 					| siemens \
#  246|   					| sgi* \
#  247|   					| siemens \

Error: SHELLCHECK_WARNING (CWE-569): [#def2]
/usr/lib/rpm/redhat/config.sub:247:8: warning[SC2222]: This pattern never matches because of a previous pattern on line 245.
#  245|   					| siemens \
#  246|   					| sgi* \
#  247|-> 					| siemens \
#  248|   					| sim \
#  249|   					| sni \

Scan Properties

analyzer-version-clippy1.90.0
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.90.0
diffbase-analyzer-version-cppcheck2.18.3
diffbase-analyzer-version-gcc15.2.1
diffbase-analyzer-version-gcc-analyzer16.0.0
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-233.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-gcc-latest-x86_64
diffbase-project-nameredhat-rpm-config-343-14.fc44
diffbase-store-results-to/tmp/tmp_ttxd0j6/redhat-rpm-config-343-14.fc44.tar.xz
diffbase-time-created2025-10-28 20:29:14
diffbase-time-finished2025-10-28 20:30:25
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp_ttxd0j6/redhat-rpm-config-343-14.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp_ttxd0j6/redhat-rpm-config-343-14.fc44.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-233.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-gcc-latest-x86_64
project-nameredhat-rpm-config-343-11.fc43
store-results-to/tmp/tmp6mhs1fr9/redhat-rpm-config-343-11.fc43.tar.xz
time-created2025-10-28 20:27:20
time-finished2025-10-28 20:29:00
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp6mhs1fr9/redhat-rpm-config-343-11.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp6mhs1fr9/redhat-rpm-config-343-11.fc43.src.rpm'
tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9