kinfocenter-6.3.4-1.fc43

List of Findings

Error: COMPILER_WARNING (CWE-195): [#def1]
kinfocenter-6.3.4/kcms/about-distro/src/GPUEntryFactory.cpp: scope_hint: In function ‘bool {anonymous}::devicesAddUpAfterStripping(std::vector<GPUEntry::Device>&, bool)’
kinfocenter-6.3.4/kcms/about-distro/src/GPUEntryFactory.cpp:191:24: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘std::vector<GPUEntry::Device>::size_type’ {aka ‘long unsigned int’} and ‘int’
#  191 |     if (devices.size() != drmDeviceCount()) {
#      |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
#  189|       }
#  190|   
#  191|->     if (devices.size() != drmDeviceCount()) {
#  192|           stripLlvmpipe(devices);
#  193|           if (devices.size() != drmDeviceCount()) {

Error: COMPILER_WARNING (CWE-195): [#def2]
kinfocenter-6.3.4/kcms/about-distro/src/GPUEntryFactory.cpp:193:28: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘std::vector<GPUEntry::Device>::size_type’ {aka ‘long unsigned int’} and ‘int’
#  193 |         if (devices.size() != drmDeviceCount()) {
#      |             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
#  191|       if (devices.size() != drmDeviceCount()) {
#  192|           stripLlvmpipe(devices);
#  193|->         if (devices.size() != drmDeviceCount()) {
#  194|               return false;
#  195|           }

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-65.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namekinfocenter-6.3.4-1.fc43
store-results-to/tmp/tmpacclmnwl/kinfocenter-6.3.4-1.fc43.tar.xz
time-created2025-04-25 13:43:01
time-finished2025-04-25 13:45:34
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpacclmnwl/kinfocenter-6.3.4-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpacclmnwl/kinfocenter-6.3.4-1.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9