Task #130623 - fixed.err

back to task #130623
download
Error: CPPCHECK_WARNING (CWE-758):
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):
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):
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:
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;