Fixed findings

List of Findings

Error: CPPCHECK_WARNING (CWE-758): [#def1]
at-spi2-core-2.60.0/atk-adaptor/bridge.c:575: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  573|         for (j = 0; j < 32; j++)
#  574|           {
#  575|->           if (v & (1 << j))
#  576|               {
#  577|                 AtkState state = spi_atk_state_from_spi_state ((count << 5) + j);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
at-spi2-core-2.60.0/atspi/atspi-misc.c:454:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
at-spi2-core-2.60.0/atspi/atspi-misc.c:959:1: enter_function: entry to ‘process_deferred_messages’
at-spi2-core-2.60.0/atspi/atspi-misc.c:967:10: branch_true: following ‘true’ branch...
at-spi2-core-2.60.0/atspi/atspi-misc.c:969:7: branch_true: ...to here
at-spi2-core-2.60.0/atspi/atspi-misc.c:969:7: call_function: calling ‘process_deferred_message’ from ‘process_deferred_messages’
#  452|     if (!strcmp (ref->path, "/org/a11y/atspi/accessible/root"))
#  453|       {
#  454|->       if (!app->root)
#  455|           {
#  456|             app->root = _atspi_accessible_new (app, atspi_path_root);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3]
at-spi2-core-2.60.0/atspi/atspi-misc.c:463:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
at-spi2-core-2.60.0/atspi/atspi-misc.c:959:1: enter_function: entry to ‘process_deferred_messages’
at-spi2-core-2.60.0/atspi/atspi-misc.c:967:10: branch_true: following ‘true’ branch...
at-spi2-core-2.60.0/atspi/atspi-misc.c:969:7: branch_true: ...to here
at-spi2-core-2.60.0/atspi/atspi-misc.c:969:7: call_function: calling ‘process_deferred_message’ from ‘process_deferred_messages’
#  461|       }
#  462|   
#  463|->   a = g_hash_table_lookup (app->hash, ref->path);
#  464|     if (a)
#  465|       {

Error: COMPILER_WARNING: [#def4]
at-spi2-core-2.60.0/registryd/deviceeventcontroller.c: scope_hint: In function ‘key_set_contains_key’
at-spi2-core-2.60.0/registryd/deviceeventcontroller.c:934:8: warning[-Wunused-but-set-variable=]: variable ‘i’ set but not used
#  934 |   gint i;
#      |        ^
#  932|                         const Accessibility_DeviceEvent *key_event)
#  933|   {
#  934|->   gint i;
#  935|     gint len;
#  936|     GSList *l;

Scan Properties

analyzer-version-clippy1.97.1
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.97.1
diffbase-analyzer-version-cppcheck2.21.1
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.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-185.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.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameat-spi2-core-2.61.0-3.fc45
diffbase-store-results-to/tmp/tmpyo4q9b8h/at-spi2-core-2.61.0-3.fc45.tar.xz
diffbase-time-created2026-08-03 13:23:54
diffbase-time-finished2026-08-03 13:26:05
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpyo4q9b8h/at-spi2-core-2.61.0-3.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpyo4q9b8h/at-spi2-core-2.61.0-3.fc45.src.rpm'
diffbase-tool-versioncsmock-3.8.7.HEAD-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-185.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameat-spi2-core-2.60.0-1.fc44
store-results-to/tmp/tmp1pvtypri/at-spi2-core-2.60.0-1.fc44.tar.xz
time-created2026-08-03 13:20:29
time-finished2026-08-03 13:23:37
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmp1pvtypri/at-spi2-core-2.60.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp1pvtypri/at-spi2-core-2.60.0-1.fc44.src.rpm'
tool-versioncsmock-3.8.7.HEAD-1.el9