Task #121 - libxkbcommon-1.7.0-1.fc41/scan.log
back to task #121download
<...trimmed, download required for full log> 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateArrayRef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:180:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 180 | expr->array_ref.element = element; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateArrayRef’ at ../src/xkbcomp/ast-build.c:177:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateArrayRef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:181:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 181 | expr->array_ref.field = field; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateArrayRef’ at ../src/xkbcomp/ast-build.c:177:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateArrayRef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:182:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 182 | expr->array_ref.entry = entry; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateArrayRef’ at ../src/xkbcomp/ast-build.c:177:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateAction’ at ../src/xkbcomp/ast-build.c:189:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateAction’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:192:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 192 | expr->action.name = name; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateAction’ at ../src/xkbcomp/ast-build.c:189:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateAction’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:193:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 193 | expr->action.args = args; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateAction’ at ../src/xkbcomp/ast-build.c:189:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateActionList’ at ../src/xkbcomp/ast-build.c:200:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateActionList’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:203:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 203 | expr->actions.actions = actions; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateActionList’ at ../src/xkbcomp/ast-build.c:200:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateIdent’ at ../src/xkbcomp/ast-build.c:127:21, inlined from ‘BoolVarCreate’ at ../src/xkbcomp/ast-build.c:330:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreateIdent’, inlined from ‘BoolVarCreate’ at ../src/xkbcomp/ast-build.c:330:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:130:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 130 | expr->ident.ident = ident; | ~~~~~~~~~~~~~~~~~~^~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateIdent’ at ../src/xkbcomp/ast-build.c:127:21, inlined from ‘BoolVarCreate’ at ../src/xkbcomp/ast-build.c:330:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateBoolean’ at ../src/xkbcomp/ast-build.c:107:21, inlined from ‘BoolVarCreate’ at ../src/xkbcomp/ast-build.c:333:19: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreateBoolean’, inlined from ‘BoolVarCreate’ at ../src/xkbcomp/ast-build.c:333:19: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:110:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 110 | expr->boolean.set = set; | ~~~~~~~~~~~~~~~~~~^~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateBoolean’ at ../src/xkbcomp/ast-build.c:107:21, inlined from ‘BoolVarCreate’ at ../src/xkbcomp/ast-build.c:333:19: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ [63/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_xkbcomp_expr.c.o -MF compile-keymap.p/src_xkbcomp_expr.c.o.d -o compile-keymap.p/src_xkbcomp_expr.c.o -c ../src/xkbcomp/expr.c [64/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_xkbcomp_include.c.o -MF compile-keymap.p/src_xkbcomp_include.c.o.d -o compile-keymap.p/src_xkbcomp_include.c.o -c ../src/xkbcomp/include.c [65/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_xkbcomp_compat.c.o -MF compile-keymap.p/src_xkbcomp_compat.c.o.d -o compile-keymap.p/src_xkbcomp_compat.c.o -c ../src/xkbcomp/compat.c In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:88, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/xkbcomp-priv.h:30, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:52: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c: In function ‘AddInterp’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:916:1: note: (1) entry to ‘CompileCompatMap’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:923:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:926:52: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:930:5: note: (4) calling ‘HandleCompatMapFile’ from ‘CompileCompatMap’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:763:1: note: (5) entry to ‘HandleCompatMapFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:770:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleCompatMapFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleCompatMapFile’ at ../src/xkbcomp/compat.c:770:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c: In function ‘AddInterp’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:772:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:773:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:773:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:774:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:775:18: note: (13) calling ‘HandleIncludeCompatMap’ from ‘HandleCompatMapFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:432:1: note: (14) entry to ‘HandleIncludeCompatMap’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:436:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:442:35: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:445:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:449:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:450:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:456:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:463:9: note: (21) calling ‘HandleCompatMapFile’ from ‘HandleIncludeCompatMap’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:763:1: note: (22) entry to ‘HandleCompatMapFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:770:18: note: (23) inlined call to ‘strdup_safe’ from ‘HandleCompatMapFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleCompatMapFile’ at ../src/xkbcomp/compat.c:770:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c: In function ‘AddInterp’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:772:42: note: (26) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:773:21: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:773:9: note: (28) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:774:9: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:775:18: note: (30) calling ‘HandleIncludeCompatMap’ from ‘HandleCompatMapFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:432:1: note: (31) entry to ‘HandleIncludeCompatMap’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:436:8: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:442:35: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:445:39: note: (34) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:449:16: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:450:12: note: (36) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:456:9: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:463:9: note: (38) calling ‘HandleCompatMapFile’ from ‘HandleIncludeCompatMap’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:763:1: note: (39) entry to ‘HandleCompatMapFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:770:18: note: (40) inlined call to ‘strdup_safe’ from ‘HandleCompatMapFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleCompatMapFile’ at ../src/xkbcomp/compat.c:770:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (41) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c: In function ‘AddInterp’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:772:42: note: (43) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:773:21: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:773:9: note: (45) following ‘case 7:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:777:9: note: (46) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:778:18: note: (47) calling ‘HandleInterpDef’ from ‘HandleCompatMapFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:690:1: note: (48) entry to ‘HandleInterpDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:696:10: note: (49) calling ‘ResolveStateAndPredicate’ from ‘HandleInterpDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:263:1: note: (50) entry to ‘ResolveStateAndPredicate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:266:8: note: (51) following ‘false’ branch (when ‘expr’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:272:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:696:10: note: (53) returning to ‘HandleInterpDef’ from ‘ResolveStateAndPredicate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:696:8: note: (54) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:703:8: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:709:10: note: (56) calling ‘HandleInterpBody’ from ‘HandleInterpDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:664:1: note: (57) entry to ‘HandleInterpBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:670:12: note: (58) following ‘false’ branch (when ‘def’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:686:12: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:709:10: note: (60) returning to ‘HandleInterpDef’ from ‘HandleInterpBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:709:8: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:714:10: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:714:10: note: (63) calling ‘AddInterp’ from ‘HandleInterpDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:206:1: note: (64) entry to ‘AddInterp’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:208:26: note: (65) calling ‘FindMatchingInterp’ from ‘AddInterp’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:174:1: note: (66) entry to ‘FindMatchingInterp’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (67) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:178:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (68) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:178:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (69) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:178:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] cc1: note: (70) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:208:26: note: (71) returning to ‘AddInterp’ from ‘FindMatchingInterp’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:209:8: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:29: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (74) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (75) inlined call to ‘darray_next_alloc’ from ‘AddInterp’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:31: <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddInterp’ at ../src/xkbcomp/compat.c:256:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (77) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (79) following ‘true’ branch... <--[gcc] In function ‘AddInterp’: cc1: note: (80) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (81) inlined call to ‘darray_next_alloc’ from ‘AddInterp’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddInterp’ at ../src/xkbcomp/compat.c:256:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (82) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c: In function ‘AddInterp’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:31: note: (84) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (85) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (86) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (87) dereference of NULL ‘*info.interps.item + (long unsigned int)(*info.interps.size + 4294967295) * 44’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] [66/244] /usr/bin/meson --internal symbolextractor /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build libxkbcommon.so.0.0.0 libxkbcommon.so.0.0.0 libxkbcommon.so.0.0.0.p/libxkbcommon.so.0.0.0.symbols [67/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_xkbcomp_keymap.c.o -MF compile-keymap.p/src_xkbcomp_keymap.c.o.d -o compile-keymap.p/src_xkbcomp_keymap.c.o -c ../src/xkbcomp/keymap.c [68/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_xkbcomp_keymap-dump.c.o -MF compile-keymap.p/src_xkbcomp_keymap-dump.c.o.d -o compile-keymap.p/src_xkbcomp_keymap-dump.c.o -c ../src/xkbcomp/keymap-dump.c [69/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_xkbcomp_keywords.c.o -MF compile-keymap.p/src_xkbcomp_keywords.c.o.d -o compile-keymap.p/src_xkbcomp_keywords.c.o -c ../src/xkbcomp/keywords.c [70/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_xkbcomp_scanner.c.o -MF compile-keymap.p/src_xkbcomp_scanner.c.o.d -o compile-keymap.p/src_xkbcomp_scanner.c.o -c ../src/xkbcomp/scanner.c [71/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_xkbcomp_rules.c.o -MF compile-keymap.p/src_xkbcomp_rules.c.o.d -o compile-keymap.p/src_xkbcomp_rules.c.o -c ../src/xkbcomp/rules.c /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1159: error: nullPointer(CWE-476): Null pointer dereference: (unsigned int*)(NULL) <--[cppcheck] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1160: error: nullPointer(CWE-476): Null pointer dereference: (unsigned int*)(NULL) <--[cppcheck] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1161: error: nullPointer(CWE-476): Null pointer dereference: (unsigned int*)(NULL) <--[cppcheck] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1162: error: nullPointer(CWE-476): Null pointer dereference: (unsigned int*)(NULL) <--[cppcheck] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:88, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/xkbcomp-priv.h:30, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:52: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c: In function ‘split_comma_separated_mlvo’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of possibly-NULL ‘__builtin_malloc(96)’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:286:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1129:1: note: (1) entry to ‘xkb_components_from_rules’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1141:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1144:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1144:15: note: (4) calling ‘matcher_new’ from ‘xkb_components_from_rules’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:303:1: note: (5) entry to ‘matcher_new’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:307:8: note: (6) following ‘false’ branch (when ‘m’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:310:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:313:24: note: (8) calling ‘split_comma_separated_mlvo’ from ‘matcher_new’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:275:1: note: (9) entry to ‘split_comma_separated_mlvo’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:284:8: note: (10) following ‘true’ branch (when ‘s’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:286:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (12) this call could return NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:286:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (13) ‘__builtin_malloc(96)’ could be NULL: unchecked value from (12) <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:286:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c: In function ‘split_comma_separated_mlvo.part.0’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:275:1: note: (1) entry to ‘split_comma_separated_mlvo.part.0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:292:27: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:293:20: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:293:20: note: (4) calling ‘strip_spaces’ from ‘split_comma_separated_mlvo.part.0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:267:1: note: (5) entry to ‘strip_spaces’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:270:22: note: (6) following ‘false’ branch (when ‘<unknown> == 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:271:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:293:20: note: (8) returning to ‘split_comma_separated_mlvo.part.0’ from ‘strip_spaces’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (10) inlined call to ‘darray_next_alloc’ from ‘split_comma_separated_mlvo.part.0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:31: <--[gcc] In function ‘darray_next_alloc’, inlined from ‘split_comma_separated_mlvo.part.0’ at ../src/xkbcomp/rules.c:294:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (14) following ‘true’ branch (when ‘<unknown> == 0’)... <--[gcc] In function ‘split_comma_separated_mlvo.part.0’: cc1: note: (15) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (16) inlined call to ‘darray_next_alloc’ from ‘split_comma_separated_mlvo.part.0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘split_comma_separated_mlvo.part.0’ at ../src/xkbcomp/rules.c:294:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c: In function ‘split_comma_separated_mlvo.part.0’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (19) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (20) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (21) dereference of NULL ‘arr.item + (long unsigned int)arr.size * 24’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c: In function ‘read_rules_file’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1107:5: warning: dereference of NULL ‘matcher’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1129:1: note: (1) entry to ‘xkb_components_from_rules’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1141:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1144:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1144:15: note: (4) calling ‘matcher_new’ from ‘xkb_components_from_rules’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:303:1: note: (5) entry to ‘matcher_new’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:306:25: note: (6) allocated here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:307:8: note: (7) assuming ‘m’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:307:8: note: (8) following ‘true’ branch (when ‘m’ is NULL)... <--[gcc] cc1: note: (9) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1144:15: note: (10) returning to ‘xkb_components_from_rules’ from ‘matcher_new’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1146:11: note: (11) calling ‘read_rules_file’ from ‘xkb_components_from_rules’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1089:1: note: (12) entry to ‘read_rules_file’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1100:8: note: (13) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1107:5: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1107:5: note: (15) dereference of NULL ‘matcher’ <--[gcc] [72/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_xkbcomp_keycodes.c.o -MF compile-keymap.p/src_xkbcomp_keycodes.c.o.d -o compile-keymap.p/src_xkbcomp_keycodes.c.o -c ../src/xkbcomp/keycodes.c In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:88, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/xkbcomp-priv.h:30, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:29: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘AddKeyName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:668:1: note: (1) entry to ‘CompileKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:675:5: note: (2) calling ‘HandleKeycodesFile’ from ‘CompileKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:498:1: note: (3) entry to ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:18: note: (4) inlined call to ‘strdup_safe’ from ‘HandleKeycodesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeycodesFile’ at ../src/xkbcomp/keycodes.c:503:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘AddKeyName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:505:42: note: (7) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:9: note: (9) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:507:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:508:18: note: (11) calling ‘HandleIncludeKeycodes’ from ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:341:1: note: (12) entry to ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:345:8: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:350:5: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:353:39: note: (15) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:357:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:358:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:364:53: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:366:9: note: (19) calling ‘HandleKeycodesFile’ from ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:498:1: note: (20) entry to ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:18: note: (21) inlined call to ‘strdup_safe’ from ‘HandleKeycodesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeycodesFile’ at ../src/xkbcomp/keycodes.c:503:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘AddKeyName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:505:42: note: (24) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:9: note: (26) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:507:9: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:508:18: note: (28) calling ‘HandleIncludeKeycodes’ from ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:341:1: note: (29) entry to ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:345:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:350:5: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:353:39: note: (32) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:357:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:358:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:364:53: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:366:9: note: (36) calling ‘HandleKeycodesFile’ from ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:498:1: note: (37) entry to ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:18: note: (38) inlined call to ‘strdup_safe’ from ‘HandleKeycodesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeycodesFile’ at ../src/xkbcomp/keycodes.c:503:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘AddKeyName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:505:42: note: (41) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:21: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:9: note: (43) following ‘case 2:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:510:9: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:511:18: note: (45) calling ‘HandleKeycodeDef’ from ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:381:1: note: (46) entry to ‘HandleKeycodeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:390:8: note: (47) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:397:12: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:397:12: note: (49) calling ‘AddKeyName’ from ‘HandleKeycodeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:185:1: note: (50) entry to ‘AddKeyName’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:192:21: note: (51) following ‘true’ branch (when ‘report != 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:192:49: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:192:21: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:192:54: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:194:8: note: (55) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:38: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (57) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:23: note: (58) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:162:27: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:22: note: (61) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (62) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (63) argument 1 (‘*info.key_names.item + (long unsigned int)*info.key_names.size * 4’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘HandleAliasDef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:668:1: note: (1) entry to ‘CompileKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:675:5: note: (2) calling ‘HandleKeycodesFile’ from ‘CompileKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:498:1: note: (3) entry to ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:18: note: (4) inlined call to ‘strdup_safe’ from ‘HandleKeycodesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeycodesFile’ at ../src/xkbcomp/keycodes.c:503:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘HandleAliasDef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:505:42: note: (7) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:9: note: (9) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:507:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:508:18: note: (11) calling ‘HandleIncludeKeycodes’ from ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:341:1: note: (12) entry to ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:345:8: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:350:5: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:353:39: note: (15) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:357:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:358:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:364:53: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:366:9: note: (19) calling ‘HandleKeycodesFile’ from ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:498:1: note: (20) entry to ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:18: note: (21) inlined call to ‘strdup_safe’ from ‘HandleKeycodesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeycodesFile’ at ../src/xkbcomp/keycodes.c:503:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘HandleAliasDef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:505:42: note: (24) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:9: note: (26) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:507:9: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:508:18: note: (28) calling ‘HandleIncludeKeycodes’ from ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:341:1: note: (29) entry to ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:345:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:350:5: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:353:39: note: (32) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:357:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:358:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:364:53: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:366:9: note: (36) calling ‘HandleKeycodesFile’ from ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:498:1: note: (37) entry to ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:18: note: (38) inlined call to ‘strdup_safe’ from ‘HandleKeycodesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeycodesFile’ at ../src/xkbcomp/keycodes.c:503:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘HandleAliasDef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:505:42: note: (41) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:21: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:9: note: (43) following ‘case 3:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:513:9: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:514:18: note: (45) calling ‘HandleAliasDef’ from ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:402:1: note: (46) entry to ‘HandleAliasDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (47) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:406:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (48) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:406:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:406:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:438:5: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (52) inlined call to ‘darray_next_alloc’ from ‘HandleAliasDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:31: <--[gcc] In function ‘darray_next_alloc’, inlined from ‘HandleAliasDef’ at ../src/xkbcomp/keycodes.c:439:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (54) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (56) following ‘true’ branch... <--[gcc] In function ‘HandleAliasDef’: cc1: note: (57) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (58) inlined call to ‘darray_next_alloc’ from ‘HandleAliasDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘HandleAliasDef’ at ../src/xkbcomp/keycodes.c:439:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘HandleAliasDef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (61) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (62) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (63) dereference of NULL ‘*info.aliases.item + (long unsigned int)(*info.aliases.size + 4294967295) * 12’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] [73/244] gcc -o xkbcli xkbcli.p/tools_xkbcli.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [74/244] gcc -o xkbcli-compile-keymap xkbcli-compile-keymap.p/tools_compile-keymap.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [75/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_xkbcomp_vmod.c.o -MF compile-keymap.p/src_xkbcomp_vmod.c.o.d -o compile-keymap.p/src_xkbcomp_vmod.c.o -c ../src/xkbcomp/vmod.c [76/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_xkbcomp_xkbcomp.c.o -MF compile-keymap.p/src_xkbcomp_xkbcomp.c.o.d -o compile-keymap.p/src_xkbcomp_xkbcomp.c.o -c ../src/xkbcomp/xkbcomp.c [77/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_keysym-utf.c.o -MF compile-keymap.p/src_keysym-utf.c.o.d -o compile-keymap.p/src_keysym-utf.c.o -c ../src/keysym-utf.c [78/244] gcc -o libxkbcommon-x11.so.0.0.0 libxkbcommon-x11.so.0.0.0.p/src_x11_keymap.c.o libxkbcommon-x11.so.0.0.0.p/src_x11_state.c.o libxkbcommon-x11.so.0.0.0.p/src_x11_util.c.o libxkbcommon-x11.so.0.0.0.p/src_context-priv.c.o libxkbcommon-x11.so.0.0.0.p/src_keymap-priv.c.o libxkbcommon-x11.so.0.0.0.p/src_atom.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,-soname,libxkbcommon-x11.so.0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon.so.0.0.0 -Wl,--version-script=/builddir/build/BUILD/libxkbcommon-1.7.0/xkbcommon-x11.map /usr/lib64/libxcb.so /usr/lib64/libxcb-xkb.so -Wl,--end-group [79/244] /usr/bin/meson --internal symbolextractor /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build libxkbcommon-x11.so.0.0.0 libxkbcommon-x11.so.0.0.0 libxkbcommon-x11.so.0.0.0.p/libxkbcommon-x11.so.0.0.0.symbols [80/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_keymap-priv.c.o -MF compile-keymap.p/src_keymap-priv.c.o.d -o compile-keymap.p/src_keymap-priv.c.o -c ../src/keymap-priv.c [81/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_context.c.o -MF compile-keymap.p/src_context.c.o.d -o compile-keymap.p/src_context.c.o -c ../src/context.c [82/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_text.c.o -MF compile-keymap.p/src_text.c.o.d -o compile-keymap.p/src_text.c.o -c ../src/text.c [83/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_context-priv.c.o -MF compile-keymap.p/src_context-priv.c.o.d -o compile-keymap.p/src_context-priv.c.o -c ../src/context-priv.c [84/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_utils.c.o -MF compile-keymap.p/src_utils.c.o.d -o compile-keymap.p/src_utils.c.o -c ../src/utils.c [85/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_atom.c.o -MF compile-keymap.p/src_atom.c.o.d -o compile-keymap.p/src_atom.c.o -c ../src/atom.c In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:81: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c: In function ‘atom_table_new’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of possibly-NULL ‘*table.strings.item’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:117:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:113:8: note: (1) following ‘false’ branch (when ‘table’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:38: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:117:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (3) this call could return NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:117:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (4) ‘*table.strings.item’ could be NULL: unchecked value from (3) <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:117:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c: In function ‘atom_intern’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:151:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:148:8: note: (1) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:149:27: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:150:24: note: (3) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:150:22: note: (4) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:151:9: note: (5) argument 1 (‘realloc(*table.index, *table.index_size * 8)’) NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null [86/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_keysym.c.o -MF compile-keymap.p/src_keysym.c.o.d -o compile-keymap.p/src_keysym.c.o -c ../src/keysym.c /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c: In function ‘UCSConvertCase’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (6) ...to here <--[gcc] cc1: note: (7) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (9) read of 2 bytes at offset ‘code * 2 + 8589933824’ exceeds ‘LatinExtB_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: valid subscripts for ‘LatinExtB_lower_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_lower_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589933824) - 154’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 154 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (19) ...to here <--[gcc] cc1: note: (20) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (22) read of 2 bytes at offset ‘*upper * 2 + 8589933824’ exceeds ‘LatinExtB_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: valid subscripts for ‘LatinExtB_lower_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_lower_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589933824) - 154’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 154 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: valid subscripts for ‘LatinExtB_lower_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_lower_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: valid subscripts for ‘LatinExtB_lower_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_lower_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: valid subscripts for ‘LatinExtB_lower_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_lower_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: valid subscripts for ‘LatinExtB_lower_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_lower_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (6) ...to here <--[gcc] cc1: note: (7) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: (9) read of 2 bytes at offset ‘code * 2 + 8589933824’ exceeds ‘LatinExtB_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: valid subscripts for ‘LatinExtB_upper_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_upper_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589933824) - 154’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 154 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (19) ...to here <--[gcc] cc1: note: (20) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: (22) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: valid subscripts for ‘LatinExtB_upper_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_upper_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589933824) - 154’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 154 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: valid subscripts for ‘LatinExtB_upper_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_upper_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: valid subscripts for ‘LatinExtB_upper_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_upper_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: valid subscripts for ‘LatinExtB_upper_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_upper_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: valid subscripts for ‘LatinExtB_upper_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_upper_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:8: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (9) read of 2 bytes at offset ‘code * 2 + 8589933402’ exceeds ‘IPAExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: valid subscripts for ‘IPAExt_upper_mapping’ are ‘[0]’ to ‘[63]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬─────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [63] │ │ │ ├────────────────┴────────────────┴─────────────────┤ │after valid range│ │‘IPAExt_upper_mapping’ (type: ‘const uint16_t[64]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589933402) - 128’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 128 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (22) read of 2 bytes at offset ‘*upper * 2 + 8589933402’ exceeds ‘IPAExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: valid subscripts for ‘IPAExt_upper_mapping’ are ‘[0]’ to ‘[63]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬─────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [63] │ │ │ ├────────────────┴────────────────┴─────────────────┤ │after valid range│ │‘IPAExt_upper_mapping’ (type: ‘const uint16_t[64]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589933402) - 128’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 128 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589933402’ exceeds ‘IPAExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: valid subscripts for ‘IPAExt_upper_mapping’ are ‘[0]’ to ‘[63]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬─────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [63] │ │ │ ├────────────────┴────────────────┴─────────────────┤ │after valid range│ │‘IPAExt_upper_mapping’ (type: ‘const uint16_t[64]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589933402) - 128’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 128 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589933402’ exceeds ‘IPAExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: valid subscripts for ‘IPAExt_upper_mapping’ are ‘[0]’ to ‘[63]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬─────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [63] │ │ │ ├────────────────┴────────────────┴─────────────────┤ │after valid range│ │‘IPAExt_upper_mapping’ (type: ‘const uint16_t[64]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589933402) - 128’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 128 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589933402’ exceeds ‘IPAExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: valid subscripts for ‘IPAExt_upper_mapping’ are ‘[0]’ to ‘[63]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬─────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [63] │ │ │ ├────────────────┴────────────────┴─────────────────┤ │after valid range│ │‘IPAExt_upper_mapping’ (type: ‘const uint16_t[64]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589933402) - 128’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 128 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589933402’ exceeds ‘IPAExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: valid subscripts for ‘IPAExt_upper_mapping’ are ‘[0]’ to ‘[63]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬─────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [63] │ │ │ ├────────────────┴────────────────┴─────────────────┤ │after valid range│ │‘IPAExt_upper_mapping’ (type: ‘const uint16_t[64]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589933402) - 128’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 128 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (9) read of 2 bytes at offset ‘code * 2 + 8589932832’ exceeds ‘Greek_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: valid subscripts for ‘Greek_lower_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_lower_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589932832) - 288’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (20) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: valid subscripts for ‘Greek_lower_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_lower_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589932832) - 288’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: valid subscripts for ‘Greek_lower_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_lower_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: valid subscripts for ‘Greek_lower_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_lower_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: valid subscripts for ‘Greek_lower_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_lower_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: valid subscripts for ‘Greek_lower_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_lower_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: (9) read of 2 bytes at offset ‘code * 2 + 8589932832’ exceeds ‘Greek_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: valid subscripts for ‘Greek_upper_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_upper_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589932832) - 288’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (20) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: valid subscripts for ‘Greek_upper_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_upper_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589932832) - 288’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: valid subscripts for ‘Greek_upper_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_upper_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: valid subscripts for ‘Greek_upper_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_upper_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: valid subscripts for ‘Greek_upper_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_upper_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: valid subscripts for ‘Greek_upper_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_upper_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (9) read of 2 bytes at offset ‘code * 2 + 8589918720’ exceeds ‘GreekExt_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: valid subscripts for ‘GreekExt_lower_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_lower_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589918720) - 512’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 512 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (20) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: valid subscripts for ‘GreekExt_lower_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_lower_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589918720) - 512’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 512 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: valid subscripts for ‘GreekExt_lower_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_lower_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: valid subscripts for ‘GreekExt_lower_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_lower_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: valid subscripts for ‘GreekExt_lower_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_lower_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: valid subscripts for ‘GreekExt_lower_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_lower_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: (9) read of 2 bytes at offset ‘code * 2 + 8589918720’ exceeds ‘GreekExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: valid subscripts for ‘GreekExt_upper_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_upper_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589918720) - 512’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 512 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (20) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: valid subscripts for ‘GreekExt_upper_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_upper_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589918720) - 512’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 512 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: valid subscripts for ‘GreekExt_upper_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_upper_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: valid subscripts for ‘GreekExt_upper_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_upper_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: valid subscripts for ‘GreekExt_upper_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_upper_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: valid subscripts for ‘GreekExt_upper_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_upper_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ [87/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_keymap.c.o -MF compile-keymap.p/src_keymap.c.o.d -o compile-keymap.p/src_keymap.c.o -c ../src/keymap.c [88/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_utf8.c.o -MF compile-keymap.p/src_utf8.c.o.d -o compile-keymap.p/src_utf8.c.o -c ../src/utf8.c [89/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_state.c.o -MF compile-keymap.p/src_state.c.o.d -o compile-keymap.p/src_state.c.o -c ../src/state.c /builddir/build/BUILD/libxkbcommon-1.7.0/src/state.c:1038: warning: objectIndex(CWE-758): The address of local variable 'sym' might be accessed at non-zero index. <--[cppcheck] [90/244] gcc -Ixkbcli-how-to-type.p -I. -I.. -I../tools -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ xkbcli-how-to-type.p/tools_how-to-type.c.o -MF xkbcli-how-to-type.p/tools_how-to-type.c.o.d -o xkbcli-how-to-type.p/tools_how-to-type.c.o -c ../tools/how-to-type.c [91/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_xkbcomp_types.c.o -MF compile-keymap.p/src_xkbcomp_types.c.o.d -o compile-keymap.p/src_xkbcomp_types.c.o -c ../src/xkbcomp/types.c In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:88, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/xkbcomp-priv.h:30, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:29: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddKeyType’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:770:1: note: (1) entry to ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:777:5: note: (2) calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (3) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (4) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddKeyType’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (7) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (9) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (11) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (12) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (15) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (19) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (20) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (21) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddKeyType’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (24) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (26) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (28) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (29) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (32) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (36) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (37) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (38) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (39) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddKeyType’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (41) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (43) following ‘case 6:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:684:9: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:685:18: note: (45) calling ‘HandleKeyTypeDef’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:646:1: note: (46) entry to ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:658:8: note: (47) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:659:10: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:659:10: note: (49) calling ‘AddKeyType’ from ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:144:1: note: (50) entry to ‘AddKeyType’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:149:11: note: (51) inlined call to ‘FindMatchingKeyType’ from ‘AddKeyType’ <--[gcc] In function ‘FindMatchingKeyType’, inlined from ‘AddKeyType’ at ../src/xkbcomp/types.c:149:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (52) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:136:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (53) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:136:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (54) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:136:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddKeyType’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:150:8: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:150:8: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:35: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (58) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (59) inlined call to ‘darray_next_alloc’ from ‘AddKeyType’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:31: <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddKeyType’ at ../src/xkbcomp/types.c:178:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (63) following ‘true’ branch... <--[gcc] In function ‘AddKeyType’: cc1: note: (64) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (65) inlined call to ‘darray_next_alloc’ from ‘AddKeyType’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddKeyType’ at ../src/xkbcomp/types.c:178:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (66) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddKeyType’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (67) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (68) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (69) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (70) dereference of NULL ‘*info.types.item + (long unsigned int)(*info.types.size + 4294967295) * 56’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:770:1: note: (1) entry to ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:777:5: note: (2) calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (3) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (4) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (7) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (9) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (11) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (12) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (15) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (19) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (20) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (21) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (24) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (26) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (28) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (29) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (32) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (36) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (37) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (38) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (39) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (41) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (43) following ‘case 6:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:684:9: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:685:18: note: (45) calling ‘HandleKeyTypeDef’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:646:1: note: (46) entry to ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:648:17: note: (47) ‘type.entries.item’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:658:10: note: (48) calling ‘HandleKeyTypeBody’ from ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:609:1: note: (49) entry to ‘HandleKeyTypeBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:615:12: note: (50) following ‘true’ branch (when ‘def’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:616:43: note: (51) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:618:12: note: (52) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:621:13: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:621:12: note: (54) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:639:14: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:639:14: note: (56) calling ‘SetKeyTypeField’ from ‘HandleKeyTypeBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:576:1: note: (57) entry to ‘SetKeyTypeField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:582:8: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:586:14: note: (59) inlined call to ‘istreq’ from ‘SetKeyTypeField’ <--[gcc] In function ‘istreq’, inlined from ‘SetKeyTypeField’ at ../src/xkbcomp/types.c:586:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:586:13: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:588:14: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:588:14: note: (63) calling ‘SetMapEntry’ from ‘SetKeyTypeField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:353:1: note: (64) entry to ‘SetMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:358:8: note: (65) following ‘false’ branch (when ‘arrayNdx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:361:60: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:361:8: note: (67) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:366:19: note: (68) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:378:8: note: (69) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:385:25: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:387:12: note: (71) calling ‘AddMapEntry’ from ‘SetMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:311:1: note: (72) entry to ‘AddMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:316:11: note: (73) inlined call to ‘FindMatchingMapEntry’ from ‘AddMapEntry’ <--[gcc] In function ‘FindMatchingMapEntry’, inlined from ‘AddMapEntry’ at ../src/xkbcomp/types.c:316:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (74) ‘entry’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:303:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (75) ‘entry’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:303:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (76) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:303:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:317:8: note: (77) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:317:8: note: (78) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:345:12: note: (79) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (80) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (81) inlined call to ‘darray_next_alloc’ from ‘AddMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddMapEntry’ at ../src/xkbcomp/types.c:348:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (83) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (84) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (85) following ‘true’ branch... <--[gcc] In function ‘AddMapEntry’: cc1: note: (86) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (87) inlined call to ‘darray_next_alloc’ from ‘AddMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddMapEntry’ at ../src/xkbcomp/types.c:348:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (88) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (89) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (90) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (91) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (92) dereference of NULL ‘*type.entries.item + (long unsigned int)(*type.entries.size + 4294967295) * 20’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:770:1: note: (1) entry to ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:777:5: note: (2) calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (3) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (4) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (7) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (9) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (11) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (12) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (15) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (19) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (20) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (21) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (24) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (26) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (28) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (29) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (32) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (36) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (37) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (38) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (39) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (41) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (43) following ‘case 6:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:684:9: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:685:18: note: (45) calling ‘HandleKeyTypeDef’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:646:1: note: (46) entry to ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:648:17: note: (47) ‘type.entries.item’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:658:10: note: (48) calling ‘HandleKeyTypeBody’ from ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:609:1: note: (49) entry to ‘HandleKeyTypeBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:615:12: note: (50) following ‘true’ branch (when ‘def’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:616:43: note: (51) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:618:12: note: (52) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:621:13: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:621:12: note: (54) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:639:14: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:639:14: note: (56) calling ‘SetKeyTypeField’ from ‘HandleKeyTypeBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:576:1: note: (57) entry to ‘SetKeyTypeField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:582:8: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:586:14: note: (59) inlined call to ‘istreq’ from ‘SetKeyTypeField’ <--[gcc] In function ‘istreq’, inlined from ‘SetKeyTypeField’ at ../src/xkbcomp/types.c:586:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:586:13: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:590:14: note: (62) inlined call to ‘istreq’ from ‘SetKeyTypeField’ <--[gcc] In function ‘istreq’, inlined from ‘SetKeyTypeField’ at ../src/xkbcomp/types.c:590:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (63) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:590:13: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:592:14: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:592:14: note: (66) calling ‘SetPreserve’ from ‘SetKeyTypeField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:447:1: note: (67) entry to ‘SetPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:452:8: note: (68) following ‘false’ branch (when ‘arrayNdx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:455:60: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:455:8: note: (70) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:459:21: note: (71) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:473:8: note: (72) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:484:25: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:484:8: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:499:12: note: (75) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:499:12: note: (76) calling ‘AddPreserve’ from ‘SetPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:393:1: note: (77) entry to ‘AddPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (78) ‘entry’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:399:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (79) ‘entry’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:399:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (80) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:399:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:35: note: (81) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (82) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (83) inlined call to ‘darray_next_alloc’ from ‘AddPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddPreserve’ at ../src/xkbcomp/types.c:442:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (84) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (85) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (86) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (87) following ‘true’ branch... <--[gcc] In function ‘AddPreserve’: cc1: note: (88) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (89) inlined call to ‘darray_next_alloc’ from ‘AddPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddPreserve’ at ../src/xkbcomp/types.c:442:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (90) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (91) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (92) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (93) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (94) dereference of NULL ‘*type.entries.item + (long unsigned int)(*type.entries.size + 4294967295) * 20’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: use of uninitialized value ‘new.mods.mask’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:770:1: note: (1) entry to ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:777:5: note: (2) calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (3) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (4) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (7) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (9) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (11) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (12) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (15) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (19) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (20) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (21) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (24) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (26) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (28) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (29) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (32) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (36) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (37) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (38) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (39) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (41) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (43) following ‘case 6:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:684:9: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:685:18: note: (45) calling ‘HandleKeyTypeDef’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:646:1: note: (46) entry to ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:658:10: note: (47) calling ‘HandleKeyTypeBody’ from ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:609:1: note: (48) entry to ‘HandleKeyTypeBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:615:12: note: (49) following ‘true’ branch (when ‘def’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:616:43: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:618:12: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:621:13: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:621:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:639:14: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:639:14: note: (55) calling ‘SetKeyTypeField’ from ‘HandleKeyTypeBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:576:1: note: (56) entry to ‘SetKeyTypeField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:582:8: note: (57) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:586:14: note: (58) inlined call to ‘istreq’ from ‘SetKeyTypeField’ <--[gcc] In function ‘istreq’, inlined from ‘SetKeyTypeField’ at ../src/xkbcomp/types.c:586:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:586:13: note: (60) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:590:14: note: (61) inlined call to ‘istreq’ from ‘SetKeyTypeField’ <--[gcc] In function ‘istreq’, inlined from ‘SetKeyTypeField’ at ../src/xkbcomp/types.c:590:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:590:13: note: (63) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:592:14: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:592:14: note: (65) calling ‘SetPreserve’ from ‘SetKeyTypeField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:447:1: note: (66) entry to ‘SetPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:452:8: note: (67) following ‘false’ branch (when ‘arrayNdx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:455:60: note: (68) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:455:8: note: (69) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:459:21: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:473:8: note: (71) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:484:25: note: (72) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:484:8: note: (73) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:499:12: note: (74) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:499:12: note: (75) calling ‘AddPreserve’ from ‘SetPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:393:1: note: (76) entry to ‘AddPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:397:31: note: (77) region created on stack here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:397:31: note: (78) capacity: 4 bytes <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (79) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:399:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:35: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (81) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (82) inlined call to ‘darray_next_alloc’ from ‘AddPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddPreserve’ at ../src/xkbcomp/types.c:442:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (84) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (85) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (86) following ‘true’ branch... <--[gcc] In function ‘AddPreserve’: cc1: note: (87) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (88) inlined call to ‘darray_next_alloc’ from ‘AddPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddPreserve’ at ../src/xkbcomp/types.c:442:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (89) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (90) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (91) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (92) use of uninitialized value ‘new.mods.mask’ here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] [92/244] gcc -Ixkbcli-interactive-evdev.p -I. -I.. -I../tools -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ xkbcli-interactive-evdev.p/tools_interactive-evdev.c.o -MF xkbcli-interactive-evdev.p/tools_interactive-evdev.c.o.d -o xkbcli-interactive-evdev.p/tools_interactive-evdev.c.o -c ../tools/interactive-evdev.c [93/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/tools_interactive-evdev.c.o -MF interactive-evdev.p/tools_interactive-evdev.c.o.d -o interactive-evdev.p/tools_interactive-evdev.c.o -c ../tools/interactive-evdev.c [94/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_compose_parser.c.o -MF interactive-evdev.p/src_compose_parser.c.o.d -o interactive-evdev.p/src_compose_parser.c.o -c ../src/compose/parser.c [95/244] gcc -o xkbcli-how-to-type xkbcli-how-to-type.p/tools_how-to-type.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [96/244] gcc -Ixkbcli-compile-compose.p -I. -I.. -I../tools -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ xkbcli-compile-compose.p/tools_compile-compose.c.o -MF xkbcli-compile-compose.p/tools_compile-compose.c.o.d -o xkbcli-compile-compose.p/tools_compile-compose.c.o -c ../tools/compile-compose.c In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:33: <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:33: <--[clang] cswrap: warning: 2024-04-22 11:11:16 still trying to lock /cswrap_cap_file_lock cswrap: warning: 2024-04-22 11:11:17 still trying to lock /cswrap_cap_file_lock cswrap: warning: 2024-04-22 11:11:30 still trying to lock /cswrap_cap_file_lock cswrap: warning: 2024-04-22 11:11:31 still trying to lock /cswrap_cap_file_lock cswrap: warning: cswrap: warning: 2024-04-22 11:11:46 still trying to lock /cswrap_cap_file_lock2024-04-22 11:11:46 still trying to lock /cswrap_cap_file_lock cswrap: warning: cswrap: warning: 2024-04-22 11:12:00 still trying to lock /cswrap_cap_file_lock2024-04-22 11:12:00 still trying to lock /cswrap_cap_file_lock cswrap: warning: cswrap: warning: 2024-04-22 11:12:14 still trying to lock /cswrap_cap_file_lock2024-04-22 11:12:14 still trying to lock /cswrap_cap_file_lock cswrap: warning: cswrap: warning: 2024-04-22 11:12:28 still trying to lock /cswrap_cap_file_lock2024-04-22 11:12:28 still trying to lock /cswrap_cap_file_lock /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/dump.h: In function ‘escape_utf8_string_literal’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/dump.h:92:12: warning: leak of ‘to’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:91:1: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:141:8: note: (2) following ‘false’ branch (when ‘locale’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:147:11: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:148:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:153:8: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:153:8: note: (6) following ‘false’ branch (when ‘path’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:169:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:171:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:178:47: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:180:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:181:14: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:181:14: note: (12) calling ‘print_compose_table_entry’ from ‘main’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:57:1: note: (13) entry to ‘print_compose_table_entry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:71:8: note: (14) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:72:25: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:72:25: note: (16) calling ‘escape_utf8_string_literal’ from ‘print_compose_table_entry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/dump.h:44:1: note: (17) entry to ‘escape_utf8_string_literal’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/dump.h:48:16: note: (18) allocated here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/dump.h:49:8: note: (19) assuming ‘to’ is non-NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/dump.h:49:8: note: (20) following ‘false’ branch (when ‘to’ is non-NULL)... <--[gcc] cc1: note: (21) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/dump.h:92:12: note: (22) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/dump.h:92:12: note: (23) ‘to’ leaks here; was allocated at (18) <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/dump.h:48:16: warning: Result of 'calloc' is converted to a pointer of type 'char', which is incompatible with sizeof operand type 'char *' [unix.MallocSizeof] <--[clang] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/compile-compose.c:74:13: warning: Potential memory leak [unix.Malloc] <--[clang] [97/244] gcc -Icompile-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ compile-keymap.p/src_xkbcomp_symbols.c.o -MF compile-keymap.p/src_xkbcomp_symbols.c.o.d -o compile-keymap.p/src_xkbcomp_symbols.c.o -c ../src/xkbcomp/symbols.c /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1534: error: nullPointer(CWE-476): Null pointer dereference: (unsigned int*)(NULL) <--[cppcheck] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:88, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/xkbcomp-priv.h:30, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:56: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:29: <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 9:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1262:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1263:18: note: (57) calling ‘HandleSymbolsDef’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1163:1: note: (58) entry to ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:106:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:112:5: note: in expansion of macro ‘darray_from_items’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1169:5: note: in expansion of macro ‘darray_copy’ <--[gcc] cc1: note: (60) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1170:38: note: (61) following ‘false’ branch (when ‘i >= __count’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1173:22: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:10: note: (63) calling ‘HandleSymbolsBody’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1090:1: note: (64) entry to ‘HandleSymbolsBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1096:12: note: (65) following ‘false’ branch (when ‘def’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1122:12: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:10: note: (67) returning to ‘HandleSymbolsDef’ from ‘HandleSymbolsBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:8: note: (68) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (70) calling ‘SetExplicitGroup’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1126:1: note: (71) entry to ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1132:8: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:210:32: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:211:16: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1143:8: note: (75) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1143:8: note: (76) following ‘false’ branch (when ‘warn == 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:14: note: (77) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (78) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (79) inlined call to ‘darray_next_alloc’ from ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:31: <--[gcc] In function ‘darray_next_alloc’, inlined from ‘SetExplicitGroup’ at ../src/xkbcomp/symbols.c:1152:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (81) following ‘false’ branch (when ‘__newSize <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (83) following ‘true’ branch... <--[gcc] In function ‘AddKeySymbols’: cc1: note: (84) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (85) inlined call to ‘darray_next_alloc’ from ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘SetExplicitGroup’ at ../src/xkbcomp/symbols.c:1152:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (86) following ‘false’ branch (when ‘__newSize <= alloc’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (88) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1153:8: note: (89) following ‘false’ branch... <--[gcc] cc1: note: (90) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (91) returning to ‘HandleSymbolsDef’ from ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1186:10: note: (92) calling ‘AddKeySymbols’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:436:1: note: (93) entry to ‘AddKeySymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (94) ‘iter’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:451:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (95) ‘iter’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:451:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (96) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:451:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:35: note: (97) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (98) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (99) inlined call to ‘darray_next_alloc’ from ‘AddKeySymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddKeySymbols’ at ../src/xkbcomp/symbols.c:455:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (100) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (101) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (102) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (103) following ‘true’ branch... <--[gcc] In function ‘AddKeySymbols’: cc1: note: (104) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (105) inlined call to ‘darray_next_alloc’ from ‘AddKeySymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddKeySymbols’ at ../src/xkbcomp/symbols.c:455:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (106) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (107) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (108) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (109) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (110) dereference of NULL ‘*info.keys.item + (long unsigned int)(*info.keys.size + 4294967295) * 56’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 10:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1271:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1272:18: note: (57) calling ‘HandleModMapDef’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1195:1: note: (58) entry to ‘HandleModMapDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1203:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1220:18: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1223:36: note: (61) following ‘true’ branch (when ‘key’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1226:40: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1226:12: note: (63) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1228:28: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1244:14: note: (65) calling ‘AddModMapEntry’ from ‘HandleModMapDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:461:1: note: (66) entry to ‘AddModMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (67) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:466:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (68) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:466:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (69) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:466:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:35: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (71) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (72) inlined call to ‘darray_next_alloc’ from ‘AddModMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddModMapEntry’ at ../src/xkbcomp/symbols.c:501:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (75) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (76) following ‘true’ branch... <--[gcc] In function ‘AddModMapEntry’: cc1: note: (77) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (78) inlined call to ‘darray_next_alloc’ from ‘AddModMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddModMapEntry’ at ../src/xkbcomp/symbols.c:501:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (79) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (81) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (82) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (83) dereference of NULL ‘*info.modmaps.item + (long unsigned int)(*info.modmaps.size + 4294967295) * 16’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1265:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1266:18: note: (57) calling ‘HandleGlobalVar’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1036:1: note: (58) entry to ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1042:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:9: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:8: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:17: note: (62) inlined call to ‘istreq’ from ‘HandleGlobalVar’ <--[gcc] In function ‘istreq’, inlined from ‘HandleGlobalVar’ at ../src/xkbcomp/symbols.c:1045:17: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (63) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:14: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (66) calling ‘SetSymbolsField’ from ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:820:1: note: (67) entry to ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:823:8: note: (68) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:14: note: (69) inlined call to ‘istreq’ from ‘SetSymbolsField’ <--[gcc] In function ‘istreq’, inlined from ‘SetSymbolsField’ at ../src/xkbcomp/symbols.c:854:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:13: note: (71) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:855:16: note: (72) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:855:16: note: (73) calling ‘AddSymbolsToKey’ from ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:678:1: note: (74) entry to ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:685:10: note: (75) calling ‘GetGroupIndex’ from ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:630:1: note: (76) entry to ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:633:17: note: (77) following ‘true’ branch (when ‘what == 1’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (79) following ‘true’ branch (when ‘arrayNdx’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:639:52: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:639:52: note: (81) following ‘true’ branch (when ‘what == 1’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:205:27: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:641:9: note: in expansion of macro ‘darray_enumerate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:205:27: note: (83) ‘groupi’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:641:9: note: in expansion of macro ‘darray_enumerate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:206:16: note: (84) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:641:9: note: in expansion of macro ‘darray_enumerate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:648:12: note: (85) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:648:12: note: (86) following ‘false’ branch (when ‘i <= 3’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:38: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (88) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (89) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:657:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (90) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (91) following ‘false’ branch (when ‘__newSize <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (92) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (93) following ‘true’ branch... <--[gcc] In function ‘GetGroupIndex’: cc1: note: (94) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (95) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:657:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (96) following ‘false’ branch (when ‘__newSize <= alloc’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (97) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (98) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (99) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (100) argument 1 (‘*keyi.groups.item + (long unsigned int)*keyi.groups.size * 32’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1265:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1266:18: note: (57) calling ‘HandleGlobalVar’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1036:1: note: (58) entry to ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1042:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:9: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:8: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:17: note: (62) inlined call to ‘istreq’ from ‘HandleGlobalVar’ <--[gcc] In function ‘istreq’, inlined from ‘HandleGlobalVar’ at ../src/xkbcomp/symbols.c:1045:17: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (63) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:14: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (66) calling ‘SetSymbolsField’ from ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:820:1: note: (67) entry to ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:823:8: note: (68) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:14: note: (69) inlined call to ‘istreq’ from ‘SetSymbolsField’ <--[gcc] In function ‘istreq’, inlined from ‘SetSymbolsField’ at ../src/xkbcomp/symbols.c:854:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:13: note: (71) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:855:16: note: (72) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:855:16: note: (73) calling ‘AddSymbolsToKey’ from ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:678:1: note: (74) entry to ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:685:10: note: (75) calling ‘GetGroupIndex’ from ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:630:1: note: (76) entry to ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:633:17: note: (77) following ‘true’ branch (when ‘what == 1’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (79) following ‘false’ branch (when ‘arrayNdx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:662:10: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:662:8: note: (81) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:670:6: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:671:8: note: (83) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:158:16: note: (84) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (85) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (86) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:672:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (88) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (89) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (90) following ‘true’ branch... <--[gcc] In function ‘GetGroupIndex’: cc1: note: (91) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:31: note: (92) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (93) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (94) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (95) argument 1 (‘*keyi.groups.item + (long unsigned int)*keyi.groups.size * 32’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c <--[gcc] :871:44: warning: Dereference of null pointer [core.NullDereference] <--[clang] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1265:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1266:18: note: (57) calling ‘HandleGlobalVar’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1036:1: note: (58) entry to ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1042:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:9: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:8: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:17: note: (62) inlined call to ‘istreq’ from ‘HandleGlobalVar’ <--[gcc] In function ‘istreq’, inlined from ‘HandleGlobalVar’ at ../src/xkbcomp/symbols.c:1045:17: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (63) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:14: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (66) calling ‘SetSymbolsField’ from ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:820:1: note: (67) entry to ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:823:8: note: (68) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:14: note: (69) inlined call to ‘istreq’ from ‘SetSymbolsField’ <--[gcc] In function ‘istreq’, inlined from ‘SetSymbolsField’ at ../src/xkbcomp/symbols.c:854:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:13: note: (71) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:855:16: note: (72) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:855:16: note: (73) calling ‘AddSymbolsToKey’ from ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:678:1: note: (74) entry to ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:685:10: note: (75) calling ‘GetGroupIndex’ from ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:630:1: note: (76) entry to ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:633:17: note: (77) following ‘true’ branch (when ‘what == 1’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (79) following ‘true’ branch (when ‘arrayNdx’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:639:52: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:639:52: note: (81) following ‘true’ branch (when ‘what == 1’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:205:27: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:641:9: note: in expansion of macro ‘darray_enumerate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:206:16: note: (83) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:641:9: note: in expansion of macro ‘darray_enumerate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:648:12: note: (84) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:648:12: note: (85) following ‘false’ branch (when ‘i <= 3’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:38: note: (86) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (87) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (88) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:657:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (89) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (90) following ‘false’ branch (when ‘__newSize <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (91) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (92) following ‘true’ branch... <--[gcc] In function ‘AddSymbolsToKey’: cc1: note: (93) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (94) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:657:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (95) following ‘false’ branch (when ‘__newSize <= alloc’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (96) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (97) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:685:10: note: (98) returning to ‘AddSymbolsToKey’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:685:8: note: (99) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:85:39: note: (100) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:688:15: note: in expansion of macro ‘darray_item’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:690:8: note: (101) following ‘false’ branch (when ‘value’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:695:20: note: (102) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:695:8: note: (103) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:705:15: note: (104) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:705:8: note: (105) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:714:13: note: (106) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:715:8: note: (107) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:158:16: note: (108) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (109) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (110) inlined call to ‘darray_next_alloc’ from ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddSymbolsToKey’ at ../src/xkbcomp/symbols.c:716:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (111) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (112) following ‘false’ branch (when ‘nLevels <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (113) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (114) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (115) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (116) argument 1 (‘*groupi.levels.item + (long unsigned int)*groupi.levels.size * 32’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1265:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1266:18: note: (57) calling ‘HandleGlobalVar’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1036:1: note: (58) entry to ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1042:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:9: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:8: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:17: note: (62) inlined call to ‘istreq’ from ‘HandleGlobalVar’ <--[gcc] In function ‘istreq’, inlined from ‘HandleGlobalVar’ at ../src/xkbcomp/symbols.c:1045:17: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (63) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:14: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (66) calling ‘SetSymbolsField’ from ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:820:1: note: (67) entry to ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:823:8: note: (68) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:14: note: (69) inlined call to ‘istreq’ from ‘SetSymbolsField’ <--[gcc] In function ‘istreq’, inlined from ‘SetSymbolsField’ at ../src/xkbcomp/symbols.c:854:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:13: note: (71) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:857:14: note: (72) inlined call to ‘istreq’ from ‘SetSymbolsField’ <--[gcc] In function ‘istreq’, inlined from ‘SetSymbolsField’ at ../src/xkbcomp/symbols.c:857:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:857:13: note: (74) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:858:16: note: (75) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:858:16: note: (76) calling ‘AddActionsToKey’ from ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:749:1: note: (77) entry to ‘AddActionsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:757:10: note: (78) calling ‘GetGroupIndex’ from ‘AddActionsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:630:1: note: (79) entry to ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:633:17: note: (80) following ‘false’ branch (when ‘what != 1’)... <--[gcc] cc1: note: (81) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (82) following ‘true’ branch (when ‘arrayNdx’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:639:52: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:639:52: note: (84) following ‘false’ branch (when ‘what != 1’)... <--[gcc] cc1: note: (85) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:206:16: note: (86) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:641:9: note: in expansion of macro ‘darray_enumerate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:648:12: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:648:12: note: (88) following ‘false’ branch (when ‘i <= 3’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:38: note: (89) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (90) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (91) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:657:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (92) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (93) following ‘false’ branch (when ‘__newSize <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (94) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (95) following ‘true’ branch... <--[gcc] In function ‘AddActionsToKey’: cc1: note: (96) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (97) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:657:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (98) following ‘false’ branch (when ‘__newSize <= alloc’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (99) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (100) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:757:10: note: (101) returning to ‘AddActionsToKey’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:757:8: note: (102) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:85:39: note: (103) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:760:15: note: in expansion of macro ‘darray_item’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:762:8: note: (104) following ‘false’ branch (when ‘value’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:767:20: note: (105) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:767:8: note: (106) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:775:15: note: (107) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:775:8: note: (108) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:783:14: note: (109) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:786:8: note: (110) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:158:16: note: (111) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (112) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (113) inlined call to ‘darray_next_alloc’ from ‘AddActionsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddActionsToKey’ at ../src/xkbcomp/symbols.c:787:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (114) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (115) following ‘false’ branch (when ‘nActs <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (116) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (117) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (118) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (119) argument 1 (‘*groupi.levels.item + (long unsigned int)*groupi.levels.size * 32’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1265:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1266:18: note: (57) calling ‘HandleGlobalVar’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1036:1: note: (58) entry to ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1042:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:9: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:8: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:17: note: (62) inlined call to ‘istreq’ from ‘HandleGlobalVar’ <--[gcc] In function ‘istreq’, inlined from ‘HandleGlobalVar’ at ../src/xkbcomp/symbols.c:1045:17: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (63) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:14: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (66) calling ‘SetSymbolsField’ from ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:820:1: note: (67) entry to ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:823:8: note: (68) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:827:14: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:827:12: note: (70) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:835:12: note: (71) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:835:12: note: (72) following ‘false’ branch (when ‘arrayNdx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:839:19: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:839:17: note: (74) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:847:16: note: (75) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:848:16: note: (76) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:158:16: note: (77) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (78) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (79) inlined call to ‘darray_next_alloc’ from ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘SetSymbolsField’ at ../src/xkbcomp/symbols.c:849:17: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (81) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (83) following ‘true’ branch... <--[gcc] In function ‘SetSymbolsField’: cc1: note: (84) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:31: note: (85) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (86) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (87) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (88) argument 1 (‘*keyi.groups.item + (long unsigned int)*keyi.groups.size * 32’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetGroupName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetGroupName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetGroupName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch...2024-04-22 11:11:22 still trying to lock /cswrap_cap_file_lock/builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c :612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetGroupName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetGroupName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetGroupName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1265:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1266:18: note: (57) calling ‘HandleGlobalVar’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1036:1: note: (58) entry to ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1042:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:9: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1049:13: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1051:15: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1051:15: note: (63) calling ‘SetGroupName’ from ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:983:1: note: (64) entry to ‘SetGroupName’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:988:8: note: (65) following ‘false’ branch (when ‘arrayNdx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:996:10: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:996:8: note: (67) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1003:10: note: (68) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1003:8: note: (69) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1011:13: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1011:8: note: (71) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1014:24: note: (72) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1014:13: note: (73) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:86:39: note: (74) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1028:25: note: in expansion of macro ‘darray_size’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1028:8: note: (75) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:38: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (77) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:23: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (79) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:162:27: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:22: note: (81) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (82) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (83) argument 1 (‘*info.group_names.item + (long unsigned int)*info.group_names.size * 4’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 9:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1262:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1263:18: note: (57) calling ‘HandleSymbolsDef’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1163:1: note: (58) entry to ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:106:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:112:5: note: in expansion of macro ‘darray_from_items’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1169:5: note: in expansion of macro ‘darray_copy’ <--[gcc] cc1: note: (60) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1170:38: note: (61) following ‘false’ branch (when ‘i >= __count’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1173:22: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:10: note: (63) calling ‘HandleSymbolsBody’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1090:1: note: (64) entry to ‘HandleSymbolsBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1096:12: note: (65) following ‘false’ branch (when ‘def’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1122:12: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:10: note: (67) returning to ‘HandleSymbolsDef’ from ‘HandleSymbolsBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:8: note: (68) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (70) calling ‘SetExplicitGroup’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1126:1: note: (71) entry to ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1132:8: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:210:32: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:210:32: note: (74) ‘groupi’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:211:16: note: (75) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1143:8: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1143:8: note: (77) following ‘false’ branch (when ‘warn == 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:14: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (79) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (80) inlined call to ‘darray_next_alloc’ from ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘SetExplicitGroup’ at ../src/xkbcomp/symbols.c:1152:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (81) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (82) following ‘false’ branch (when ‘__newSize <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (84) following ‘true’ branch... <--[gcc] In function ‘SetExplicitGroup’: cc1: note: (85) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (86) inlined call to ‘darray_next_alloc’ from ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘SetExplicitGroup’ at ../src/xkbcomp/symbols.c:1152:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (87) following ‘false’ branch (when ‘__newSize <= alloc’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (88) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:31: note: (89) ‘keyi.groups.item’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (90) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (91) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (92) argument 1 (‘*keyi.groups.item + (long unsigned int)__oldSize * 32’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1154:57: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 9:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1262:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1263:18: note: (57) calling ‘HandleSymbolsDef’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1163:1: note: (58) entry to ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:106:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:112:5: note: in expansion of macro ‘darray_from_items’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1169:5: note: in expansion of macro ‘darray_copy’ <--[gcc] cc1: note: (60) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1170:38: note: (61) following ‘false’ branch (when ‘i >= __count’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1173:22: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:10: note: (63) calling ‘HandleSymbolsBody’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1090:1: note: (64) entry to ‘HandleSymbolsBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1096:12: note: (65) following ‘false’ branch (when ‘def’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1122:12: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:10: note: (67) returning to ‘HandleSymbolsDef’ from ‘HandleSymbolsBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:8: note: (68) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (70) calling ‘SetExplicitGroup’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1126:1: note: (71) entry to ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1132:8: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:210:32: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:210:32: note: (74) ‘groupi’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:211:16: note: (75) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1143:8: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1143:8: note: (77) following ‘false’ branch (when ‘warn == 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:14: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (79) following ‘false’ branch (when ‘__oldSize >= __newSize’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1153:13: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1153:8: note: (81) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:85:39: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1155:13: note: in expansion of macro ‘darray_item’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:85:39: note: (83) ‘keyi.groups.item’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1155:13: note: in expansion of macro ‘darray_item’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1154:57: note: (84) dereference of NULL ‘*keyi.groups.item’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1030:50: warning: Array access (via field 'item') results in a null pointer dereference [core.NullDereference] <--[clang] [98/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/meson-generated_parser.c.o -MF interactive-evdev.p/meson-generated_parser.c.o.d -o interactive-evdev.p/meson-generated_parser.c.o -c interactive-evdev.p/parser.c /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c: In function ‘_xkbcommon_parse’: <--[gcc] cswrap: warning: 2024-04-22 11:11:24 still trying to lock /cswrap_cap_file_lock cswrap: warning: 2024-04-22 11:11:52 still trying to lock /cswrap_cap_file_lock cswrap: warning: 2024-04-22 11:12:06 still trying to lock /cswrap_cap_file_lock cswrap: warning: 2024-04-22 11:12:20 still trying to lock /cswrap_cap_file_lock cswrap: warning: 2024-04-22 11:12:34 still trying to lock /cswrap_cap_file_lock /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:605:7: warning: use of uninitialized value ‘yyss’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:590:9: note: in expansion of macro ‘YYCOPY’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1698:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/parser.y:810:1: note: (1) entry to ‘parse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:68:25: note: (2) calling ‘_xkbcommon_parse’ from ‘parse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/parser.y:829:19: note: in expansion of macro ‘yyparse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:68:25: note: (3) entry to ‘_xkbcommon_parse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1577:1: note: in expansion of macro ‘yyparse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1603:16: note: (4) region created on stack here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1603:16: note: (5) capacity: 400 bytes <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1656:6: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1662:34: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1685:10: note: (8) following ‘false’ branch (when ‘yystacksize <= 9999’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1687:19: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1696:12: note: (10) following ‘false’ branch (when ‘yyptr’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:590:17: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:605:25: note: in definition of macro ‘YYCOPY’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1698:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:605:7: note: (12) use of uninitialized value ‘yyss’ here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:590:9: note: in expansion of macro ‘YYCOPY’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1698:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1825:9: warning: use of uninitialized value ‘*<unknown>’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/parser.y:810:1: note: (1) entry to ‘parse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:68:25: note: (2) calling ‘_xkbcommon_parse’ from ‘parse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/parser.y:829:19: note: in expansion of macro ‘yyparse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:68:25: note: (3) entry to ‘_xkbcommon_parse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1577:1: note: in expansion of macro ‘yyparse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1608:13: note: (4) region created on stack here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1656:6: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1720:6: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1720:6: note: (7) following ‘false’ branch (when ‘yystate != 16’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1723:3: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1735:6: note: (9) following ‘false’ branch (when ‘yyn != -182’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1741:6: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1741:6: note: (11) following ‘true’ branch (when ‘yychar == -2’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:69:25: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1744:16: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1753:11: note: (13) following ‘false’ branch (when ‘yychar != 256’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:640:15: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1765:17: note: in expansion of macro ‘YYTRANSLATE’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1805:6: note: (15) following ‘false’ branch (when ‘yyn != 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1807:3: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/interactive-evdev.p/parser.c:1825:9: note: (17) use of uninitialized value ‘*<unknown>’ here <--[gcc] [99/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_compose_paths.c.o -MF interactive-evdev.p/src_compose_paths.c.o.d -o interactive-evdev.p/src_compose_paths.c.o -c ../src/compose/paths.c [100/244] gcc -o xkbcli-interactive-evdev xkbcli-interactive-evdev.p/tools_interactive-evdev.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [101/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_compose_state.c.o -MF interactive-evdev.p/src_compose_state.c.o.d -o interactive-evdev.p/src_compose_state.c.o -c ../src/compose/state.c [102/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_xkbcomp_action.c.o -MF interactive-evdev.p/src_xkbcomp_action.c.o.d -o interactive-evdev.p/src_xkbcomp_action.c.o -c ../src/xkbcomp/action.c [103/244] gcc -o xkbcli-compile-compose xkbcli-compile-compose.p/tools_compile-compose.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [104/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_compose_table.c.o -MF interactive-evdev.p/src_compose_table.c.o.d -o interactive-evdev.p/src_compose_table.c.o -c ../src/compose/table.c /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:66: error: uninitStructMember(CWE-457): Uninitialized struct member: dummy.lokid <--[cppcheck] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:66: error: uninitStructMember(CWE-457): Uninitialized struct member: dummy.hikid <--[cppcheck] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:26: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c: In function ‘xkb_compose_table_new’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of possibly-NULL ‘*table.nodes.item’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:66:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:43:8: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:46:13: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:47:8: note: (3) following ‘false’ branch (when ‘table’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:52:19: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (5) this call could return NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:66:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (6) ‘*table.nodes.item’ could be NULL: unchecked value from (5) <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:66:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of possibly-NULL ‘*table.utf8.item’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:68:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:43:8: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:46:13: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:47:8: note: (3) following ‘false’ branch (when ‘table’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:52:19: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (5) this call could return NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:68:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (6) ‘*table.utf8.item’ could be NULL: unchecked value from (5) <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:68:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c: In function ‘xkb_compose_table_iterator_new’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of possibly-NULL ‘*iter.cursors.item’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:293:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:267:1: note: (1) entry to ‘xkb_compose_table_iterator_new’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:273:8: note: (2) following ‘false’ branch (when ‘iter’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:276:19: note: (3) inlined call to ‘xkb_compose_table_ref’ from ‘xkb_compose_table_iterator_new’ <--[gcc] In function ‘xkb_compose_table_ref’, inlined from ‘xkb_compose_table_iterator_new’ at ../src/compose/table.c:276:19: /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:76:10: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c: In function ‘xkb_compose_table_iterator_new’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:278:8: note: (5) following ‘false’ branch (when ‘sequence’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:282:26: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:287:8: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:38: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:293:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (9) this call could return NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:293:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (10) ‘*iter.cursors.item’ could be NULL: unchecked value from (9) <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:293:9: note: in expansion of macro ‘darray_append’ <--[gcc] [105/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_xkbcomp_include.c.o -MF interactive-evdev.p/src_xkbcomp_include.c.o.d -o interactive-evdev.p/src_xkbcomp_include.c.o -c ../src/xkbcomp/include.c [106/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_xkbcomp_keywords.c.o -MF interactive-evdev.p/src_xkbcomp_keywords.c.o.d -o interactive-evdev.p/src_xkbcomp_keywords.c.o -c ../src/xkbcomp/keywords.c [107/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_xkbcomp_expr.c.o -MF interactive-evdev.p/src_xkbcomp_expr.c.o.d -o interactive-evdev.p/src_xkbcomp_expr.c.o -c ../src/xkbcomp/expr.c [108/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_xkbcomp_keymap.c.o -MF interactive-evdev.p/src_xkbcomp_keymap.c.o.d -o interactive-evdev.p/src_xkbcomp_keymap.c.o -c ../src/xkbcomp/keymap.c [109/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_xkbcomp_keycodes.c.o -MF interactive-evdev.p/src_xkbcomp_keycodes.c.o.d -o interactive-evdev.p/src_xkbcomp_keycodes.c.o -c ../src/xkbcomp/keycodes.c In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:88, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/xkbcomp-priv.h:30, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:29: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘AddKeyName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:668:1: note: (1) entry to ‘CompileKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:675:5: note: (2) calling ‘HandleKeycodesFile’ from ‘CompileKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:498:1: note: (3) entry to ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:18: note: (4) inlined call to ‘strdup_safe’ from ‘HandleKeycodesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeycodesFile’ at ../src/xkbcomp/keycodes.c:503:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘AddKeyName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:505:42: note: (7) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:9: note: (9) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:507:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:508:18: note: (11) calling ‘HandleIncludeKeycodes’ from ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:341:1: note: (12) entry to ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:345:8: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:350:5: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:353:39: note: (15) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:357:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:358:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:364:53: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:366:9: note: (19) calling ‘HandleKeycodesFile’ from ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:498:1: note: (20) entry to ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:18: note: (21) inlined call to ‘strdup_safe’ from ‘HandleKeycodesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeycodesFile’ at ../src/xkbcomp/keycodes.c:503:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘AddKeyName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:505:42: note: (24) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:9: note: (26) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:507:9: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:508:18: note: (28) calling ‘HandleIncludeKeycodes’ from ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:341:1: note: (29) entry to ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:345:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:350:5: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:353:39: note: (32) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:357:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:358:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:364:53: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:366:9: note: (36) calling ‘HandleKeycodesFile’ from ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:498:1: note: (37) entry to ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:18: note: (38) inlined call to ‘strdup_safe’ from ‘HandleKeycodesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeycodesFile’ at ../src/xkbcomp/keycodes.c:503:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘AddKeyName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:505:42: note: (41) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:21: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:9: note: (43) following ‘case 2:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:510:9: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:511:18: note: (45) calling ‘HandleKeycodeDef’ from ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:381:1: note: (46) entry to ‘HandleKeycodeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:390:8: note: (47) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:397:12: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:397:12: note: (49) calling ‘AddKeyName’ from ‘HandleKeycodeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:185:1: note: (50) entry to ‘AddKeyName’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:192:21: note: (51) following ‘true’ branch (when ‘report != 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:192:49: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:192:21: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:192:54: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:194:8: note: (55) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:38: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (57) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:23: note: (58) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:162:27: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:22: note: (61) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (62) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (63) argument 1 (‘*info.key_names.item + (long unsigned int)*info.key_names.size * 4’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘HandleAliasDef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:668:1: note: (1) entry to ‘CompileKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:675:5: note: (2) calling ‘HandleKeycodesFile’ from ‘CompileKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:498:1: note: (3) entry to ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:18: note: (4) inlined call to ‘strdup_safe’ from ‘HandleKeycodesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeycodesFile’ at ../src/xkbcomp/keycodes.c:503:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘HandleAliasDef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:505:42: note: (7) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:9: note: (9) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:507:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:508:18: note: (11) calling ‘HandleIncludeKeycodes’ from ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:341:1: note: (12) entry to ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:345:8: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:350:5: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:353:39: note: (15) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:357:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:358:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:364:53: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:366:9: note: (19) calling ‘HandleKeycodesFile’ from ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:498:1: note: (20) entry to ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:18: note: (21) inlined call to ‘strdup_safe’ from ‘HandleKeycodesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeycodesFile’ at ../src/xkbcomp/keycodes.c:503:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘HandleAliasDef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:505:42: note: (24) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:9: note: (26) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:507:9: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:508:18: note: (28) calling ‘HandleIncludeKeycodes’ from ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:341:1: note: (29) entry to ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:345:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:350:5: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:353:39: note: (32) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:357:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:358:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:364:53: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:366:9: note: (36) calling ‘HandleKeycodesFile’ from ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:498:1: note: (37) entry to ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:18: note: (38) inlined call to ‘strdup_safe’ from ‘HandleKeycodesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeycodesFile’ at ../src/xkbcomp/keycodes.c:503:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘HandleAliasDef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:505:42: note: (41) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:21: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:9: note: (43) following ‘case 3:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:513:9: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:514:18: note: (45) calling ‘HandleAliasDef’ from ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:402:1: note: (46) entry to ‘HandleAliasDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (47) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:406:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (48) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:406:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:406:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:438:5: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (52) inlined call to ‘darray_next_alloc’ from ‘HandleAliasDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:31: <--[gcc] In function ‘darray_next_alloc’, inlined from ‘HandleAliasDef’ at ../src/xkbcomp/keycodes.c:439:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (54) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (56) following ‘true’ branch... <--[gcc] In function ‘HandleAliasDef’: cc1: note: (57) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (58) inlined call to ‘darray_next_alloc’ from ‘HandleAliasDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘HandleAliasDef’ at ../src/xkbcomp/keycodes.c:439:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘HandleAliasDef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (61) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (62) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (63) dereference of NULL ‘*info.aliases.item + (long unsigned int)(*info.aliases.size + 4294967295) * 12’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] [110/244] gcc -o compile-keymap compile-keymap.p/meson-generated_parser.c.o compile-keymap.p/tools_compile-keymap.c.o compile-keymap.p/src_compose_parser.c.o compile-keymap.p/src_compose_paths.c.o compile-keymap.p/src_compose_state.c.o compile-keymap.p/src_compose_table.c.o compile-keymap.p/src_xkbcomp_action.c.o compile-keymap.p/src_xkbcomp_ast-build.c.o compile-keymap.p/src_xkbcomp_compat.c.o compile-keymap.p/src_xkbcomp_expr.c.o compile-keymap.p/src_xkbcomp_include.c.o compile-keymap.p/src_xkbcomp_keycodes.c.o compile-keymap.p/src_xkbcomp_keymap.c.o compile-keymap.p/src_xkbcomp_keymap-dump.c.o compile-keymap.p/src_xkbcomp_keywords.c.o compile-keymap.p/src_xkbcomp_rules.c.o compile-keymap.p/src_xkbcomp_scanner.c.o compile-keymap.p/src_xkbcomp_symbols.c.o compile-keymap.p/src_xkbcomp_types.c.o compile-keymap.p/src_xkbcomp_vmod.c.o compile-keymap.p/src_xkbcomp_xkbcomp.c.o compile-keymap.p/src_atom.c.o compile-keymap.p/src_context.c.o compile-keymap.p/src_context-priv.c.o compile-keymap.p/src_keysym.c.o compile-keymap.p/src_keysym-utf.c.o compile-keymap.p/src_keymap.c.o compile-keymap.p/src_keymap-priv.c.o compile-keymap.p/src_state.c.o compile-keymap.p/src_text.c.o compile-keymap.p/src_utf8.c.o compile-keymap.p/src_utils.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [111/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_xkbcomp_vmod.c.o -MF interactive-evdev.p/src_xkbcomp_vmod.c.o.d -o interactive-evdev.p/src_xkbcomp_vmod.c.o -c ../src/xkbcomp/vmod.c [112/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_xkbcomp_compat.c.o -MF interactive-evdev.p/src_xkbcomp_compat.c.o.d -o interactive-evdev.p/src_xkbcomp_compat.c.o -c ../src/xkbcomp/compat.c In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:88, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/xkbcomp-priv.h:30, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:52: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c: In function ‘AddInterp’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:916:1: note: (1) entry to ‘CompileCompatMap’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:923:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:926:52: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:930:5: note: (4) calling ‘HandleCompatMapFile’ from ‘CompileCompatMap’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:763:1: note: (5) entry to ‘HandleCompatMapFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:770:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleCompatMapFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleCompatMapFile’ at ../src/xkbcomp/compat.c:770:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c: In function ‘AddInterp’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:772:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:773:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:773:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:774:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:775:18: note: (13) calling ‘HandleIncludeCompatMap’ from ‘HandleCompatMapFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:432:1: note: (14) entry to ‘HandleIncludeCompatMap’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:436:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:442:35: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:445:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:449:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:450:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:456:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:463:9: note: (21) calling ‘HandleCompatMapFile’ from ‘HandleIncludeCompatMap’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:763:1: note: (22) entry to ‘HandleCompatMapFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:770:18: note: (23) inlined call to ‘strdup_safe’ from ‘HandleCompatMapFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleCompatMapFile’ at ../src/xkbcomp/compat.c:770:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c: In function ‘AddInterp’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:772:42: note: (26) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:773:21: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:773:9: note: (28) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:774:9: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:775:18: note: (30) calling ‘HandleIncludeCompatMap’ from ‘HandleCompatMapFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:432:1: note: (31) entry to ‘HandleIncludeCompatMap’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:436:8: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:442:35: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:445:39: note: (34) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:449:16: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:450:12: note: (36) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:456:9: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:463:9: note: (38) calling ‘HandleCompatMapFile’ from ‘HandleIncludeCompatMap’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:763:1: note: (39) entry to ‘HandleCompatMapFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:770:18: note: (40) inlined call to ‘strdup_safe’ from ‘HandleCompatMapFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleCompatMapFile’ at ../src/xkbcomp/compat.c:770:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (41) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c: In function ‘AddInterp’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:772:42: note: (43) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:773:21: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:773:9: note: (45) following ‘case 7:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:777:9: note: (46) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:778:18: note: (47) calling ‘HandleInterpDef’ from ‘HandleCompatMapFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:690:1: note: (48) entry to ‘HandleInterpDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:696:10: note: (49) calling ‘ResolveStateAndPredicate’ from ‘HandleInterpDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:263:1: note: (50) entry to ‘ResolveStateAndPredicate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:266:8: note: (51) following ‘false’ branch (when ‘expr’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:272:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:696:10: note: (53) returning to ‘HandleInterpDef’ from ‘ResolveStateAndPredicate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:696:8: note: (54) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:703:8: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:709:10: note: (56) calling ‘HandleInterpBody’ from ‘HandleInterpDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:664:1: note: (57) entry to ‘HandleInterpBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:670:12: note: (58) following ‘false’ branch (when ‘def’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:686:12: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:709:10: note: (60) returning to ‘HandleInterpDef’ from ‘HandleInterpBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:709:8: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:714:10: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:714:10: note: (63) calling ‘AddInterp’ from ‘HandleInterpDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:206:1: note: (64) entry to ‘AddInterp’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:208:26: note: (65) calling ‘FindMatchingInterp’ from ‘AddInterp’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:174:1: note: (66) entry to ‘FindMatchingInterp’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (67) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:178:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (68) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:178:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (69) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:178:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] cc1: note: (70) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:208:26: note: (71) returning to ‘AddInterp’ from ‘FindMatchingInterp’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:209:8: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:29: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (74) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (75) inlined call to ‘darray_next_alloc’ from ‘AddInterp’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:31: <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddInterp’ at ../src/xkbcomp/compat.c:256:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (77) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (79) following ‘true’ branch... <--[gcc] In function ‘AddInterp’: cc1: note: (80) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (81) inlined call to ‘darray_next_alloc’ from ‘AddInterp’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddInterp’ at ../src/xkbcomp/compat.c:256:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (82) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c: In function ‘AddInterp’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:31: note: (84) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (85) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (86) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (87) dereference of NULL ‘*info.interps.item + (long unsigned int)(*info.interps.size + 4294967295) * 44’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] [113/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_xkbcomp_ast-build.c.o -MF interactive-evdev.p/src_xkbcomp_ast-build.c.o.d -o interactive-evdev.p/src_xkbcomp_ast-build.c.o -c ../src/xkbcomp/ast-build.c In function ‘ExprCreate’, inlined from ‘ExprCreateString’ at ../src/xkbcomp/ast-build.c:78:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateString’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:81:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 81 | expr->string.str = str; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateString’ at ../src/xkbcomp/ast-build.c:78:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateInteger’ at ../src/xkbcomp/ast-build.c:88:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateInteger’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:91:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 91 | expr->integer.ival = ival; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateInteger’ at ../src/xkbcomp/ast-build.c:88:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateFloat’ at ../src/xkbcomp/ast-build.c:98:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[24]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 24 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[24]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 24 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[24]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 24 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[24]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 24 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateBoolean’ at ../src/xkbcomp/ast-build.c:107:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateBoolean’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:110:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 110 | expr->boolean.set = set; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateBoolean’ at ../src/xkbcomp/ast-build.c:107:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateKeyName’ at ../src/xkbcomp/ast-build.c:117:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateKeyName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:120:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 120 | expr->key_name.key_name = key_name; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateKeyName’ at ../src/xkbcomp/ast-build.c:117:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateIdent’ at ../src/xkbcomp/ast-build.c:127:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateIdent’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:130:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 130 | expr->ident.ident = ident; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateIdent’ at ../src/xkbcomp/ast-build.c:127:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateUnary’ at ../src/xkbcomp/ast-build.c:138:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateUnary’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:141:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 141 | expr->unary.child = child; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateUnary’ at ../src/xkbcomp/ast-build.c:138:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateBinary’ at ../src/xkbcomp/ast-build.c:148:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateBinary’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:156:13: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 156 | expr->expr.value_type = left->expr.value_type; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateBinary’ at ../src/xkbcomp/ast-build.c:148:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateBinary’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:153:13: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 153 | expr->expr.value_type = right->expr.value_type; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateBinary’ at ../src/xkbcomp/ast-build.c:148:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateBinary’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:157:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 157 | expr->binary.left = left; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateBinary’ at ../src/xkbcomp/ast-build.c:148:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateBinary’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:158:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 158 | expr->binary.right = right; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateBinary’ at ../src/xkbcomp/ast-build.c:148:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateFieldRef’ at ../src/xkbcomp/ast-build.c:166:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateFieldRef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:169:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 169 | expr->field_ref.element = element; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateFieldRef’ at ../src/xkbcomp/ast-build.c:166:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateFieldRef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:170:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 170 | expr->field_ref.field = field; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateFieldRef’ at ../src/xkbcomp/ast-build.c:166:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateArrayRef’ at ../src/xkbcomp/ast-build.c:177:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateArrayRef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:180:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 180 | expr->array_ref.element = element; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateArrayRef’ at ../src/xkbcomp/ast-build.c:177:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateArrayRef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:181:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 181 | expr->array_ref.field = field; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateArrayRef’ at ../src/xkbcomp/ast-build.c:177:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateArrayRef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:182:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 182 | expr->array_ref.entry = entry; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateArrayRef’ at ../src/xkbcomp/ast-build.c:177:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateAction’ at ../src/xkbcomp/ast-build.c:189:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateAction’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:192:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 192 | expr->action.name = name; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateAction’ at ../src/xkbcomp/ast-build.c:189:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateAction’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:193:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 193 | expr->action.args = args; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateAction’ at ../src/xkbcomp/ast-build.c:189:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateActionList’ at ../src/xkbcomp/ast-build.c:200:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateActionList’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:203:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 203 | expr->actions.actions = actions; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateActionList’ at ../src/xkbcomp/ast-build.c:200:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateIdent’ at ../src/xkbcomp/ast-build.c:127:21, inlined from ‘BoolVarCreate’ at ../src/xkbcomp/ast-build.c:330:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreateIdent’, inlined from ‘BoolVarCreate’ at ../src/xkbcomp/ast-build.c:330:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:130:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 130 | expr->ident.ident = ident; | ~~~~~~~~~~~~~~~~~~^~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateIdent’ at ../src/xkbcomp/ast-build.c:127:21, inlined from ‘BoolVarCreate’ at ../src/xkbcomp/ast-build.c:330:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateBoolean’ at ../src/xkbcomp/ast-build.c:107:21, inlined from ‘BoolVarCreate’ at ../src/xkbcomp/ast-build.c:333:19: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreateBoolean’, inlined from ‘BoolVarCreate’ at ../src/xkbcomp/ast-build.c:333:19: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:110:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 110 | expr->boolean.set = set; | ~~~~~~~~~~~~~~~~~~^~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateBoolean’ at ../src/xkbcomp/ast-build.c:107:21, inlined from ‘BoolVarCreate’ at ../src/xkbcomp/ast-build.c:333:19: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ [114/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_xkbcomp_keymap-dump.c.o -MF interactive-evdev.p/src_xkbcomp_keymap-dump.c.o.d -o interactive-evdev.p/src_xkbcomp_keymap-dump.c.o -c ../src/xkbcomp/keymap-dump.c [115/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_xkbcomp_scanner.c.o -MF interactive-evdev.p/src_xkbcomp_scanner.c.o.d -o interactive-evdev.p/src_xkbcomp_scanner.c.o -c ../src/xkbcomp/scanner.c [116/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_xkbcomp_xkbcomp.c.o -MF interactive-evdev.p/src_xkbcomp_xkbcomp.c.o.d -o interactive-evdev.p/src_xkbcomp_xkbcomp.c.o -c ../src/xkbcomp/xkbcomp.c [117/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_context.c.o -MF interactive-evdev.p/src_context.c.o.d -o interactive-evdev.p/src_context.c.o -c ../src/context.c [118/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_context-priv.c.o -MF interactive-evdev.p/src_context-priv.c.o.d -o interactive-evdev.p/src_context-priv.c.o -c ../src/context-priv.c [119/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_xkbcomp_rules.c.o -MF interactive-evdev.p/src_xkbcomp_rules.c.o.d -o interactive-evdev.p/src_xkbcomp_rules.c.o -c ../src/xkbcomp/rules.c /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1159: error: nullPointer(CWE-476): Null pointer dereference: (unsigned int*)(NULL) <--[cppcheck] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1160: error: nullPointer(CWE-476): Null pointer dereference: (unsigned int*)(NULL) <--[cppcheck] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1161: error: nullPointer(CWE-476): Null pointer dereference: (unsigned int*)(NULL) <--[cppcheck] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1162: error: nullPointer(CWE-476): Null pointer dereference: (unsigned int*)(NULL) <--[cppcheck] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:88, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/xkbcomp-priv.h:30, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:52: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c: In function ‘split_comma_separated_mlvo’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of possibly-NULL ‘__builtin_malloc(96)’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:286:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1129:1: note: (1) entry to ‘xkb_components_from_rules’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1141:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1144:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1144:15: note: (4) calling ‘matcher_new’ from ‘xkb_components_from_rules’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:303:1: note: (5) entry to ‘matcher_new’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:307:8: note: (6) following ‘false’ branch (when ‘m’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:310:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:313:24: note: (8) calling ‘split_comma_separated_mlvo’ from ‘matcher_new’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:275:1: note: (9) entry to ‘split_comma_separated_mlvo’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:284:8: note: (10) following ‘true’ branch (when ‘s’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:286:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (12) this call could return NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:286:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (13) ‘__builtin_malloc(96)’ could be NULL: unchecked value from (12) <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:286:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c: In function ‘split_comma_separated_mlvo.part.0’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:275:1: note: (1) entry to ‘split_comma_separated_mlvo.part.0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:292:27: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:293:20: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:293:20: note: (4) calling ‘strip_spaces’ from ‘split_comma_separated_mlvo.part.0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:267:1: note: (5) entry to ‘strip_spaces’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:270:22: note: (6) following ‘false’ branch (when ‘<unknown> == 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:271:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:293:20: note: (8) returning to ‘split_comma_separated_mlvo.part.0’ from ‘strip_spaces’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (10) inlined call to ‘darray_next_alloc’ from ‘split_comma_separated_mlvo.part.0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:31: <--[gcc] In function ‘darray_next_alloc’, inlined from ‘split_comma_separated_mlvo.part.0’ at ../src/xkbcomp/rules.c:294:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (14) following ‘true’ branch (when ‘<unknown> == 0’)... <--[gcc] In function ‘split_comma_separated_mlvo.part.0’: cc1: note: (15) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (16) inlined call to ‘darray_next_alloc’ from ‘split_comma_separated_mlvo.part.0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘split_comma_separated_mlvo.part.0’ at ../src/xkbcomp/rules.c:294:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c: In function ‘split_comma_separated_mlvo.part.0’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (19) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (20) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (21) dereference of NULL ‘arr.item + (long unsigned int)arr.size * 24’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c: In function ‘read_rules_file’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1107:5: warning: dereference of NULL ‘matcher’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1129:1: note: (1) entry to ‘xkb_components_from_rules’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1141:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1144:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1144:15: note: (4) calling ‘matcher_new’ from ‘xkb_components_from_rules’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:303:1: note: (5) entry to ‘matcher_new’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:306:25: note: (6) allocated here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:307:8: note: (7) assuming ‘m’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:307:8: note: (8) following ‘true’ branch (when ‘m’ is NULL)... <--[gcc] cc1: note: (9) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1144:15: note: (10) returning to ‘xkb_components_from_rules’ from ‘matcher_new’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1146:11: note: (11) calling ‘read_rules_file’ from ‘xkb_components_from_rules’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1089:1: note: (12) entry to ‘read_rules_file’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1100:8: note: (13) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1107:5: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1107:5: note: (15) dereference of NULL ‘matcher’ <--[gcc] [120/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_xkbcomp_types.c.o -MF interactive-evdev.p/src_xkbcomp_types.c.o.d -o interactive-evdev.p/src_xkbcomp_types.c.o -c ../src/xkbcomp/types.c In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:88, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/xkbcomp-priv.h:30, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:29: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddKeyType’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:770:1: note: (1) entry to ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:777:5: note: (2) calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (3) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (4) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddKeyType’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (7) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (9) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (11) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (12) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (15) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (19) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (20) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (21) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddKeyType’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (24) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (26) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (28) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (29) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (32) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (36) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (37) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (38) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (39) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddKeyType’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (41) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (43) following ‘case 6:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:684:9: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:685:18: note: (45) calling ‘HandleKeyTypeDef’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:646:1: note: (46) entry to ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:658:8: note: (47) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:659:10: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:659:10: note: (49) calling ‘AddKeyType’ from ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:144:1: note: (50) entry to ‘AddKeyType’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:149:11: note: (51) inlined call to ‘FindMatchingKeyType’ from ‘AddKeyType’ <--[gcc] In function ‘FindMatchingKeyType’, inlined from ‘AddKeyType’ at ../src/xkbcomp/types.c:149:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (52) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:136:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (53) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:136:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (54) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:136:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddKeyType’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:150:8: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:150:8: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:35: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (58) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (59) inlined call to ‘darray_next_alloc’ from ‘AddKeyType’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:31: <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddKeyType’ at ../src/xkbcomp/types.c:178:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (63) following ‘true’ branch... <--[gcc] In function ‘AddKeyType’: cc1: note: (64) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (65) inlined call to ‘darray_next_alloc’ from ‘AddKeyType’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddKeyType’ at ../src/xkbcomp/types.c:178:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (66) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddKeyType’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (67) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (68) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (69) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (70) dereference of NULL ‘*info.types.item + (long unsigned int)(*info.types.size + 4294967295) * 56’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:770:1: note: (1) entry to ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:777:5: note: (2) calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (3) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (4) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (7) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (9) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (11) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (12) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (15) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (19) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (20) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (21) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (24) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (26) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (28) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (29) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (32) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (36) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (37) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (38) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (39) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (41) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (43) following ‘case 6:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:684:9: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:685:18: note: (45) calling ‘HandleKeyTypeDef’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:646:1: note: (46) entry to ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:648:17: note: (47) ‘type.entries.item’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:658:10: note: (48) calling ‘HandleKeyTypeBody’ from ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:609:1: note: (49) entry to ‘HandleKeyTypeBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:615:12: note: (50) following ‘true’ branch (when ‘def’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:616:43: note: (51) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:618:12: note: (52) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:621:13: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:621:12: note: (54) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:639:14: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:639:14: note: (56) calling ‘SetKeyTypeField’ from ‘HandleKeyTypeBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:576:1: note: (57) entry to ‘SetKeyTypeField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:582:8: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:586:14: note: (59) inlined call to ‘istreq’ from ‘SetKeyTypeField’ <--[gcc] In function ‘istreq’, inlined from ‘SetKeyTypeField’ at ../src/xkbcomp/types.c:586:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:586:13: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:588:14: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:588:14: note: (63) calling ‘SetMapEntry’ from ‘SetKeyTypeField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:353:1: note: (64) entry to ‘SetMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:358:8: note: (65) following ‘false’ branch (when ‘arrayNdx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:361:60: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:361:8: note: (67) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:366:19: note: (68) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:378:8: note: (69) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:385:25: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:387:12: note: (71) calling ‘AddMapEntry’ from ‘SetMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:311:1: note: (72) entry to ‘AddMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:316:11: note: (73) inlined call to ‘FindMatchingMapEntry’ from ‘AddMapEntry’ <--[gcc] In function ‘FindMatchingMapEntry’, inlined from ‘AddMapEntry’ at ../src/xkbcomp/types.c:316:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (74) ‘entry’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:303:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (75) ‘entry’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:303:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (76) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:303:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:317:8: note: (77) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:317:8: note: (78) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:345:12: note: (79) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (80) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (81) inlined call to ‘darray_next_alloc’ from ‘AddMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddMapEntry’ at ../src/xkbcomp/types.c:348:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (83) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (84) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (85) following ‘true’ branch... <--[gcc] In function ‘AddMapEntry’: cc1: note: (86) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (87) inlined call to ‘darray_next_alloc’ from ‘AddMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddMapEntry’ at ../src/xkbcomp/types.c:348:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (88) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (89) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (90) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (91) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (92) dereference of NULL ‘*type.entries.item + (long unsigned int)(*type.entries.size + 4294967295) * 20’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:770:1: note: (1) entry to ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:777:5: note: (2) calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (3) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (4) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (7) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (9) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (11) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (12) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (15) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (19) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (20) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (21) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (24) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (26) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (28) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (29) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (32) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (36) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (37) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (38) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (39) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (41) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (43) following ‘case 6:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:684:9: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:685:18: note: (45) calling ‘HandleKeyTypeDef’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:646:1: note: (46) entry to ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:648:17: note: (47) ‘type.entries.item’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:658:10: note: (48) calling ‘HandleKeyTypeBody’ from ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:609:1: note: (49) entry to ‘HandleKeyTypeBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:615:12: note: (50) following ‘true’ branch (when ‘def’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:616:43: note: (51) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:618:12: note: (52) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:621:13: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:621:12: note: (54) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:639:14: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:639:14: note: (56) calling ‘SetKeyTypeField’ from ‘HandleKeyTypeBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:576:1: note: (57) entry to ‘SetKeyTypeField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:582:8: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:586:14: note: (59) inlined call to ‘istreq’ from ‘SetKeyTypeField’ <--[gcc] In function ‘istreq’, inlined from ‘SetKeyTypeField’ at ../src/xkbcomp/types.c:586:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:586:13: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:590:14: note: (62) inlined call to ‘istreq’ from ‘SetKeyTypeField’ <--[gcc] In function ‘istreq’, inlined from ‘SetKeyTypeField’ at ../src/xkbcomp/types.c:590:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (63) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:590:13: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:592:14: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:592:14: note: (66) calling ‘SetPreserve’ from ‘SetKeyTypeField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:447:1: note: (67) entry to ‘SetPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:452:8: note: (68) following ‘false’ branch (when ‘arrayNdx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:455:60: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:455:8: note: (70) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:459:21: note: (71) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:473:8: note: (72) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:484:25: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:484:8: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:499:12: note: (75) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:499:12: note: (76) calling ‘AddPreserve’ from ‘SetPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:393:1: note: (77) entry to ‘AddPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (78) ‘entry’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:399:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (79) ‘entry’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:399:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (80) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:399:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:35: note: (81) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (82) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (83) inlined call to ‘darray_next_alloc’ from ‘AddPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddPreserve’ at ../src/xkbcomp/types.c:442:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (84) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (85) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (86) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (87) following ‘true’ branch... <--[gcc] In function ‘AddPreserve’: cc1: note: (88) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (89) inlined call to ‘darray_next_alloc’ from ‘AddPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddPreserve’ at ../src/xkbcomp/types.c:442:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (90) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (91) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (92) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (93) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (94) dereference of NULL ‘*type.entries.item + (long unsigned int)(*type.entries.size + 4294967295) * 20’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: use of uninitialized value ‘new.mods.mask’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:770:1: note: (1) entry to ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:777:5: note: (2) calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (3) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (4) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (7) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (9) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (11) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (12) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (15) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (19) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (20) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (21) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (24) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (26) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (28) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (29) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (32) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (36) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (37) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (38) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (39) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (41) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (43) following ‘case 6:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:684:9: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:685:18: note: (45) calling ‘HandleKeyTypeDef’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:646:1: note: (46) entry to ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:658:10: note: (47) calling ‘HandleKeyTypeBody’ from ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:609:1: note: (48) entry to ‘HandleKeyTypeBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:615:12: note: (49) following ‘true’ branch (when ‘def’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:616:43: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:618:12: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:621:13: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:621:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:639:14: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:639:14: note: (55) calling ‘SetKeyTypeField’ from ‘HandleKeyTypeBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:576:1: note: (56) entry to ‘SetKeyTypeField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:582:8: note: (57) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:586:14: note: (58) inlined call to ‘istreq’ from ‘SetKeyTypeField’ <--[gcc] In function ‘istreq’, inlined from ‘SetKeyTypeField’ at ../src/xkbcomp/types.c:586:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:586:13: note: (60) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:590:14: note: (61) inlined call to ‘istreq’ from ‘SetKeyTypeField’ <--[gcc] In function ‘istreq’, inlined from ‘SetKeyTypeField’ at ../src/xkbcomp/types.c:590:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:590:13: note: (63) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:592:14: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:592:14: note: (65) calling ‘SetPreserve’ from ‘SetKeyTypeField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:447:1: note: (66) entry to ‘SetPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:452:8: note: (67) following ‘false’ branch (when ‘arrayNdx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:455:60: note: (68) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:455:8: note: (69) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:459:21: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:473:8: note: (71) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:484:25: note: (72) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:484:8: note: (73) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:499:12: note: (74) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:499:12: note: (75) calling ‘AddPreserve’ from ‘SetPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:393:1: note: (76) entry to ‘AddPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:397:31: note: (77) region created on stack here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:397:31: note: (78) capacity: 4 bytes <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (79) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:399:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:35: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (81) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (82) inlined call to ‘darray_next_alloc’ from ‘AddPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddPreserve’ at ../src/xkbcomp/types.c:442:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (84) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (85) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (86) following ‘true’ branch... <--[gcc] In function ‘AddPreserve’: cc1: note: (87) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (88) inlined call to ‘darray_next_alloc’ from ‘AddPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddPreserve’ at ../src/xkbcomp/types.c:442:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (89) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (90) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (91) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (92) use of uninitialized value ‘new.mods.mask’ here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] [121/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_keysym-utf.c.o -MF interactive-evdev.p/src_keysym-utf.c.o.d -o interactive-evdev.p/src_keysym-utf.c.o -c ../src/keysym-utf.c [122/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_keymap.c.o -MF interactive-evdev.p/src_keymap.c.o.d -o interactive-evdev.p/src_keymap.c.o -c ../src/keymap.c [123/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_keymap-priv.c.o -MF interactive-evdev.p/src_keymap-priv.c.o.d -o interactive-evdev.p/src_keymap-priv.c.o -c ../src/keymap-priv.c [124/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_xkbcomp_symbols.c.o -MF interactive-evdev.p/src_xkbcomp_symbols.c.o.d -o interactive-evdev.p/src_xkbcomp_symbols.c.o -c ../src/xkbcomp/symbols.c /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1534: error: nullPointer(CWE-476): Null pointer dereference: (unsigned int*)(NULL) <--[cppcheck] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:871:44: warning: Dereference of null pointer [core.NullDereference] <--[clang] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1030:50: warning: Array access (via field 'item') results in a null pointer dereference [core.NullDereference] <--[clang] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:88, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/xkbcomp-priv.h:30, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:56: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:29: <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 9:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1262:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1263:18: note: (57) calling ‘HandleSymbolsDef’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1163:1: note: (58) entry to ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:106:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:112:5: note: in expansion of macro ‘darray_from_items’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1169:5: note: in expansion of macro ‘darray_copy’ <--[gcc] cc1: note: (60) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1170:38: note: (61) following ‘false’ branch (when ‘i >= __count’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1173:22: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:10: note: (63) calling ‘HandleSymbolsBody’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1090:1: note: (64) entry to ‘HandleSymbolsBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1096:12: note: (65) following ‘false’ branch (when ‘def’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1122:12: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:10: note: (67) returning to ‘HandleSymbolsDef’ from ‘HandleSymbolsBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:8: note: (68) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (70) calling ‘SetExplicitGroup’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1126:1: note: (71) entry to ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1132:8: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:210:32: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:211:16: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1143:8: note: (75) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1143:8: note: (76) following ‘false’ branch (when ‘warn == 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:14: note: (77) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (78) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (79) inlined call to ‘darray_next_alloc’ from ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:31: <--[gcc] In function ‘darray_next_alloc’, inlined from ‘SetExplicitGroup’ at ../src/xkbcomp/symbols.c:1152:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (81) following ‘false’ branch (when ‘__newSize <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (83) following ‘true’ branch... <--[gcc] In function ‘AddKeySymbols’: cc1: note: (84) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (85) inlined call to ‘darray_next_alloc’ from ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘SetExplicitGroup’ at ../src/xkbcomp/symbols.c:1152:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (86) following ‘false’ branch (when ‘__newSize <= alloc’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (88) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1153:8: note: (89) following ‘false’ branch... <--[gcc] cc1: note: (90) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (91) returning to ‘HandleSymbolsDef’ from ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1186:10: note: (92) calling ‘AddKeySymbols’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:436:1: note: (93) entry to ‘AddKeySymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (94) ‘iter’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:451:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (95) ‘iter’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:451:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (96) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:451:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:35: note: (97) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (98) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (99) inlined call to ‘darray_next_alloc’ from ‘AddKeySymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddKeySymbols’ at ../src/xkbcomp/symbols.c:455:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (100) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (101) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (102) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (103) following ‘true’ branch... <--[gcc] In function ‘AddKeySymbols’: cc1: note: (104) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (105) inlined call to ‘darray_next_alloc’ from ‘AddKeySymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddKeySymbols’ at ../src/xkbcomp/symbols.c:455:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (106) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (107) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (108) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (109) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (110) dereference of NULL ‘*info.keys.item + (long unsigned int)(*info.keys.size + 4294967295) * 56’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 10:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1271:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1272:18: note: (57) calling ‘HandleModMapDef’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1195:1: note: (58) entry to ‘HandleModMapDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1203:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1220:18: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1223:36: note: (61) following ‘true’ branch (when ‘key’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1226:40: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1226:12: note: (63) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1228:28: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1244:14: note: (65) calling ‘AddModMapEntry’ from ‘HandleModMapDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:461:1: note: (66) entry to ‘AddModMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (67) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:466:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (68) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:466:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (69) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:466:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:35: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (71) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (72) inlined call to ‘darray_next_alloc’ from ‘AddModMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddModMapEntry’ at ../src/xkbcomp/symbols.c:501:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (75) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (76) following ‘true’ branch... <--[gcc] In function ‘AddModMapEntry’: cc1: note: (77) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (78) inlined call to ‘darray_next_alloc’ from ‘AddModMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddModMapEntry’ at ../src/xkbcomp/symbols.c:501:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (79) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (81) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (82) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (83) dereference of NULL ‘*info.modmaps.item + (long unsigned int)(*info.modmaps.size + 4294967295) * 16’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1265:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1266:18: note: (57) calling ‘HandleGlobalVar’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1036:1: note: (58) entry to ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1042:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:9: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:8: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:17: note: (62) inlined call to ‘istreq’ from ‘HandleGlobalVar’ <--[gcc] In function ‘istreq’, inlined from ‘HandleGlobalVar’ at ../src/xkbcomp/symbols.c:1045:17: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (63) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:14: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (66) calling ‘SetSymbolsField’ from ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:820:1: note: (67) entry to ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:823:8: note: (68) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:14: note: (69) inlined call to ‘istreq’ from ‘SetSymbolsField’ <--[gcc] In function ‘istreq’, inlined from ‘SetSymbolsField’ at ../src/xkbcomp/symbols.c:854:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:13: note: (71) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:855:16: note: (72) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:855:16: note: (73) calling ‘AddSymbolsToKey’ from ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:678:1: note: (74) entry to ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:685:10: note: (75) calling ‘GetGroupIndex’ from ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:630:1: note: (76) entry to ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:633:17: note: (77) following ‘true’ branch (when ‘what == 1’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (79) following ‘true’ branch (when ‘arrayNdx’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:639:52: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:639:52: note: (81) following ‘true’ branch (when ‘what == 1’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:205:27: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:641:9: note: in expansion of macro ‘darray_enumerate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:205:27: note: (83) ‘groupi’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:641:9: note: in expansion of macro ‘darray_enumerate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:206:16: note: (84) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:641:9: note: in expansion of macro ‘darray_enumerate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:648:12: note: (85) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:648:12: note: (86) following ‘false’ branch (when ‘i <= 3’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:38: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (88) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (89) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:657:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (90) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (91) following ‘false’ branch (when ‘__newSize <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (92) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (93) following ‘true’ branch... <--[gcc] In function ‘GetGroupIndex’: cc1: note: (94) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (95) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:657:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (96) following ‘false’ branch (when ‘__newSize <= alloc’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (97) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (98) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (99) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (100) argument 1 (‘*keyi.groups.item + (long unsigned int)*keyi.groups.size * 32’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1265:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1266:18: note: (57) calling ‘HandleGlobalVar’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1036:1: note: (58) entry to ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1042:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:9: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:8: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:17: note: (62) inlined call to ‘istreq’ from ‘HandleGlobalVar’ <--[gcc] In function ‘istreq’, inlined from ‘HandleGlobalVar’ at ../src/xkbcomp/symbols.c:1045:17: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (63) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:14: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (66) calling ‘SetSymbolsField’ from ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:820:1: note: (67) entry to ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:823:8: note: (68) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:14: note: (69) inlined call to ‘istreq’ from ‘SetSymbolsField’ <--[gcc] In function ‘istreq’, inlined from ‘SetSymbolsField’ at ../src/xkbcomp/symbols.c:854:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:13: note: (71) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:855:16: note: (72) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:855:16: note: (73) calling ‘AddSymbolsToKey’ from ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:678:1: note: (74) entry to ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:685:10: note: (75) calling ‘GetGroupIndex’ from ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:630:1: note: (76) entry to ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:633:17: note: (77) following ‘true’ branch (when ‘what == 1’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:662:10: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:662:8: note: (81) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:670:6: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:671:8: note: (83) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:158:16: note: (84) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (85) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (86) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:672:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (88) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (89) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (90) following ‘true’ branch... <--[gcc] In function ‘GetGroupIndex’: cc1: note: (91) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:31: note: (92) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (93) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (94) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (95) argument 1 (‘*keyi.groups.item + (long unsigned int)*keyi.groups.size * 32’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1265:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1266:18: note: (57) calling ‘HandleGlobalVar’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1036:1: note: (58) entry to ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1042:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:9: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:8: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:17: note: (62) inlined call to ‘istreq’ from ‘HandleGlobalVar’ <--[gcc] In function ‘istreq’, inlined from ‘HandleGlobalVar’ at ../src/xkbcomp/symbols.c:1045:17: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (63) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:14: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (66) calling ‘SetSymbolsField’ from ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:820:1: note: (67) entry to ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:823:8: note: (68) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:14: note: (69) inlined call to ‘istreq’ from ‘SetSymbolsField’ <--[gcc] In function ‘istreq’, inlined from ‘SetSymbolsField’ at ../src/xkbcomp/symbols.c:854:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:13: note: (71) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:855:16: note: (72) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:855:16: note: (73) calling ‘AddSymbolsToKey’ from ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:678:1: note: (74) entry to ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:685:10: note: (75) calling ‘GetGroupIndex’ from ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:630:1: note: (76) entry to ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:633:17: note: (77) following ‘true’ branch (when ‘what == 1’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (79) following ‘true’ branch (when ‘arrayNdx’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:639:52: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:639:52: note: (81) following ‘true’ branch (when ‘what == 1’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:205:27: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:641:9: note: in expansion of macro ‘darray_enumerate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:206:16: note: (83) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:641:9: note: in expansion of macro ‘darray_enumerate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:648:12: note: (84) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:648:12: note: (85) following ‘false’ branch (when ‘i <= 3’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:38: note: (86) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (87) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (88) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:657:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (89) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (90) following ‘false’ branch (when ‘__newSize <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (91) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (92) following ‘true’ branch... <--[gcc] In function ‘AddSymbolsToKey’: cc1: note: (93) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (94) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:657:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (95) following ‘false’ branch (when ‘__newSize <= alloc’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (96) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (97) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:685:10: note: (98) returning to ‘AddSymbolsToKey’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:685:8: note: (99) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:85:39: note: (100) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:688:15: note: in expansion of macro ‘darray_item’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:690:8: note: (101) following ‘false’ branch (when ‘value’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:695:20: note: (102) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:695:8: note: (103) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:705:15: note: (104) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:705:8: note: (105) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:714:13: note: (106) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:715:8: note: (107) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:158:16: note: (108) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (109) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (110) inlined call to ‘darray_next_alloc’ from ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddSymbolsToKey’ at ../src/xkbcomp/symbols.c:716:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (111) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (112) following ‘false’ branch (when ‘nLevels <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (113) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (114) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (115) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (116) argument 1 (‘*groupi.levels.item + (long unsigned int)*groupi.levels.size * 32’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1265:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1266:18: note: (57) calling ‘HandleGlobalVar’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1036:1: note: (58) entry to ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1042:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:9: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:8: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:17: note: (62) inlined call to ‘istreq’ from ‘HandleGlobalVar’ <--[gcc] In function ‘istreq’, inlined from ‘HandleGlobalVar’ at ../src/xkbcomp/symbols.c:1045:17: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (63) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:14: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (66) calling ‘SetSymbolsField’ from ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:820:1: note: (67) entry to ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:823:8: note: (68) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:14: note: (69) inlined call to ‘istreq’ from ‘SetSymbolsField’ <--[gcc] In function ‘istreq’, inlined from ‘SetSymbolsField’ at ../src/xkbcomp/symbols.c:854:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:13: note: (71) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:857:14: note: (72) inlined call to ‘istreq’ from ‘SetSymbolsField’ <--[gcc] In function ‘istreq’, inlined from ‘SetSymbolsField’ at ../src/xkbcomp/symbols.c:857:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:857:13: note: (74) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:858:16: note: (75) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:858:16: note: (76) calling ‘AddActionsToKey’ from ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:749:1: note: (77) entry to ‘AddActionsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:757:10: note: (78) calling ‘GetGroupIndex’ from ‘AddActionsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:630:1: note: (79) entry to ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:633:17: note: (80) following ‘false’ branch (when ‘what != 1’)... <--[gcc] cc1: note: (81) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (82) following ‘true’ branch (when ‘arrayNdx’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:639:52: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:639:52: note: (84) following ‘false’ branch (when ‘what != 1’)... <--[gcc] cc1: note: (85) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:206:16: note: (86) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:641:9: note: in expansion of macro ‘darray_enumerate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:648:12: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:648:12: note: (88) following ‘false’ branch (when ‘i <= 3’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:38: note: (89) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (90) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (91) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:657:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (92) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (93) following ‘false’ branch (when ‘__newSize <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (94) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (95) following ‘true’ branch... <--[gcc] In function ‘AddActionsToKey’: cc1: note: (96) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (97) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:657:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (98) following ‘false’ branch (when ‘__newSize <= alloc’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (99) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (100) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:757:10: note: (101) returning to ‘AddActionsToKey’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:757:8: note: (102) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:85:39: note: (103) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:760:15: note: in expansion of macro ‘darray_item’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:762:8: note: (104) following ‘false’ branch (when ‘value’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:767:20: note: (105) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:767:8: note: (106) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:775:15: note: (107) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:775:8: note: (108) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:783:14: note: (109) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:786:8: note: (110) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:158:16: note: (111) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (112) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (113) inlined call to ‘darray_next_alloc’ from ‘AddActionsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddActionsToKey’ at ../src/xkbcomp/symbols.c:787:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (114) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (115) following ‘false’ branch (when ‘nActs <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (116) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (117) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (118) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (119) argument 1 (‘*groupi.levels.item + (long unsigned int)*groupi.levels.size * 32’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1265:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1266:18: note: (57) calling ‘HandleGlobalVar’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1036:1: note: (58) entry to ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1042:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:9: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:8: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:17: note: (62) inlined call to ‘istreq’ from ‘HandleGlobalVar’ <--[gcc] In function ‘istreq’, inlined from ‘HandleGlobalVar’ at ../src/xkbcomp/symbols.c:1045:17: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (63) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:14: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (66) calling ‘SetSymbolsField’ from ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:820:1: note: (67) entry to ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:823:8: note: (68) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:827:14: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:827:12: note: (70) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:835:12: note: (71) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:835:12: note: (72) following ‘false’ branch (when ‘arrayNdx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:839:19: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:839:17: note: (74) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:847:16: note: (75) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:848:16: note: (76) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:158:16: note: (77) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (78) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (79) inlined call to ‘darray_next_alloc’ from ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘SetSymbolsField’ at ../src/xkbcomp/symbols.c:849:17: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (81) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (83) following ‘true’ branch... <--[gcc] In function ‘SetSymbolsField’: cc1: note: (84) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:31: note: (85) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (86) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (87) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (88) argument 1 (‘*keyi.groups.item + (long unsigned int)*keyi.groups.size * 32’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetGroupName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetGroupName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetGroupName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetGroupName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetGroupName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetGroupName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1265:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1266:18: note: (57) calling ‘HandleGlobalVar’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1036:1: note: (58) entry to ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1042:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:9: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1049:13: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1051:15: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1051:15: note: (63) calling ‘SetGroupName’ from ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:983:1: note: (64) entry to ‘SetGroupName’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:988:8: note: (65) following ‘false’ branch (when ‘arrayNdx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:996:10: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:996:8: note: (67) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1003:10: note: (68) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1003:8: note: (69) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1011:13: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1011:8: note: (71) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1014:24: note: (72) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1014:13: note: (73) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:86:39: note: (74) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1028:25: note: in expansion of macro ‘darray_size’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1028:8: note: (75) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:38: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (77) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:23: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (79) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:162:27: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:22: note: (81) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (82) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (83) argument 1 (‘*info.group_names.item + (long unsigned int)*info.group_names.size * 4’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 9:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1262:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1263:18: note: (57) calling ‘HandleSymbolsDef’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1163:1: note: (58) entry to ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:106:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:112:5: note: in expansion of macro ‘darray_from_items’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1169:5: note: in expansion of macro ‘darray_copy’ <--[gcc] cc1: note: (60) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1170:38: note: (61) following ‘false’ branch (when ‘i >= __count’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1173:22: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:10: note: (63) calling ‘HandleSymbolsBody’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1090:1: note: (64) entry to ‘HandleSymbolsBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1096:12: note: (65) following ‘false’ branch (when ‘def’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1122:12: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:10: note: (67) returning to ‘HandleSymbolsDef’ from ‘HandleSymbolsBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:8: note: (68) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (70) calling ‘SetExplicitGroup’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1126:1: note: (71) entry to ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1132:8: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:210:32: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:210:32: note: (74) ‘groupi’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:211:16: note: (75) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1143:8: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1143:8: note: (77) following ‘false’ branch (when ‘warn == 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:14: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (79) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (80) inlined call to ‘darray_next_alloc’ from ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘SetExplicitGroup’ at ../src/xkbcomp/symbols.c:1152:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (81) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (82) following ‘false’ branch (when ‘__newSize <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (84) following ‘true’ branch... <--[gcc] In function ‘SetExplicitGroup’: cc1: note: (85) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (86) inlined call to ‘darray_next_alloc’ from ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘SetExplicitGroup’ at ../src/xkbcomp/symbols.c:1152:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (87) following ‘false’ branch (when ‘__newSize <= alloc’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (88) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:31: note: (89) ‘keyi.groups.item’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (90) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (91) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (92) argument 1 (‘*keyi.groups.item + (long unsigned int)__oldSize * 32’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1154:57: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 9:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1262:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1263:18: note: (57) calling ‘HandleSymbolsDef’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1163:1: note: (58) entry to ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:106:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:112:5: note: in expansion of macro ‘darray_from_items’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1169:5: note: in expansion of macro ‘darray_copy’ <--[gcc] cc1: note: (60) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1170:38: note: (61) following ‘false’ branch (when ‘i >= __count’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1173:22: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:10: note: (63) calling ‘HandleSymbolsBody’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1090:1: note: (64) entry to ‘HandleSymbolsBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1096:12: note: (65) following ‘false’ branch (when ‘def’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1122:12: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:10: note: (67) returning to ‘HandleSymbolsDef’ from ‘HandleSymbolsBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:8: note: (68) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (70) calling ‘SetExplicitGroup’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1126:1: note: (71) entry to ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1132:8: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:210:32: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:210:32: note: (74) ‘groupi’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:211:16: note: (75) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1143:8: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1143:8: note: (77) following ‘false’ branch (when ‘warn == 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:14: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (79) following ‘false’ branch (when ‘__oldSize >= __newSize’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1153:13: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1153:8: note: (81) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:85:39: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1155:13: note: in expansion of macro ‘darray_item’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:85:39: note: (83) ‘keyi.groups.item’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1155:13: note: in expansion of macro ‘darray_item’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1154:57: note: (84) dereference of NULL ‘*keyi.groups.item’ <--[gcc] [125/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_atom.c.o -MF interactive-evdev.p/src_atom.c.o.d -o interactive-evdev.p/src_atom.c.o -c ../src/atom.c In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:81: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c: In function ‘atom_table_new’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of possibly-NULL ‘*table.strings.item’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:117:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:113:8: note: (1) following ‘false’ branch (when ‘table’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:38: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:117:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (3) this call could return NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:117:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (4) ‘*table.strings.item’ could be NULL: unchecked value from (3) <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:117:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c: In function ‘atom_intern’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:151:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:148:8: note: (1) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:149:27: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:150:24: note: (3) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:150:22: note: (4) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:151:9: note: (5) argument 1 (‘realloc(*table.index, *table.index_size * 8)’) NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null [126/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_state.c.o -MF interactive-evdev.p/src_state.c.o.d -o interactive-evdev.p/src_state.c.o -c ../src/state.c /builddir/build/BUILD/libxkbcommon-1.7.0/src/state.c:1038: warning: objectIndex(CWE-758): The address of local variable 'sym' might be accessed at non-zero index. <--[cppcheck] [127/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_text.c.o -MF interactive-evdev.p/src_text.c.o.d -o interactive-evdev.p/src_text.c.o -c ../src/text.c [128/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_utf8.c.o -MF interactive-evdev.p/src_utf8.c.o.d -o interactive-evdev.p/src_utf8.c.o -c ../src/utf8.c [129/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_utils.c.o -MF interactive-evdev.p/src_utils.c.o.d -o interactive-evdev.p/src_utils.c.o -c ../src/utils.c [130/244] gcc -Ixkbcli-interactive-wayland.p -I. -I.. -I../tools -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ xkbcli-interactive-wayland.p/meson-generated_xdg-shell-protocol.c.o -MF xkbcli-interactive-wayland.p/meson-generated_xdg-shell-protocol.c.o.d -o xkbcli-interactive-wayland.p/meson-generated_xdg-shell-protocol.c.o -c xkbcli-interactive-wayland.p/xdg-shell-protocol.c [131/244] gcc -Ixkb-check-messages.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ xkb-check-messages.p/tools_messages.c.o -MF xkb-check-messages.p/tools_messages.c.o.d -o xkb-check-messages.p/tools_messages.c.o -c ../tools/messages.c [132/244] gcc -o xkbcli-list xkbcli-list.p/tools_registry-list.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ libxkbregistry.so.0.0.0 [133/244] gcc -Ixkb-check-messages.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ xkb-check-messages.p/tools_check-messages.c.o -MF xkb-check-messages.p/tools_check-messages.c.o.d -o xkb-check-messages.p/tools_check-messages.c.o -c ../tools/check-messages.c [134/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/bench_bench.c.o -MF libxkbcommon-test-internal.a.p/bench_bench.c.o.d -o libxkbcommon-test-internal.a.p/bench_bench.c.o -c ../bench/bench.c [135/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/src_keysym.c.o -MF interactive-evdev.p/src_keysym.c.o.d -o interactive-evdev.p/src_keysym.c.o -c ../src/keysym.c /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c: In function ‘UCSConvertCase’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (6) ...to here <--[gcc] cc1: note: (7) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (9) read of 2 bytes at offset ‘code * 2 + 8589933824’ exceeds ‘LatinExtB_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: valid subscripts for ‘LatinExtB_lower_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_lower_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589933824) - 154’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 154 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (19) ...to here <--[gcc] cc1: note: (20) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (22) read of 2 bytes at offset ‘*upper * 2 + 8589933824’ exceeds ‘LatinExtB_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: valid subscripts for ‘LatinExtB_lower_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_lower_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589933824) - 154’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 154 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: valid subscripts for ‘LatinExtB_lower_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_lower_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: valid subscripts for ‘LatinExtB_lower_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_lower_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: valid subscripts for ‘LatinExtB_lower_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_lower_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: valid subscripts for ‘LatinExtB_lower_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_lower_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (6) ...to here <--[gcc] cc1: note: (7) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: (9) read of 2 bytes at offset ‘code * 2 + 8589933824’ exceeds ‘LatinExtB_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: valid subscripts for ‘LatinExtB_upper_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_upper_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589933824) - 154’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 154 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (19) ...to here <--[gcc] cc1: note: (20) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: (22) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: valid subscripts for ‘LatinExtB_upper_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_upper_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589933824) - 154’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 154 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: valid subscripts for ‘LatinExtB_upper_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_upper_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: valid subscripts for ‘LatinExtB_upper_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_upper_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: valid subscripts for ‘LatinExtB_upper_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_upper_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: valid subscripts for ‘LatinExtB_upper_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_upper_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:8: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (9) read of 2 bytes at offset ‘code * 2 + 8589933402’ exceeds ‘IPAExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: valid subscripts for ‘IPAExt_upper_mapping’ are ‘[0]’ to ‘[63]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬─────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [63] │ │ │ ├────────────────┴────────────────┴─────────────────┤ │after valid range│ │‘IPAExt_upper_mapping’ (type: ‘const uint16_t[64]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589933402) - 128’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 128 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (22) read of 2 bytes at offset ‘*upper * 2 + 8589933402’ exceeds ‘IPAExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: valid subscripts for ‘IPAExt_upper_mapping’ are ‘[0]’ to ‘[63]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬─────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [63] │ │ │ ├────────────────┴────────────────┴─────────────────┤ │after valid range│ │‘IPAExt_upper_mapping’ (type: ‘const uint16_t[64]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589933402) - 128’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 128 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589933402’ exceeds ‘IPAExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: valid subscripts for ‘IPAExt_upper_mapping’ are ‘[0]’ to ‘[63]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬─────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [63] │ │ │ ├────────────────┴────────────────┴─────────────────┤ │after valid range│ │‘IPAExt_upper_mapping’ (type: ‘const uint16_t[64]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589933402) - 128’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 128 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589933402’ exceeds ‘IPAExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: valid subscripts for ‘IPAExt_upper_mapping’ are ‘[0]’ to ‘[63]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬─────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [63] │ │ │ ├────────────────┴────────────────┴─────────────────┤ │after valid range│ │‘IPAExt_upper_mapping’ (type: ‘const uint16_t[64]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589933402) - 128’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 128 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589933402’ exceeds ‘IPAExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: valid subscripts for ‘IPAExt_upper_mapping’ are ‘[0]’ to ‘[63]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬─────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [63] │ │ │ ├────────────────┴────────────────┴─────────────────┤ │after valid range│ │‘IPAExt_upper_mapping’ (type: ‘const uint16_t[64]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589933402) - 128’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 128 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589933402’ exceeds ‘IPAExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: valid subscripts for ‘IPAExt_upper_mapping’ are ‘[0]’ to ‘[63]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬─────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [63] │ │ │ ├────────────────┴────────────────┴─────────────────┤ │after valid range│ │‘IPAExt_upper_mapping’ (type: ‘const uint16_t[64]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589933402) - 128’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 128 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (9) read of 2 bytes at offset ‘code * 2 + 8589932832’ exceeds ‘Greek_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: valid subscripts for ‘Greek_lower_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_lower_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589932832) - 288’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (20) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: valid subscripts for ‘Greek_lower_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_lower_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589932832) - 288’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: valid subscripts for ‘Greek_lower_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_lower_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: valid subscripts for ‘Greek_lower_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_lower_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: valid subscripts for ‘Greek_lower_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_lower_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: valid subscripts for ‘Greek_lower_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_lower_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: (9) read of 2 bytes at offset ‘code * 2 + 8589932832’ exceeds ‘Greek_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: valid subscripts for ‘Greek_upper_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_upper_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589932832) - 288’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (20) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: valid subscripts for ‘Greek_upper_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_upper_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589932832) - 288’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: valid subscripts for ‘Greek_upper_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_upper_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: valid subscripts for ‘Greek_upper_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_upper_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: valid subscripts for ‘Greek_upper_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_upper_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: valid subscripts for ‘Greek_upper_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_upper_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (9) read of 2 bytes at offset ‘code * 2 + 8589918720’ exceeds ‘GreekExt_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: valid subscripts for ‘GreekExt_lower_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_lower_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589918720) - 512’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 512 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (20) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: valid subscripts for ‘GreekExt_lower_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_lower_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589918720) - 512’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 512 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: valid subscripts for ‘GreekExt_lower_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_lower_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: valid subscripts for ‘GreekExt_lower_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_lower_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: valid subscripts for ‘GreekExt_lower_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_lower_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: valid subscripts for ‘GreekExt_lower_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_lower_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: (9) read of 2 bytes at offset ‘code * 2 + 8589918720’ exceeds ‘GreekExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: valid subscripts for ‘GreekExt_upper_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_upper_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589918720) - 512’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 512 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (20) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: valid subscripts for ‘GreekExt_upper_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_upper_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589918720) - 512’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 512 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: valid subscripts for ‘GreekExt_upper_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_upper_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: valid subscripts for ‘GreekExt_upper_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_upper_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: valid subscripts for ‘GreekExt_upper_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_upper_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: valid subscripts for ‘GreekExt_upper_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_upper_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ [136/244] gcc -Iinteractive-evdev.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ interactive-evdev.p/tools_tools-common.c.o -MF interactive-evdev.p/tools_tools-common.c.o.d -o interactive-evdev.p/tools_tools-common.c.o -c ../tools/tools-common.c /builddir/build/BUILD/libxkbcommon-1.7.0/tools/tools-common.c:201: warning: objectIndex(CWE-758): The address of local variable 'sym' might be accessed at non-zero index. <--[cppcheck] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/tools-common.c:201: warning: objectIndex(CWE-758): The address of local variable 'sym' might be accessed at non-zero index. <--[cppcheck] [137/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/test_common.c.o -MF libxkbcommon-test-internal.a.p/test_common.c.o.d -o libxkbcommon-test-internal.a.p/test_common.c.o -c ../test/common.c /builddir/build/BUILD/libxkbcommon-1.7.0/test/common.c:130: warning: objectIndex(CWE-758): The address of local variable 'sym' might be accessed at non-zero index. <--[cppcheck] /builddir/build/BUILD/libxkbcommon-1.7.0/test/common.c:134: warning: objectIndex(CWE-758): The address of local variable 'sym' might be accessed at non-zero index. <--[cppcheck] [138/244] gcc -o xkb-check-messages xkb-check-messages.p/tools_check-messages.c.o xkb-check-messages.p/tools_messages.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [139/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_compose_parser.c.o -MF libxkbcommon-test-internal.a.p/src_compose_parser.c.o.d -o libxkbcommon-test-internal.a.p/src_compose_parser.c.o -c ../src/compose/parser.c [140/244] gcc -Ixkbcli-interactive-x11.p -I. -I.. -I../tools -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ xkbcli-interactive-x11.p/tools_interactive-x11.c.o -MF xkbcli-interactive-x11.p/tools_interactive-x11.c.o.d -o xkbcli-interactive-x11.p/tools_interactive-x11.c.o -c ../tools/interactive-x11.c /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-x11.c:196:5: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] <--[clang] [141/244] gcc -Ixkbcli-interactive-wayland.p -I. -I.. -I../tools -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ xkbcli-interactive-wayland.p/tools_interactive-wayland.c.o -MF xkbcli-interactive-wayland.p/tools_interactive-wayland.c.o.d -o xkbcli-interactive-wayland.p/tools_interactive-wayland.c.o -c ../tools/interactive-wayland.c /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:678: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If wl_list_for_each_safe is a macro then please configure it. <--[cppcheck] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c: In function ‘seat_create’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:582:23: warning: dereference of possibly-NULL ‘seat’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:580:37: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:582:23: note: (2) ‘seat’ could be NULL: unchecked value from (1) <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:820:5: warning: use of uninitialized value ‘ret’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:716:9: note: (1) region created on stack here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:716:9: note: (2) capacity: 4 bytes <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:759:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:765:17: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:766:8: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:772:8: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:772:8: note: (7) following ‘true’ branch (when ‘with_compose != 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:773:18: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:777:12: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:778:13: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:820:5: note: (11) use of uninitialized value ‘ret’ here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:820:5: warning: ‘ret’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc] 820 | exit(ret >= 0 ? EXIT_SUCCESS : EXIT_FAILURE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:716:9: note: ‘ret’ was declared here <--[gcc] 716 | int ret; | ^~~ /builddir/build/BUILD/libxkbcommon-1.7.0/tools/interactive-wayland.c:820:14: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] [142/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/meson-generated_parser.c.o -MF libxkbcommon-test-internal.a.p/meson-generated_parser.c.o.d -o libxkbcommon-test-internal.a.p/meson-generated_parser.c.o -c libxkbcommon-test-internal.a.p/parser.c /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c: In function ‘_xkbcommon_parse’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:605:7: warning: use of uninitialized value ‘yyss’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:590:9: note: in expansion of macro ‘YYCOPY’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1698:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/parser.y:810:1: note: (1) entry to ‘parse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:68:25: note: (2) calling ‘_xkbcommon_parse’ from ‘parse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/parser.y:829:19: note: in expansion of macro ‘yyparse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:68:25: note: (3) entry to ‘_xkbcommon_parse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1577:1: note: in expansion of macro ‘yyparse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1603:16: note: (4) region created on stack here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1603:16: note: (5) capacity: 400 bytes <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1656:6: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1662:34: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1685:10: note: (8) following ‘false’ branch (when ‘yystacksize <= 9999’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1687:19: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1696:12: note: (10) following ‘false’ branch (when ‘yyptr’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:590:17: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:605:25: note: in definition of macro ‘YYCOPY’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1698:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:605:7: note: (12) use of uninitialized value ‘yyss’ here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:590:9: note: in expansion of macro ‘YYCOPY’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1698:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1825:9: warning: use of uninitialized value ‘*<unknown>’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/parser.y:810:1: note: (1) entry to ‘parse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:68:25: note: (2) calling ‘_xkbcommon_parse’ from ‘parse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/parser.y:829:19: note: in expansion of macro ‘yyparse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:68:25: note: (3) entry to ‘_xkbcommon_parse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1577:1: note: in expansion of macro ‘yyparse’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1608:13: note: (4) region created on stack here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1656:6: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1720:6: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1720:6: note: (7) following ‘false’ branch (when ‘yystate != 16’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1723:3: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1735:6: note: (9) following ‘false’ branch (when ‘yyn != -182’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1741:6: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1741:6: note: (11) following ‘true’ branch (when ‘yychar == -2’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:69:25: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1744:16: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1753:11: note: (13) following ‘false’ branch (when ‘yychar != 256’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:640:15: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1765:17: note: in expansion of macro ‘YYTRANSLATE’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1805:6: note: (15) following ‘false’ branch (when ‘yyn != 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1807:3: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/libxkbcommon-test-internal.a.p/parser.c:1825:9: note: (17) use of uninitialized value ‘*<unknown>’ here <--[gcc] [143/244] gcc -o xkbcli-interactive-x11 xkbcli-interactive-x11.p/tools_interactive-x11.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-x11.so.0.0.0 libtools-internal.a libxkbcommon.so.0.0.0 /usr/lib64/libxcb.so /usr/lib64/libxcb-xkb.so -Wl,--end-group [144/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_compose_state.c.o -MF libxkbcommon-test-internal.a.p/src_compose_state.c.o.d -o libxkbcommon-test-internal.a.p/src_compose_state.c.o -c ../src/compose/state.c [145/244] gcc -o xkbcli-interactive-wayland xkbcli-interactive-wayland.p/meson-generated_xdg-shell-protocol.c.o xkbcli-interactive-wayland.p/tools_interactive-wayland.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libtools-internal.a libxkbcommon.so.0.0.0 /usr/lib64/libwayland-client.so -Wl,--end-group [146/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_xkbcomp_action.c.o -MF libxkbcommon-test-internal.a.p/src_xkbcomp_action.c.o.d -o libxkbcommon-test-internal.a.p/src_xkbcomp_action.c.o -c ../src/xkbcomp/action.c [147/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_xkbcomp_include.c.o -MF libxkbcommon-test-internal.a.p/src_xkbcomp_include.c.o.d -o libxkbcommon-test-internal.a.p/src_xkbcomp_include.c.o -c ../src/xkbcomp/include.c [148/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_compose_table.c.o -MF libxkbcommon-test-internal.a.p/src_compose_table.c.o.d -o libxkbcommon-test-internal.a.p/src_compose_table.c.o -c ../src/compose/table.c /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:66: error: uninitStructMember(CWE-457): Uninitialized struct member: dummy.lokid <--[cppcheck] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:66: error: uninitStructMember(CWE-457): Uninitialized struct member: dummy.hikid <--[cppcheck] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:26: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c: In function ‘xkb_compose_table_new’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of possibly-NULL ‘*table.nodes.item’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:66:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:43:8: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:46:13: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:47:8: note: (3) following ‘false’ branch (when ‘table’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:52:19: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (5) this call could return NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:66:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (6) ‘*table.nodes.item’ could be NULL: unchecked value from (5) <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:66:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of possibly-NULL ‘*table.utf8.item’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:68:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:43:8: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:46:13: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:47:8: note: (3) following ‘false’ branch (when ‘table’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:52:19: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (5) this call could return NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:68:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (6) ‘*table.utf8.item’ could be NULL: unchecked value from (5) <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:68:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c: In function ‘xkb_compose_table_iterator_new’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of possibly-NULL ‘*iter.cursors.item’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:293:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:273:8: note: (1) following ‘false’ branch (when ‘iter’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:276:19: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:278:8: note: (3) following ‘false’ branch (when ‘sequence’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:282:26: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:287:8: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:38: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:293:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (7) this call could return NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:293:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (8) ‘*iter.cursors.item’ could be NULL: unchecked value from (7) <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/table.c:293:9: note: in expansion of macro ‘darray_append’ <--[gcc] [149/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_compose_paths.c.o -MF libxkbcommon-test-internal.a.p/src_compose_paths.c.o.d -o libxkbcommon-test-internal.a.p/src_compose_paths.c.o -c ../src/compose/paths.c [150/244] gcc -o interactive-evdev interactive-evdev.p/meson-generated_parser.c.o interactive-evdev.p/tools_interactive-evdev.c.o interactive-evdev.p/src_compose_parser.c.o interactive-evdev.p/src_compose_paths.c.o interactive-evdev.p/src_compose_state.c.o interactive-evdev.p/src_compose_table.c.o interactive-evdev.p/src_xkbcomp_action.c.o interactive-evdev.p/src_xkbcomp_ast-build.c.o interactive-evdev.p/src_xkbcomp_compat.c.o interactive-evdev.p/src_xkbcomp_expr.c.o interactive-evdev.p/src_xkbcomp_include.c.o interactive-evdev.p/src_xkbcomp_keycodes.c.o interactive-evdev.p/src_xkbcomp_keymap.c.o interactive-evdev.p/src_xkbcomp_keymap-dump.c.o interactive-evdev.p/src_xkbcomp_keywords.c.o interactive-evdev.p/src_xkbcomp_rules.c.o interactive-evdev.p/src_xkbcomp_scanner.c.o interactive-evdev.p/src_xkbcomp_symbols.c.o interactive-evdev.p/src_xkbcomp_types.c.o interactive-evdev.p/src_xkbcomp_vmod.c.o interactive-evdev.p/src_xkbcomp_xkbcomp.c.o interactive-evdev.p/src_atom.c.o interactive-evdev.p/src_context.c.o interactive-evdev.p/src_context-priv.c.o interactive-evdev.p/src_keysym.c.o interactive-evdev.p/src_keysym-utf.c.o interactive-evdev.p/src_keymap.c.o interactive-evdev.p/src_keymap-priv.c.o interactive-evdev.p/src_state.c.o interactive-evdev.p/src_text.c.o interactive-evdev.p/src_utf8.c.o interactive-evdev.p/src_utils.c.o interactive-evdev.p/tools_tools-common.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [151/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_xkbcomp_expr.c.o -MF libxkbcommon-test-internal.a.p/src_xkbcomp_expr.c.o.d -o libxkbcommon-test-internal.a.p/src_xkbcomp_expr.c.o -c ../src/xkbcomp/expr.c [152/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_xkbcomp_keywords.c.o -MF libxkbcommon-test-internal.a.p/src_xkbcomp_keywords.c.o.d -o libxkbcommon-test-internal.a.p/src_xkbcomp_keywords.c.o -c ../src/xkbcomp/keywords.c [153/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_xkbcomp_compat.c.o -MF libxkbcommon-test-internal.a.p/src_xkbcomp_compat.c.o.d -o libxkbcommon-test-internal.a.p/src_xkbcomp_compat.c.o -c ../src/xkbcomp/compat.c In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:88, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/xkbcomp-priv.h:30, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:52: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c: In function ‘AddInterp’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:916:1: note: (1) entry to ‘CompileCompatMap’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:923:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:926:52: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:930:5: note: (4) calling ‘HandleCompatMapFile’ from ‘CompileCompatMap’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:763:1: note: (5) entry to ‘HandleCompatMapFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:770:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleCompatMapFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleCompatMapFile’ at ../src/xkbcomp/compat.c:770:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c: In function ‘AddInterp’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:772:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:773:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:773:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:774:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:775:18: note: (13) calling ‘HandleIncludeCompatMap’ from ‘HandleCompatMapFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:432:1: note: (14) entry to ‘HandleIncludeCompatMap’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:436:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:442:35: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:445:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:449:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:450:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:456:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:463:9: note: (21) calling ‘HandleCompatMapFile’ from ‘HandleIncludeCompatMap’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:763:1: note: (22) entry to ‘HandleCompatMapFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:770:18: note: (23) inlined call to ‘strdup_safe’ from ‘HandleCompatMapFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleCompatMapFile’ at ../src/xkbcomp/compat.c:770:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c: In function ‘AddInterp’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:772:42: note: (26) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:773:21: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:773:9: note: (28) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:774:9: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:775:18: note: (30) calling ‘HandleIncludeCompatMap’ from ‘HandleCompatMapFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:432:1: note: (31) entry to ‘HandleIncludeCompatMap’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:436:8: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:442:35: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:445:39: note: (34) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:449:16: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:450:12: note: (36) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:456:9: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:463:9: note: (38) calling ‘HandleCompatMapFile’ from ‘HandleIncludeCompatMap’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:763:1: note: (39) entry to ‘HandleCompatMapFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:770:18: note: (40) inlined call to ‘strdup_safe’ from ‘HandleCompatMapFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleCompatMapFile’ at ../src/xkbcomp/compat.c:770:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (41) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c: In function ‘AddInterp’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:772:42: note: (43) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:773:21: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:773:9: note: (45) following ‘case 7:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:777:9: note: (46) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:778:18: note: (47) calling ‘HandleInterpDef’ from ‘HandleCompatMapFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:690:1: note: (48) entry to ‘HandleInterpDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:696:10: note: (49) calling ‘ResolveStateAndPredicate’ from ‘HandleInterpDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:263:1: note: (50) entry to ‘ResolveStateAndPredicate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:266:8: note: (51) following ‘false’ branch (when ‘expr’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:272:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:696:10: note: (53) returning to ‘HandleInterpDef’ from ‘ResolveStateAndPredicate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:696:8: note: (54) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:703:8: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:709:10: note: (56) calling ‘HandleInterpBody’ from ‘HandleInterpDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:664:1: note: (57) entry to ‘HandleInterpBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:670:12: note: (58) following ‘false’ branch (when ‘def’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:686:12: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:709:10: note: (60) returning to ‘HandleInterpDef’ from ‘HandleInterpBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:709:8: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:714:10: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:714:10: note: (63) calling ‘AddInterp’ from ‘HandleInterpDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:206:1: note: (64) entry to ‘AddInterp’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:208:26: note: (65) calling ‘FindMatchingInterp’ from ‘AddInterp’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:174:1: note: (66) entry to ‘FindMatchingInterp’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (67) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:178:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (68) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:178:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (69) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:178:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] cc1: note: (70) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:208:26: note: (71) returning to ‘AddInterp’ from ‘FindMatchingInterp’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:209:8: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:29: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (74) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (75) inlined call to ‘darray_next_alloc’ from ‘AddInterp’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:31: <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddInterp’ at ../src/xkbcomp/compat.c:256:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (77) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (79) following ‘true’ branch... <--[gcc] In function ‘AddInterp’: cc1: note: (80) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (81) inlined call to ‘darray_next_alloc’ from ‘AddInterp’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddInterp’ at ../src/xkbcomp/compat.c:256:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (82) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c: In function ‘AddInterp’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:31: note: (84) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (85) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (86) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (87) dereference of NULL ‘*info.interps.item + (long unsigned int)(*info.interps.size + 4294967295) * 44’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/compat.c:256:5: note: in expansion of macro ‘darray_append’ <--[gcc] [154/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_xkbcomp_ast-build.c.o -MF libxkbcommon-test-internal.a.p/src_xkbcomp_ast-build.c.o.d -o libxkbcommon-test-internal.a.p/src_xkbcomp_ast-build.c.o -c ../src/xkbcomp/ast-build.c In function ‘ExprCreate’, inlined from ‘ExprCreateString’ at ../src/xkbcomp/ast-build.c:78:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateString’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:81:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 81 | expr->string.str = str; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateString’ at ../src/xkbcomp/ast-build.c:78:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateInteger’ at ../src/xkbcomp/ast-build.c:88:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateInteger’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:91:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 91 | expr->integer.ival = ival; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateInteger’ at ../src/xkbcomp/ast-build.c:88:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateFloat’ at ../src/xkbcomp/ast-build.c:98:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[24]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 24 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[24]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 24 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[24]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 24 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[24]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 24 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateBoolean’ at ../src/xkbcomp/ast-build.c:107:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateBoolean’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:110:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 110 | expr->boolean.set = set; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateBoolean’ at ../src/xkbcomp/ast-build.c:107:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateKeyName’ at ../src/xkbcomp/ast-build.c:117:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateKeyName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:120:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 120 | expr->key_name.key_name = key_name; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateKeyName’ at ../src/xkbcomp/ast-build.c:117:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateIdent’ at ../src/xkbcomp/ast-build.c:127:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateIdent’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:130:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 130 | expr->ident.ident = ident; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateIdent’ at ../src/xkbcomp/ast-build.c:127:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateUnary’ at ../src/xkbcomp/ast-build.c:138:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateUnary’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:141:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 141 | expr->unary.child = child; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateUnary’ at ../src/xkbcomp/ast-build.c:138:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateBinary’ at ../src/xkbcomp/ast-build.c:148:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateBinary’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:156:13: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 156 | expr->expr.value_type = left->expr.value_type; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateBinary’ at ../src/xkbcomp/ast-build.c:148:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateBinary’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:153:13: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 153 | expr->expr.value_type = right->expr.value_type; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateBinary’ at ../src/xkbcomp/ast-build.c:148:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateBinary’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:157:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 157 | expr->binary.left = left; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateBinary’ at ../src/xkbcomp/ast-build.c:148:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateBinary’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:158:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 158 | expr->binary.right = right; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateBinary’ at ../src/xkbcomp/ast-build.c:148:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateFieldRef’ at ../src/xkbcomp/ast-build.c:166:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateFieldRef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:169:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 169 | expr->field_ref.element = element; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateFieldRef’ at ../src/xkbcomp/ast-build.c:166:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateFieldRef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:170:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 170 | expr->field_ref.field = field; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateFieldRef’ at ../src/xkbcomp/ast-build.c:166:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateArrayRef’ at ../src/xkbcomp/ast-build.c:177:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateArrayRef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:180:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 180 | expr->array_ref.element = element; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateArrayRef’ at ../src/xkbcomp/ast-build.c:177:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateArrayRef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:181:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 181 | expr->array_ref.field = field; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateArrayRef’ at ../src/xkbcomp/ast-build.c:177:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateArrayRef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:182:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 182 | expr->array_ref.entry = entry; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateArrayRef’ at ../src/xkbcomp/ast-build.c:177:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateAction’ at ../src/xkbcomp/ast-build.c:189:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateAction’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:192:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 192 | expr->action.name = name; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateAction’ at ../src/xkbcomp/ast-build.c:189:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateAction’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:193:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[40]’ [-Warray-bounds=] <--[gcc] 193 | expr->action.args = args; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateAction’ at ../src/xkbcomp/ast-build.c:189:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 40 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ In function ‘ExprCreate’, inlined from ‘ExprCreateActionList’ at ../src/xkbcomp/ast-build.c:200:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:67:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 67 | expr->common.type = STMT_EXPR; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:68:23: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 68 | expr->common.next = NULL; | ^ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:69:19: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 69 | expr->expr.op = op; | ~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:70:27: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 70 | expr->expr.value_type = type; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c: In function ‘ExprCreateActionList’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:203:9: warning: array subscript ‘union ExprDef[0]’ is partly outside array bounds of ‘unsigned char[32]’ [-Warray-bounds=] <--[gcc] 203 | expr->actions.actions = actions; | ^~ In function ‘ExprCreate’, inlined from ‘ExprCreateActionList’ at ../src/xkbcomp/ast-build.c:200:21: /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/ast-build.c:63:21: note: object of size 32 allocated by ‘malloc’ <--[gcc] 63 | ExprDef *expr = malloc(size); | ^~~~~~~~~~~~ [155/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_xkbcomp_keycodes.c.o -MF libxkbcommon-test-internal.a.p/src_xkbcomp_keycodes.c.o.d -o libxkbcommon-test-internal.a.p/src_xkbcomp_keycodes.c.o -c ../src/xkbcomp/keycodes.c In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:88, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/xkbcomp-priv.h:30, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:29: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘AddKeyName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:668:1: note: (1) entry to ‘CompileKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:675:5: note: (2) calling ‘HandleKeycodesFile’ from ‘CompileKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:498:1: note: (3) entry to ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:18: note: (4) inlined call to ‘strdup_safe’ from ‘HandleKeycodesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeycodesFile’ at ../src/xkbcomp/keycodes.c:503:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘AddKeyName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:505:42: note: (7) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:9: note: (9) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:507:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:508:18: note: (11) calling ‘HandleIncludeKeycodes’ from ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:341:1: note: (12) entry to ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:345:8: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:350:5: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:353:39: note: (15) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:357:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:358:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:364:53: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:366:9: note: (19) calling ‘HandleKeycodesFile’ from ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:498:1: note: (20) entry to ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:18: note: (21) inlined call to ‘strdup_safe’ from ‘HandleKeycodesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeycodesFile’ at ../src/xkbcomp/keycodes.c:503:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘AddKeyName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:505:42: note: (24) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:9: note: (26) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:507:9: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:508:18: note: (28) calling ‘HandleIncludeKeycodes’ from ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:341:1: note: (29) entry to ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:345:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:350:5: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:353:39: note: (32) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:357:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:358:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:364:53: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:366:9: note: (36) calling ‘HandleKeycodesFile’ from ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:498:1: note: (37) entry to ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:18: note: (38) inlined call to ‘strdup_safe’ from ‘HandleKeycodesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeycodesFile’ at ../src/xkbcomp/keycodes.c:503:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘AddKeyName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:505:42: note: (41) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:21: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:9: note: (43) following ‘case 2:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:510:9: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:511:18: note: (45) calling ‘HandleKeycodeDef’ from ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:381:1: note: (46) entry to ‘HandleKeycodeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:390:8: note: (47) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:397:12: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:397:12: note: (49) calling ‘AddKeyName’ from ‘HandleKeycodeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:185:1: note: (50) entry to ‘AddKeyName’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:192:21: note: (51) following ‘true’ branch (when ‘report != 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:192:49: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:192:21: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:192:54: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:194:8: note: (55) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:38: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (57) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:23: note: (58) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:162:27: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:22: note: (61) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (62) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (63) argument 1 (‘*info.key_names.item + (long unsigned int)*info.key_names.size * 4’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:195:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘HandleAliasDef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:668:1: note: (1) entry to ‘CompileKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:675:5: note: (2) calling ‘HandleKeycodesFile’ from ‘CompileKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:498:1: note: (3) entry to ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:18: note: (4) inlined call to ‘strdup_safe’ from ‘HandleKeycodesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeycodesFile’ at ../src/xkbcomp/keycodes.c:503:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘HandleAliasDef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:505:42: note: (7) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:9: note: (9) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:507:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:508:18: note: (11) calling ‘HandleIncludeKeycodes’ from ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:341:1: note: (12) entry to ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:345:8: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:350:5: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:353:39: note: (15) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:357:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:358:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:364:53: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:366:9: note: (19) calling ‘HandleKeycodesFile’ from ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:498:1: note: (20) entry to ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:18: note: (21) inlined call to ‘strdup_safe’ from ‘HandleKeycodesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeycodesFile’ at ../src/xkbcomp/keycodes.c:503:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘HandleAliasDef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:505:42: note: (24) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:9: note: (26) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:507:9: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:508:18: note: (28) calling ‘HandleIncludeKeycodes’ from ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:341:1: note: (29) entry to ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:345:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:350:5: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:353:39: note: (32) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:357:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:358:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:364:53: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:366:9: note: (36) calling ‘HandleKeycodesFile’ from ‘HandleIncludeKeycodes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:498:1: note: (37) entry to ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:18: note: (38) inlined call to ‘strdup_safe’ from ‘HandleKeycodesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeycodesFile’ at ../src/xkbcomp/keycodes.c:503:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘HandleAliasDef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:503:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:505:42: note: (41) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:21: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:506:9: note: (43) following ‘case 3:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:513:9: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:514:18: note: (45) calling ‘HandleAliasDef’ from ‘HandleKeycodesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:402:1: note: (46) entry to ‘HandleAliasDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (47) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:406:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (48) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:406:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:406:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:438:5: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (52) inlined call to ‘darray_next_alloc’ from ‘HandleAliasDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:31: <--[gcc] In function ‘darray_next_alloc’, inlined from ‘HandleAliasDef’ at ../src/xkbcomp/keycodes.c:439:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (54) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (56) following ‘true’ branch... <--[gcc] In function ‘HandleAliasDef’: cc1: note: (57) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (58) inlined call to ‘darray_next_alloc’ from ‘HandleAliasDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘HandleAliasDef’ at ../src/xkbcomp/keycodes.c:439:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c: In function ‘HandleAliasDef’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (61) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (62) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (63) dereference of NULL ‘*info.aliases.item + (long unsigned int)(*info.aliases.size + 4294967295) * 12’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/keycodes.c:439:5: note: in expansion of macro ‘darray_append’ <--[gcc] [156/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_xkbcomp_keymap.c.o -MF libxkbcommon-test-internal.a.p/src_xkbcomp_keymap.c.o.d -o libxkbcommon-test-internal.a.p/src_xkbcomp_keymap.c.o -c ../src/xkbcomp/keymap.c [157/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_xkbcomp_keymap-dump.c.o -MF libxkbcommon-test-internal.a.p/src_xkbcomp_keymap-dump.c.o.d -o libxkbcommon-test-internal.a.p/src_xkbcomp_keymap-dump.c.o -c ../src/xkbcomp/keymap-dump.c [158/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_xkbcomp_scanner.c.o -MF libxkbcommon-test-internal.a.p/src_xkbcomp_scanner.c.o.d -o libxkbcommon-test-internal.a.p/src_xkbcomp_scanner.c.o -c ../src/xkbcomp/scanner.c [159/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_xkbcomp_vmod.c.o -MF libxkbcommon-test-internal.a.p/src_xkbcomp_vmod.c.o.d -o libxkbcommon-test-internal.a.p/src_xkbcomp_vmod.c.o -c ../src/xkbcomp/vmod.c [160/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_xkbcomp_rules.c.o -MF libxkbcommon-test-internal.a.p/src_xkbcomp_rules.c.o.d -o libxkbcommon-test-internal.a.p/src_xkbcomp_rules.c.o -c ../src/xkbcomp/rules.c /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1159: error: nullPointer(CWE-476): Null pointer dereference: (unsigned int*)(NULL) <--[cppcheck] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1160: error: nullPointer(CWE-476): Null pointer dereference: (unsigned int*)(NULL) <--[cppcheck] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1161: error: nullPointer(CWE-476): Null pointer dereference: (unsigned int*)(NULL) <--[cppcheck] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1162: error: nullPointer(CWE-476): Null pointer dereference: (unsigned int*)(NULL) <--[cppcheck] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:88, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/xkbcomp-priv.h:30, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:52: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c: In function ‘split_comma_separated_mlvo’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of possibly-NULL ‘__builtin_malloc(96)’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:286:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1129:1: note: (1) entry to ‘xkb_components_from_rules’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1141:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1144:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1144:15: note: (4) calling ‘matcher_new’ from ‘xkb_components_from_rules’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:303:1: note: (5) entry to ‘matcher_new’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:307:8: note: (6) following ‘false’ branch (when ‘m’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:310:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:313:24: note: (8) calling ‘split_comma_separated_mlvo’ from ‘matcher_new’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:275:1: note: (9) entry to ‘split_comma_separated_mlvo’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:284:8: note: (10) following ‘true’ branch (when ‘s’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:286:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (12) this call could return NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:286:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (13) ‘__builtin_malloc(96)’ could be NULL: unchecked value from (12) <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:286:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c: In function ‘split_comma_separated_mlvo.part.0’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:275:1: note: (1) entry to ‘split_comma_separated_mlvo.part.0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:292:27: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:293:20: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:293:20: note: (4) calling ‘strip_spaces’ from ‘split_comma_separated_mlvo.part.0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:267:1: note: (5) entry to ‘strip_spaces’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:270:22: note: (6) following ‘false’ branch (when ‘<unknown> == 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:271:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:293:20: note: (8) returning to ‘split_comma_separated_mlvo.part.0’ from ‘strip_spaces’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (10) inlined call to ‘darray_next_alloc’ from ‘split_comma_separated_mlvo.part.0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:31: <--[gcc] In function ‘darray_next_alloc’, inlined from ‘split_comma_separated_mlvo.part.0’ at ../src/xkbcomp/rules.c:294:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (14) following ‘true’ branch (when ‘<unknown> == 0’)... <--[gcc] In function ‘split_comma_separated_mlvo.part.0’: cc1: note: (15) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (16) inlined call to ‘darray_next_alloc’ from ‘split_comma_separated_mlvo.part.0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘split_comma_separated_mlvo.part.0’ at ../src/xkbcomp/rules.c:294:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c: In function ‘split_comma_separated_mlvo.part.0’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (19) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (20) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (21) dereference of NULL ‘arr.item + (long unsigned int)arr.size * 24’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:294:9: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c: In function ‘read_rules_file’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1107:5: warning: dereference of NULL ‘matcher’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1129:1: note: (1) entry to ‘xkb_components_from_rules’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1141:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1144:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1144:15: note: (4) calling ‘matcher_new’ from ‘xkb_components_from_rules’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:303:1: note: (5) entry to ‘matcher_new’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:306:25: note: (6) allocated here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:307:8: note: (7) assuming ‘m’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:307:8: note: (8) following ‘true’ branch (when ‘m’ is NULL)... <--[gcc] cc1: note: (9) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1144:15: note: (10) returning to ‘xkb_components_from_rules’ from ‘matcher_new’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1146:11: note: (11) calling ‘read_rules_file’ from ‘xkb_components_from_rules’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1089:1: note: (12) entry to ‘read_rules_file’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1100:8: note: (13) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1107:5: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/rules.c:1107:5: note: (15) dereference of NULL ‘matcher’ <--[gcc] [161/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_xkbcomp_types.c.o -MF libxkbcommon-test-internal.a.p/src_xkbcomp_types.c.o.d -o libxkbcommon-test-internal.a.p/src_xkbcomp_types.c.o -c ../src/xkbcomp/types.c In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:88, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/xkbcomp-priv.h:30, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:29: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddKeyType’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:770:1: note: (1) entry to ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:777:5: note: (2) calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (3) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (4) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddKeyType’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (7) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (9) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (11) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (12) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (15) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (19) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (20) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (21) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddKeyType’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (24) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (26) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (28) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (29) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (32) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (36) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (37) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (38) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (39) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddKeyType’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (41) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (43) following ‘case 6:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:684:9: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:685:18: note: (45) calling ‘HandleKeyTypeDef’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:646:1: note: (46) entry to ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:658:8: note: (47) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:659:10: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:659:10: note: (49) calling ‘AddKeyType’ from ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:144:1: note: (50) entry to ‘AddKeyType’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:149:11: note: (51) inlined call to ‘FindMatchingKeyType’ from ‘AddKeyType’ <--[gcc] In function ‘FindMatchingKeyType’, inlined from ‘AddKeyType’ at ../src/xkbcomp/types.c:149:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (52) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:136:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (53) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:136:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (54) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:136:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddKeyType’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:150:8: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:150:8: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:35: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (58) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (59) inlined call to ‘darray_next_alloc’ from ‘AddKeyType’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:31: <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddKeyType’ at ../src/xkbcomp/types.c:178:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (63) following ‘true’ branch... <--[gcc] In function ‘AddKeyType’: cc1: note: (64) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (65) inlined call to ‘darray_next_alloc’ from ‘AddKeyType’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddKeyType’ at ../src/xkbcomp/types.c:178:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (66) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddKeyType’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (67) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (68) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (69) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (70) dereference of NULL ‘*info.types.item + (long unsigned int)(*info.types.size + 4294967295) * 56’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:178:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:770:1: note: (1) entry to ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:777:5: note: (2) calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (3) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (4) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (7) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (9) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (11) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (12) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (15) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (19) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (20) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (21) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (24) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (26) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (28) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (29) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (32) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (36) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (37) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (38) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (39) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (41) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (43) following ‘case 6:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:684:9: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:685:18: note: (45) calling ‘HandleKeyTypeDef’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:646:1: note: (46) entry to ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:648:17: note: (47) ‘type.entries.item’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:658:10: note: (48) calling ‘HandleKeyTypeBody’ from ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:609:1: note: (49) entry to ‘HandleKeyTypeBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:615:12: note: (50) following ‘true’ branch (when ‘def’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:616:43: note: (51) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:618:12: note: (52) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:621:13: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:621:12: note: (54) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:639:14: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:639:14: note: (56) calling ‘SetKeyTypeField’ from ‘HandleKeyTypeBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:576:1: note: (57) entry to ‘SetKeyTypeField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:582:8: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:586:14: note: (59) inlined call to ‘istreq’ from ‘SetKeyTypeField’ <--[gcc] In function ‘istreq’, inlined from ‘SetKeyTypeField’ at ../src/xkbcomp/types.c:586:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:586:13: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:588:14: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:588:14: note: (63) calling ‘SetMapEntry’ from ‘SetKeyTypeField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:353:1: note: (64) entry to ‘SetMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:358:8: note: (65) following ‘false’ branch (when ‘arrayNdx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:361:60: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:361:8: note: (67) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:366:19: note: (68) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:378:8: note: (69) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:385:25: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:387:12: note: (71) calling ‘AddMapEntry’ from ‘SetMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:311:1: note: (72) entry to ‘AddMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:316:11: note: (73) inlined call to ‘FindMatchingMapEntry’ from ‘AddMapEntry’ <--[gcc] In function ‘FindMatchingMapEntry’, inlined from ‘AddMapEntry’ at ../src/xkbcomp/types.c:316:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (74) ‘entry’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:303:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (75) ‘entry’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:303:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (76) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:303:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:317:8: note: (77) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:317:8: note: (78) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:345:12: note: (79) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (80) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (81) inlined call to ‘darray_next_alloc’ from ‘AddMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddMapEntry’ at ../src/xkbcomp/types.c:348:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (83) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (84) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (85) following ‘true’ branch... <--[gcc] In function ‘AddMapEntry’: cc1: note: (86) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (87) inlined call to ‘darray_next_alloc’ from ‘AddMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddMapEntry’ at ../src/xkbcomp/types.c:348:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (88) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (89) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (90) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (91) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (92) dereference of NULL ‘*type.entries.item + (long unsigned int)(*type.entries.size + 4294967295) * 20’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:348:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:770:1: note: (1) entry to ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:777:5: note: (2) calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (3) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (4) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (7) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (9) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (11) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (12) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (15) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (19) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (20) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (21) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (24) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (26) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (28) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (29) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (32) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (36) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (37) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (38) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (39) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (41) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (43) following ‘case 6:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:684:9: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:685:18: note: (45) calling ‘HandleKeyTypeDef’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:646:1: note: (46) entry to ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:648:17: note: (47) ‘type.entries.item’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:658:10: note: (48) calling ‘HandleKeyTypeBody’ from ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:609:1: note: (49) entry to ‘HandleKeyTypeBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:615:12: note: (50) following ‘true’ branch (when ‘def’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:616:43: note: (51) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:618:12: note: (52) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:621:13: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:621:12: note: (54) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:639:14: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:639:14: note: (56) calling ‘SetKeyTypeField’ from ‘HandleKeyTypeBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:576:1: note: (57) entry to ‘SetKeyTypeField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:582:8: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:586:14: note: (59) inlined call to ‘istreq’ from ‘SetKeyTypeField’ <--[gcc] In function ‘istreq’, inlined from ‘SetKeyTypeField’ at ../src/xkbcomp/types.c:586:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:586:13: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:590:14: note: (62) inlined call to ‘istreq’ from ‘SetKeyTypeField’ <--[gcc] In function ‘istreq’, inlined from ‘SetKeyTypeField’ at ../src/xkbcomp/types.c:590:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (63) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:590:13: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:592:14: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:592:14: note: (66) calling ‘SetPreserve’ from ‘SetKeyTypeField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:447:1: note: (67) entry to ‘SetPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:452:8: note: (68) following ‘false’ branch (when ‘arrayNdx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:455:60: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:455:8: note: (70) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:459:21: note: (71) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:473:8: note: (72) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:484:25: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:484:8: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:499:12: note: (75) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:499:12: note: (76) calling ‘AddPreserve’ from ‘SetPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:393:1: note: (77) entry to ‘AddPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (78) ‘entry’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:399:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (79) ‘entry’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:399:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (80) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:399:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:35: note: (81) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (82) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (83) inlined call to ‘darray_next_alloc’ from ‘AddPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddPreserve’ at ../src/xkbcomp/types.c:442:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (84) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (85) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (86) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (87) following ‘true’ branch... <--[gcc] In function ‘AddPreserve’: cc1: note: (88) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (89) inlined call to ‘darray_next_alloc’ from ‘AddPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddPreserve’ at ../src/xkbcomp/types.c:442:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (90) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (91) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (92) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (93) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (94) dereference of NULL ‘*type.entries.item + (long unsigned int)(*type.entries.size + 4294967295) * 20’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: use of uninitialized value ‘new.mods.mask’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:770:1: note: (1) entry to ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:777:5: note: (2) calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (3) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (4) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (7) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (9) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (11) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (12) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (15) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (19) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (20) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (21) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (24) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (26) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:681:9: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:682:18: note: (28) calling ‘HandleIncludeKeyTypes’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:221:1: note: (29) entry to ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:225:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:230:60: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:233:39: note: (32) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:237:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:238:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:244:53: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:247:9: note: (36) calling ‘HandleKeyTypesFile’ from ‘HandleIncludeKeyTypes’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:672:1: note: (37) entry to ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:677:18: note: (38) inlined call to ‘strdup_safe’ from ‘HandleKeyTypesFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleKeyTypesFile’ at ../src/xkbcomp/types.c:677:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (39) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:679:42: note: (41) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:21: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:680:9: note: (43) following ‘case 6:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:684:9: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:685:18: note: (45) calling ‘HandleKeyTypeDef’ from ‘HandleKeyTypesFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:646:1: note: (46) entry to ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:658:10: note: (47) calling ‘HandleKeyTypeBody’ from ‘HandleKeyTypeDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:609:1: note: (48) entry to ‘HandleKeyTypeBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:615:12: note: (49) following ‘true’ branch (when ‘def’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:616:43: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:618:12: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:621:13: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:621:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:639:14: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:639:14: note: (55) calling ‘SetKeyTypeField’ from ‘HandleKeyTypeBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:576:1: note: (56) entry to ‘SetKeyTypeField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:582:8: note: (57) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:586:14: note: (58) inlined call to ‘istreq’ from ‘SetKeyTypeField’ <--[gcc] In function ‘istreq’, inlined from ‘SetKeyTypeField’ at ../src/xkbcomp/types.c:586:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:586:13: note: (60) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:590:14: note: (61) inlined call to ‘istreq’ from ‘SetKeyTypeField’ <--[gcc] In function ‘istreq’, inlined from ‘SetKeyTypeField’ at ../src/xkbcomp/types.c:590:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:590:13: note: (63) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:592:14: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:592:14: note: (65) calling ‘SetPreserve’ from ‘SetKeyTypeField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:447:1: note: (66) entry to ‘SetPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:452:8: note: (67) following ‘false’ branch (when ‘arrayNdx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:455:60: note: (68) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:455:8: note: (69) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:459:21: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:473:8: note: (71) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:484:25: note: (72) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:484:8: note: (73) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:499:12: note: (74) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:499:12: note: (75) calling ‘AddPreserve’ from ‘SetPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:393:1: note: (76) entry to ‘AddPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:397:31: note: (77) region created on stack here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:397:31: note: (78) capacity: 4 bytes <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (79) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:399:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:35: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (81) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (82) inlined call to ‘darray_next_alloc’ from ‘AddPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddPreserve’ at ../src/xkbcomp/types.c:442:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (84) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (85) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (86) following ‘true’ branch... <--[gcc] In function ‘AddPreserve’: cc1: note: (87) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (88) inlined call to ‘darray_next_alloc’ from ‘AddPreserve’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddPreserve’ at ../src/xkbcomp/types.c:442:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (89) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c: In function ‘AddPreserve’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (90) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (91) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (92) use of uninitialized value ‘new.mods.mask’ here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/types.c:442:5: note: in expansion of macro ‘darray_append’ <--[gcc] [162/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_xkbcomp_xkbcomp.c.o -MF libxkbcommon-test-internal.a.p/src_xkbcomp_xkbcomp.c.o.d -o libxkbcommon-test-internal.a.p/src_xkbcomp_xkbcomp.c.o -c ../src/xkbcomp/xkbcomp.c [163/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_context.c.o -MF libxkbcommon-test-internal.a.p/src_context.c.o.d -o libxkbcommon-test-internal.a.p/src_context.c.o -c ../src/context.c [164/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_context-priv.c.o -MF libxkbcommon-test-internal.a.p/src_context-priv.c.o.d -o libxkbcommon-test-internal.a.p/src_context-priv.c.o -c ../src/context-priv.c [165/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_keysym-utf.c.o -MF libxkbcommon-test-internal.a.p/src_keysym-utf.c.o.d -o libxkbcommon-test-internal.a.p/src_keysym-utf.c.o -c ../src/keysym-utf.c [166/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_xkbcomp_symbols.c.o -MF libxkbcommon-test-internal.a.p/src_xkbcomp_symbols.c.o.d -o libxkbcommon-test-internal.a.p/src_xkbcomp_symbols.c.o -c ../src/xkbcomp/symbols.c /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1534: error: nullPointer(CWE-476): Null pointer dereference: (unsigned int*)(NULL) <--[cppcheck] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:88, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/xkbcomp-priv.h:30, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:56: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:29: <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 9:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1262:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1263:18: note: (57) calling ‘HandleSymbolsDef’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1163:1: note: (58) entry to ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:106:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:112:5: note: in expansion of macro ‘darray_from_items’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1169:5: note: in expansion of macro ‘darray_copy’ <--[gcc] cc1: note: (60) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1170:38: note: (61) following ‘false’ branch (when ‘i >= __count’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1173:22: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:10: note: (63) calling ‘HandleSymbolsBody’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1090:1: note: (64) entry to ‘HandleSymbolsBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1096:12: note: (65) following ‘false’ branch (when ‘def’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1122:12: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:10: note: (67) returning to ‘HandleSymbolsDef’ from ‘HandleSymbolsBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:8: note: (68) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (70) calling ‘SetExplicitGroup’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1126:1: note: (71) entry to ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1132:8: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:210:32: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:211:16: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1143:8: note: (75) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1143:8: note: (76) following ‘false’ branch (when ‘warn == 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:14: note: (77) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (78) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (79) inlined call to ‘darray_next_alloc’ from ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:31: <--[gcc] In function ‘darray_next_alloc’, inlined from ‘SetExplicitGroup’ at ../src/xkbcomp/symbols.c:1152:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (81) following ‘false’ branch (when ‘__newSize <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (83) following ‘true’ branch... <--[gcc] In function ‘AddKeySymbols’: cc1: note: (84) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (85) inlined call to ‘darray_next_alloc’ from ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘SetExplicitGroup’ at ../src/xkbcomp/symbols.c:1152:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (86) following ‘false’ branch (when ‘__newSize <= alloc’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (88) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1153:8: note: (89) following ‘false’ branch... <--[gcc] cc1: note: (90) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (91) returning to ‘HandleSymbolsDef’ from ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1186:10: note: (92) calling ‘AddKeySymbols’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:436:1: note: (93) entry to ‘AddKeySymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (94) ‘iter’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:451:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (95) ‘iter’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:451:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (96) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:451:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:35: note: (97) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (98) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (99) inlined call to ‘darray_next_alloc’ from ‘AddKeySymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddKeySymbols’ at ../src/xkbcomp/symbols.c:455:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (100) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (101) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (102) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (103) following ‘true’ branch... <--[gcc] In function ‘AddKeySymbols’: cc1: note: (104) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (105) inlined call to ‘darray_next_alloc’ from ‘AddKeySymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddKeySymbols’ at ../src/xkbcomp/symbols.c:455:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (106) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddKeySymbols’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (107) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (108) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (109) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (110) dereference of NULL ‘*info.keys.item + (long unsigned int)(*info.keys.size + 4294967295) * 56’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:455:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 10:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1271:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1272:18: note: (57) calling ‘HandleModMapDef’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1195:1: note: (58) entry to ‘HandleModMapDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1203:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1220:18: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1223:36: note: (61) following ‘true’ branch (when ‘key’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1226:40: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1226:12: note: (63) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1228:28: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1244:14: note: (65) calling ‘AddModMapEntry’ from ‘HandleModMapDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:461:1: note: (66) entry to ‘AddModMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:14: note: (67) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:466:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:38: note: (68) ‘old’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:466:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:198:36: note: (69) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:466:5: note: in expansion of macro ‘darray_foreach’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:35: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (71) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (72) inlined call to ‘darray_next_alloc’ from ‘AddModMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddModMapEntry’ at ../src/xkbcomp/symbols.c:501:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (75) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (76) following ‘true’ branch... <--[gcc] In function ‘AddModMapEntry’: cc1: note: (77) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (78) inlined call to ‘darray_next_alloc’ from ‘AddModMapEntry’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddModMapEntry’ at ../src/xkbcomp/symbols.c:501:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (79) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddModMapEntry’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (81) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:15: note: (82) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (83) dereference of NULL ‘*info.modmaps.item + (long unsigned int)(*info.modmaps.size + 4294967295) * 16’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:501:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1265:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1266:18: note: (57) calling ‘HandleGlobalVar’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1036:1: note: (58) entry to ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1042:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:9: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:8: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:17: note: (62) inlined call to ‘istreq’ from ‘HandleGlobalVar’ <--[gcc] In function ‘istreq’, inlined from ‘HandleGlobalVar’ at ../src/xkbcomp/symbols.c:1045:17: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (63) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:14: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (66) calling ‘SetSymbolsField’ from ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:820:1: note: (67) entry to ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:823:8: note: (68) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:14: note: (69) inlined call to ‘istreq’ from ‘SetSymbolsField’ <--[gcc] In function ‘istreq’, inlined from ‘SetSymbolsField’ at ../src/xkbcomp/symbols.c:854:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:13: note: (71) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:855:16: note: (72) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:855:16: note: (73) calling ‘AddSymbolsToKey’ from ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:678:1: note: (74) entry to ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:685:10: note: (75) calling ‘GetGroupIndex’ from ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:630:1: note: (76) entry to ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:633:17: note: (77) following ‘true’ branch (when ‘what == 1’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (79) following ‘true’ branch (when ‘arrayNdx’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:639:52: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:639:52: note: (81) following ‘true’ branch (when ‘what == 1’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:205:27: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:641:9: note: in expansion of macro ‘darray_enumerate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:205:27: note: (83) ‘groupi’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:641:9: note: in expansion of macro ‘darray_enumerate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:206:16: note: (84) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:641:9: note: in expansion of macro ‘darray_enumerate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:648:12: note: (85) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:648:12: note: (86) following ‘false’ branch (when ‘i <= 3’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:38: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (88) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (89) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:657:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (90) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (91) following ‘false’ branch (when ‘__newSize <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (92) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (93) following ‘true’ branch... <--[gcc] In function ‘GetGroupIndex’: cc1: note: (94) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (95) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:657:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (96) following ‘false’ branch (when ‘__newSize <= alloc’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (97) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (98) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (99) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (100) argument 1 (‘*keyi.groups.item + (long unsigned int)*keyi.groups.size * 32’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1265:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1266:18: note: (57) calling ‘HandleGlobalVar’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1036:1: note: (58) entry to ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1042:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:9: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:8: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:17: note: (62) inlined call to ‘istreq’ from ‘HandleGlobalVar’ <--[gcc] In function ‘istreq’, inlined from ‘HandleGlobalVar’ at ../src/xkbcomp/symbols.c:1045:17: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (63) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:14: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (66) calling ‘SetSymbolsField’ from ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:820:1: note: (67) entry to ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:823:8: note: (68) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:14: note: (69) inlined call to ‘istreq’ from ‘SetSymbolsField’ <--[gcc] In function ‘istreq’, inlined from ‘SetSymbolsField’ at ../src/xkbcomp/symbols.c:854:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘GetGroupIndex’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:13: note: (71) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:855:16: note: (72) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:855:16: note: (73) calling ‘AddSymbolsToKey’ from ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:678:1: note: (74) entry to ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:685:10: note: (75) calling ‘GetGroupIndex’ from ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:630:1: note: (76) entry to ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:633:17: note: (77) following ‘true’ branch (when ‘what == 1’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (79) following ‘false’ branch (when ‘arrayNdx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:662:10: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:662:8: note: (81) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:670:6: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:671:8: note: (83) following ‘true’ branch... <--[gcc] :158:16: note: (84) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (85) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (86) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:672:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (88) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (89) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (90) following ‘true’ branch... <--[gcc] In function ‘GetGroupIndex’: cc1: note: (91) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:31: note: (92) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (93) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (94) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (95) argument 1 (‘*keyi.groups.item + (long unsigned int)*keyi.groups.size * 32’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:672:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] :871:44: warning: Dereference of null pointer [core.NullDereference] <--[clang] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1265:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1266:18: note: (57) calling ‘HandleGlobalVar’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1036:1: note: (58) entry to ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1042:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:9: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:8: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:17: note: (62) inlined call to ‘istreq’ from ‘HandleGlobalVar’ <--[gcc] In function ‘istreq’, inlined from ‘HandleGlobalVar’ at ../src/xkbcomp/symbols.c:1045:17: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (63) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:14: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (66) calling ‘SetSymbolsField’ from ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:820:1: note: (67) entry to ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:823:8: note: (68) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:14: note: (69) inlined call to ‘istreq’ from ‘SetSymbolsField’ <--[gcc] In function ‘istreq’, inlined from ‘SetSymbolsField’ at ../src/xkbcomp/symbols.c:854:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:13: note: (71) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:855:16: note: (72) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:855:16: note: (73) calling ‘AddSymbolsToKey’ from ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:678:1: note: (74) entry to ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:685:10: note: (75) calling ‘GetGroupIndex’ from ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:630:1: note: (76) entry to ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:633:17: note: (77) following ‘true’ branch (when ‘what == 1’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (79) following ‘true’ branch (when ‘arrayNdx’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:639:52: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:639:52: note: (81) following ‘true’ branch (when ‘what == 1’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:205:27: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:641:9: note: in expansion of macro ‘darray_enumerate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:206:16: note: (83) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:641:9: note: in expansion of macro ‘darray_enumerate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:648:12: note: (84) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:648:12: note: (85) following ‘false’ branch (when ‘i <= 3’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:38: note: (86) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (87) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (88) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:657:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (89) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (90) following ‘false’ branch (when ‘__newSize <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (91) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (92) following ‘true’ branch... <--[gcc] In function ‘AddSymbolsToKey’: cc1: note: (93) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (94) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:657:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (95) following ‘false’ branch (when ‘__newSize <= alloc’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (96) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (97) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:685:10: note: (98) returning to ‘AddSymbolsToKey’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:685:8: note: (99) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:85:39: note: (100) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:688:15: note: in expansion of macro ‘darray_item’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:690:8: note: (101) following ‘false’ branch (when ‘value’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:695:20: note: (102) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:695:8: note: (103) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:705:15: note: (104) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:705:8: note: (105) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:714:13: note: (106) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:715:8: note: (107) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:158:16: note: (108) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (109) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (110) inlined call to ‘darray_next_alloc’ from ‘AddSymbolsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddSymbolsToKey’ at ../src/xkbcomp/symbols.c:716:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (111) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (112) following ‘false’ branch (when ‘nLevels <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (113) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddSymbolsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (114) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (115) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (116) argument 1 (‘*groupi.levels.item + (long unsigned int)*groupi.levels.size * 32’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:716:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1265:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1266:18: note: (57) calling ‘HandleGlobalVar’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1036:1: note: (58) entry to ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1042:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:9: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:8: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:17: note: (62) inlined call to ‘istreq’ from ‘HandleGlobalVar’ <--[gcc] In function ‘istreq’, inlined from ‘HandleGlobalVar’ at ../src/xkbcomp/symbols.c:1045:17: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (63) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:14: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (66) calling ‘SetSymbolsField’ from ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:820:1: note: (67) entry to ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:823:8: note: (68) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:14: note: (69) inlined call to ‘istreq’ from ‘SetSymbolsField’ <--[gcc] In function ‘istreq’, inlined from ‘SetSymbolsField’ at ../src/xkbcomp/symbols.c:854:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:854:13: note: (71) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:857:14: note: (72) inlined call to ‘istreq’ from ‘SetSymbolsField’ <--[gcc] In function ‘istreq’, inlined from ‘SetSymbolsField’ at ../src/xkbcomp/symbols.c:857:14: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:857:13: note: (74) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:858:16: note: (75) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:858:16: note: (76) calling ‘AddActionsToKey’ from ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:749:1: note: (77) entry to ‘AddActionsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:757:10: note: (78) calling ‘GetGroupIndex’ from ‘AddActionsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:630:1: note: (79) entry to ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:633:17: note: (80) following ‘false’ branch (when ‘what != 1’)... <--[gcc] cc1: note: (81) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:635:8: note: (82) following ‘true’ branch (when ‘arrayNdx’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:639:52: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:639:52: note: (84) following ‘false’ branch (when ‘what != 1’)... <--[gcc] cc1: note: (85) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:206:16: note: (86) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:641:9: note: in expansion of macro ‘darray_enumerate’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:648:12: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:648:12: note: (88) following ‘false’ branch (when ‘i <= 3’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:38: note: (89) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (90) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (91) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:657:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (92) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (93) following ‘false’ branch (when ‘__newSize <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (94) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (95) following ‘true’ branch... <--[gcc] In function ‘AddActionsToKey’: cc1: note: (96) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (97) inlined call to ‘darray_next_alloc’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘GetGroupIndex’ at ../src/xkbcomp/symbols.c:657:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (98) following ‘false’ branch (when ‘__newSize <= alloc’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (99) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (100) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:657:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:757:10: note: (101) returning to ‘AddActionsToKey’ from ‘GetGroupIndex’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:757:8: note: (102) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:85:39: note: (103) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:760:15: note: in expansion of macro ‘darray_item’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:762:8: note: (104) following ‘false’ branch (when ‘value’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:767:20: note: (105) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:767:8: note: (106) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:775:15: note: (107) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:775:8: note: (108) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:783:14: note: (109) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:786:8: note: (110) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:158:16: note: (111) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (112) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (113) inlined call to ‘darray_next_alloc’ from ‘AddActionsToKey’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘AddActionsToKey’ at ../src/xkbcomp/symbols.c:787:9: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (114) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (115) following ‘false’ branch (when ‘nActs <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (116) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘AddActionsToKey’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (117) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (118) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (119) argument 1 (‘*groupi.levels.item + (long unsigned int)*groupi.levels.size * 32’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:787:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1265:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1266:18: note: (57) calling ‘HandleGlobalVar’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1036:1: note: (58) entry to ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1042:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:9: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:8: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:17: note: (62) inlined call to ‘istreq’ from ‘HandleGlobalVar’ <--[gcc] In function ‘istreq’, inlined from ‘HandleGlobalVar’ at ../src/xkbcomp/symbols.c:1045:17: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:119:12: note: (63) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetSymbolsField’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:14: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1046:15: note: (66) calling ‘SetSymbolsField’ from ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:820:1: note: (67) entry to ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:823:8: note: (68) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:827:14: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:827:12: note: (70) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:835:12: note: (71) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:835:12: note: (72) following ‘false’ branch (when ‘arrayNdx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:839:19: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:839:17: note: (74) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:847:16: note: (75) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:848:16: note: (76) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:158:16: note: (77) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (78) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (79) inlined call to ‘darray_next_alloc’ from ‘SetSymbolsField’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘SetSymbolsField’ at ../src/xkbcomp/symbols.c:849:17: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (81) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (83) following ‘true’ branch... <--[gcc] In function ‘SetSymbolsField’: cc1: note: (84) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:31: note: (85) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (86) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (87) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (88) argument 1 (‘*keyi.groups.item + (long unsigned int)*keyi.groups.size * 32’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:849:17: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetGroupName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetGroupName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetGroupName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetGroupName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetGroupName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetGroupName’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1265:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1266:18: note: (57) calling ‘HandleGlobalVar’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1036:1: note: (58) entry to ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1042:8: note: (59) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1045:9: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1049:13: note: (61) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1051:15: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1051:15: note: (63) calling ‘SetGroupName’ from ‘HandleGlobalVar’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:983:1: note: (64) entry to ‘SetGroupName’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:988:8: note: (65) following ‘false’ branch (when ‘arrayNdx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:996:10: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:996:8: note: (67) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1003:10: note: (68) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1003:8: note: (69) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1011:13: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1011:8: note: (71) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1014:24: note: (72) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1014:13: note: (73) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:86:39: note: (74) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1028:25: note: in expansion of macro ‘darray_size’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1028:8: note: (75) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:38: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (77) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:23: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (79) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:162:27: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:22: note: (81) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (82) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (83) argument 1 (‘*info.group_names.item + (long unsigned int)*info.group_names.size * 4’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1029:9: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 9:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1262:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1263:18: note: (57) calling ‘HandleSymbolsDef’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1163:1: note: (58) entry to ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:106:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:112:5: note: in expansion of macro ‘darray_from_items’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1169:5: note: in expansion of macro ‘darray_copy’ <--[gcc] cc1: note: (60) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1170:38: note: (61) following ‘false’ branch (when ‘i >= __count’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1173:22: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:10: note: (63) calling ‘HandleSymbolsBody’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1090:1: note: (64) entry to ‘HandleSymbolsBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1096:12: note: (65) following ‘false’ branch (when ‘def’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1122:12: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:10: note: (67) returning to ‘HandleSymbolsDef’ from ‘HandleSymbolsBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:8: note: (68) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (70) calling ‘SetExplicitGroup’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1126:1: note: (71) entry to ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1132:8: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:210:32: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:210:32: note: (74) ‘groupi’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:211:16: note: (75) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1143:8: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1143:8: note: (77) following ‘false’ branch (when ‘warn == 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:14: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (79) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (80) inlined call to ‘darray_next_alloc’ from ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘SetExplicitGroup’ at ../src/xkbcomp/symbols.c:1152:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (81) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:187:5: note: (82) following ‘false’ branch (when ‘__newSize <= 67108862’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:188:8: note: (84) following ‘true’ branch... <--[gcc] In function ‘SetExplicitGroup’: cc1: note: (85) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:29: note: (86) inlined call to ‘darray_next_alloc’ from ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:42: note: in definition of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] In function ‘darray_next_alloc’, inlined from ‘SetExplicitGroup’ at ../src/xkbcomp/symbols.c:1152:5: /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:190:18: note: (87) following ‘false’ branch (when ‘__newSize <= alloc’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:168:39: note: (88) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:31: note: (89) ‘keyi.groups.item’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (90) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:160:9: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:16: note: (91) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:161:9: note: (92) argument 1 (‘*keyi.groups.item + (long unsigned int)__oldSize * 32’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1154:57: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1640:1: note: (1) entry to ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1647:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1650:48: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1653:5: note: (4) calling ‘HandleSymbolsFile’ from ‘CompileSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (5) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (6) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (9) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (11) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (13) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (14) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (17) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (22) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (26) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (27) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (28) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (31) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (33) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1259:9: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1260:18: note: (35) calling ‘HandleIncludeSymbols’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:571:1: note: (36) entry to ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:575:8: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:581:36: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:584:39: note: (39) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:588:16: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:589:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:595:9: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:597:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:598:40: note: (44) inlined call to ‘atoi’ from ‘HandleIncludeSymbols’ <--[gcc] In function ‘atoi’, inlined from ‘HandleIncludeSymbols’ at ../src/xkbcomp/symbols.c:598:40: /usr/include/stdlib.h:483:16: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:599:16: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:612:9: note: (48) calling ‘HandleSymbolsFile’ from ‘HandleIncludeSymbols’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1250:1: note: (49) entry to ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1255:18: note: (50) inlined call to ‘strdup_safe’ from ‘HandleSymbolsFile’ <--[gcc] In function ‘strdup_safe’, inlined from ‘HandleSymbolsFile’ at ../src/xkbcomp/symbols.c:1255:18: /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:26: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:131:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c: In function ‘SetExplicitGroup’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1257:42: note: (53) following ‘true’ branch (when ‘stmt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:21: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1258:9: note: (55) following ‘case 9:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1262:9: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1263:18: note: (57) calling ‘HandleSymbolsDef’ from ‘HandleSymbolsFile’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1163:1: note: (58) entry to ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:173:8: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:106:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:112:5: note: in expansion of macro ‘darray_from_items’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1169:5: note: in expansion of macro ‘darray_copy’ <--[gcc] cc1: note: (60) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1170:38: note: (61) following ‘false’ branch (when ‘i >= __count’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1173:22: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:10: note: (63) calling ‘HandleSymbolsBody’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1090:1: note: (64) entry to ‘HandleSymbolsBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1096:12: note: (65) following ‘false’ branch (when ‘def’ is NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1122:12: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:10: note: (67) returning to ‘HandleSymbolsDef’ from ‘HandleSymbolsBody’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1176:8: note: (68) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1181:10: note: (70) calling ‘SetExplicitGroup’ from ‘HandleSymbolsDef’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1126:1: note: (71) entry to ‘SetExplicitGroup’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1132:8: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:210:32: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:210:32: note: (74) ‘groupi’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:211:16: note: (75) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1135:5: note: in expansion of macro ‘darray_enumerate_from’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1143:8: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1143:8: note: (77) following ‘false’ branch (when ‘warn == 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:157:14: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:159:8: note: (79) following ‘false’ branch (when ‘__oldSize >= __newSize’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1152:5: note: in expansion of macro ‘darray_resize0’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1153:13: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1153:8: note: (81) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:85:39: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1155:13: note: in expansion of macro ‘darray_item’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:85:39: note: (83) ‘keyi.groups.item’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1155:13: note: in expansion of macro ‘darray_item’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1154:57: note: (84) dereference of NULL ‘*keyi.groups.item’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/xkbcomp/symbols.c:1030:50: warning: Array access (via field 'item') results in a null pointer dereference [core.NullDereference] <--[clang] [167/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_atom.c.o -MF libxkbcommon-test-internal.a.p/src_atom.c.o.d -o libxkbcommon-test-internal.a.p/src_atom.c.o -c ../src/atom.c In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:81: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c: In function ‘atom_table_new’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of possibly-NULL ‘*table.strings.item’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:117:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:113:8: note: (1) following ‘false’ branch (when ‘table’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:38: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:117:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (3) this call could return NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:117:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (4) ‘*table.strings.item’ could be NULL: unchecked value from (3) <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:117:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c: In function ‘atom_intern’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:151:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:148:8: note: (1) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:149:27: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:150:24: note: (3) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:150:22: note: (4) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:151:9: note: (5) argument 1 (‘realloc(*table.index, *table.index_size * 8)’) NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null [168/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_keymap.c.o -MF libxkbcommon-test-internal.a.p/src_keymap.c.o.d -o libxkbcommon-test-internal.a.p/src_keymap.c.o -c ../src/keymap.c [169/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_keymap-priv.c.o -MF libxkbcommon-test-internal.a.p/src_keymap-priv.c.o.d -o libxkbcommon-test-internal.a.p/src_keymap-priv.c.o -c ../src/keymap-priv.c [170/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_text.c.o -MF libxkbcommon-test-internal.a.p/src_text.c.o.d -o libxkbcommon-test-internal.a.p/src_text.c.o -c ../src/text.c [171/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_utf8.c.o -MF libxkbcommon-test-internal.a.p/src_utf8.c.o.d -o libxkbcommon-test-internal.a.p/src_utf8.c.o -c ../src/utf8.c [172/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_utils.c.o -MF libxkbcommon-test-internal.a.p/src_utils.c.o.d -o libxkbcommon-test-internal.a.p/src_utils.c.o -c ../src/utils.c [173/244] gcc -Ilibxkbcommon-x11-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MQ libxkbcommon-x11-internal.a.p/src_x11_state.c.o -MF libxkbcommon-x11-internal.a.p/src_x11_state.c.o.d -o libxkbcommon-x11-internal.a.p/src_x11_state.c.o -c ../src/x11/state.c [174/244] gcc -Ilibxkbcommon-x11-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MQ libxkbcommon-x11-internal.a.p/src_keymap-priv.c.o -MF libxkbcommon-x11-internal.a.p/src_keymap-priv.c.o.d -o libxkbcommon-x11-internal.a.p/src_keymap-priv.c.o -c ../src/keymap-priv.c [175/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_state.c.o -MF libxkbcommon-test-internal.a.p/src_state.c.o.d -o libxkbcommon-test-internal.a.p/src_state.c.o -c ../src/state.c /builddir/build/BUILD/libxkbcommon-1.7.0/src/state.c:1038: warning: objectIndex(CWE-758): The address of local variable 'sym' might be accessed at non-zero index. <--[cppcheck] [176/244] gcc -Ilibxkbcommon-test-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DENABLE_PRIVATE_APIS -MD -MQ libxkbcommon-test-internal.a.p/src_keysym.c.o -MF libxkbcommon-test-internal.a.p/src_keysym.c.o.d -o libxkbcommon-test-internal.a.p/src_keysym.c.o -c ../src/keysym.c /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c: In function ‘UCSConvertCase’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (6) ...to here <--[gcc] cc1: note: (7) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (9) read of 2 bytes at offset ‘code * 2 + 8589933824’ exceeds ‘LatinExtB_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: valid subscripts for ‘LatinExtB_lower_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_lower_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589933824) - 154’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 154 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (19) ...to here <--[gcc] cc1: note: (20) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (22) read of 2 bytes at offset ‘*upper * 2 + 8589933824’ exceeds ‘LatinExtB_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: valid subscripts for ‘LatinExtB_lower_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_lower_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589933824) - 154’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 154 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: valid subscripts for ‘LatinExtB_lower_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_lower_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: valid subscripts for ‘LatinExtB_lower_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_lower_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: valid subscripts for ‘LatinExtB_lower_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_lower_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: valid subscripts for ‘LatinExtB_lower_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_lower_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (6) ...to here <--[gcc] cc1: note: (7) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: (9) read of 2 bytes at offset ‘code * 2 + 8589933824’ exceeds ‘LatinExtB_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: valid subscripts for ‘LatinExtB_upper_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_upper_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589933824) - 154’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 154 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (19) ...to here <--[gcc] cc1: note: (20) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: (22) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: valid subscripts for ‘LatinExtB_upper_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_upper_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589933824) - 154’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 154 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: valid subscripts for ‘LatinExtB_upper_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_upper_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: valid subscripts for ‘LatinExtB_upper_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_upper_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: valid subscripts for ‘LatinExtB_upper_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_upper_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:644:28: note: (21) ...to here <--[gcc] cc1: note: (22) following ‘case 384 ... 460:’ branch... /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:658:45: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: (24) read of 2 bytes at offset ‘sym * 2 + 8589933824’ exceeds ‘LatinExtB_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:659:45: note: valid subscripts for ‘LatinExtB_upper_mapping’ are ‘[0]’ to ‘[76]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌─────────────────┬─────────────────┬──────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [76] │ │ │ ├─────────────────┴─────────────────┴──────────────────┤ │after valid range│ │‘LatinExtB_upper_mapping’ (type: ‘const uint16_t[77]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 154 bytes│ │‘((ks * 2) + 8589933824) - 154’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:8: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (9) read of 2 bytes at offset ‘code * 2 + 8589933402’ exceeds ‘IPAExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: valid subscripts for ‘IPAExt_upper_mapping’ are ‘[0]’ to ‘[63]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬─────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [63] │ │ │ ├────────────────┴────────────────┴─────────────────┤ │after valid range│ │‘IPAExt_upper_mapping’ (type: ‘const uint16_t[64]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589933402) - 128’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 128 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (22) read of 2 bytes at offset ‘*upper * 2 + 8589933402’ exceeds ‘IPAExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: valid subscripts for ‘IPAExt_upper_mapping’ are ‘[0]’ to ‘[63]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬─────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [63] │ │ │ ├────────────────┴────────────────┴─────────────────┤ │after valid range│ │‘IPAExt_upper_mapping’ (type: ‘const uint16_t[64]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589933402) - 128’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 128 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589933402’ exceeds ‘IPAExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: valid subscripts for ‘IPAExt_upper_mapping’ are ‘[0]’ to ‘[63]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬─────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [63] │ │ │ ├────────────────┴────────────────┴─────────────────┤ │after valid range│ │‘IPAExt_upper_mapping’ (type: ‘const uint16_t[64]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589933402) - 128’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 128 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589933402’ exceeds ‘IPAExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: valid subscripts for ‘IPAExt_upper_mapping’ are ‘[0]’ to ‘[63]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬─────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [63] │ │ │ ├────────────────┴────────────────┴─────────────────┤ │after valid range│ │‘IPAExt_upper_mapping’ (type: ‘const uint16_t[64]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589933402) - 128’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 128 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589933402’ exceeds ‘IPAExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: valid subscripts for ‘IPAExt_upper_mapping’ are ‘[0]’ to ‘[63]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬─────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [63] │ │ │ ├────────────────┴────────────────┴─────────────────┤ │after valid range│ │‘IPAExt_upper_mapping’ (type: ‘const uint16_t[64]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589933402) - 128’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 128 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589933402’ exceeds ‘IPAExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:680:38: note: valid subscripts for ‘IPAExt_upper_mapping’ are ‘[0]’ to ‘[63]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬─────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [63] │ │ │ ├────────────────┴────────────────┴─────────────────┤ │after valid range│ │‘IPAExt_upper_mapping’ (type: ‘const uint16_t[64]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589933402) - 128’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 128 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (9) read of 2 bytes at offset ‘code * 2 + 8589932832’ exceeds ‘Greek_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: valid subscripts for ‘Greek_lower_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_lower_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589932832) - 288’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (20) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: valid subscripts for ‘Greek_lower_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_lower_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589932832) - 288’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: valid subscripts for ‘Greek_lower_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_lower_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: valid subscripts for ‘Greek_lower_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_lower_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: valid subscripts for ‘Greek_lower_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_lower_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: valid subscripts for ‘Greek_lower_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_lower_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: (9) read of 2 bytes at offset ‘code * 2 + 8589932832’ exceeds ‘Greek_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: valid subscripts for ‘Greek_upper_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_upper_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589932832) - 288’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (20) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: valid subscripts for ‘Greek_upper_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_upper_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589932832) - 288’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: valid subscripts for ‘Greek_upper_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_upper_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: valid subscripts for ‘Greek_upper_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_upper_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: valid subscripts for ‘Greek_upper_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_upper_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:690:37: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589932832’ exceeds ‘Greek_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:691:37: note: valid subscripts for ‘Greek_upper_mapping’ are ‘[0]’ to ‘[143]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌───────────────┬───────────────┬───────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [143] │ │ │ ├───────────────┴───────────────┴───────────────────┤ │after valid range│ │‘Greek_upper_mapping’ (type: ‘const uint16_t[144]’)│ │ │ └───────────────────────────────────────────────────┘ └─────────────────┘ ├─────────────────────────┬─────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭──────────────────┴──────────────────╮ │ │‘((ks * 2) + 8589932832) - 288’ bytes│ │ ╰─────────────────────────────────────╯ ╭───────┴───────╮ │size: 288 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (9) read of 2 bytes at offset ‘code * 2 + 8589918720’ exceeds ‘GreekExt_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: valid subscripts for ‘GreekExt_lower_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_lower_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589918720) - 512’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 512 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (20) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: valid subscripts for ‘GreekExt_lower_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_lower_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589918720) - 512’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 512 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: valid subscripts for ‘GreekExt_lower_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_lower_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: valid subscripts for ‘GreekExt_lower_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_lower_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: valid subscripts for ‘GreekExt_lower_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_lower_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_lower_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: valid subscripts for ‘GreekExt_lower_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_lower_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (1) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: (9) read of 2 bytes at offset ‘code * 2 + 8589918720’ exceeds ‘GreekExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: valid subscripts for ‘GreekExt_upper_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_upper_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴───────────────────╮ │ │‘((code * 2) + 8589918720) - 512’ bytes│ │ ╰───────────────────────────────────────╯ ╭───────┴───────╮ │size: 512 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (1) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (2) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (8) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (10) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (12) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (13) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (14) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (20) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: (24) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: valid subscripts for ‘GreekExt_upper_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_upper_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ │ ╭───────────────────┴──────────────────╮ │ │‘((sym * 2) + 8589918720) - 512’ bytes│ │ ╰──────────────────────────────────────╯ ╭───────┴───────╮ │size: 512 bytes│ ╰───────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:400:1: note: (1) entry to ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:404:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: valid subscripts for ‘GreekExt_upper_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_upper_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:374:1: note: (1) entry to ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:378:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_lower’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: valid subscripts for ‘GreekExt_upper_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_upper_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:410:1: note: (1) entry to ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:414:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_to_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: valid subscripts for ‘GreekExt_upper_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_upper_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: warning: buffer over-read [CWE-787] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:387:1: note: (1) entry to ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:391:5: note: (2) calling ‘XConvertCase’ from ‘xkb_keysym_is_upper’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:787:1: note: (3) entry to ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:790:8: note: (4) following ‘false’ branch (when ‘sym > 180’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:796:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:805:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:808:5: note: (8) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:809:5: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:810:8: note: (10) following ‘false’ branch (when ‘sym != 181’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:812:13: note: (12) following ‘false’ branch (when ‘sym != 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:815:9: note: (14) calling ‘UCSConvertCase’ from ‘XConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:435:1: note: (15) entry to ‘UCSConvertCase’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:598:8: note: (16) following ‘false’ branch (when ‘code > 255’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:617:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:24: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:643:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:679:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:684:8: note: (22) following ‘false’ branch (when ‘code != 837’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:689:24: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:747:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:748:40: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: (26) read of 2 bytes at offset ‘(xkb_keysym_t)code * 2 + 8589918720’ exceeds ‘GreekExt_upper_mapping’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keysym.c:749:40: note: valid subscripts for ‘GreekExt_upper_mapping’ are ‘[0]’ to ‘[255]’ <--[gcc] ┌─────────────────┐ │ read of 2 bytes │ └─────────────────┘ ^ │ │ ┌────────────────┬────────────────┬────────────────────┐ ┌─────────────────┐ │ [0] │ ... │ [255] │ │ │ ├────────────────┴────────────────┴────────────────────┤ │after valid range│ │‘GreekExt_upper_mapping’ (type: ‘const uint16_t[256]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────┬────────┤ │ │ │ │ │╭─────────┴─────────────╮ │ ││⚠️ over-read of 2 bytes│ │ │╰───────────────────────╯ ╭───────┴───────╮ ╭──────────────────┴──────────────────╮ │size: 512 bytes│ │‘((ks * 2) + 8589918720) - 512’ bytes│ ╰───────────────╯ ╰─────────────────────────────────────╯ [177/244] gcc -Ilibxkbcommon-x11-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MQ libxkbcommon-x11-internal.a.p/src_x11_util.c.o -MF libxkbcommon-x11-internal.a.p/src_x11_util.c.o.d -o libxkbcommon-x11-internal.a.p/src_x11_util.c.o -c ../src/x11/util.c [178/244] gcc -Ilibxkbcommon-x11-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MQ libxkbcommon-x11-internal.a.p/src_context-priv.c.o -MF libxkbcommon-x11-internal.a.p/src_context-priv.c.o.d -o libxkbcommon-x11-internal.a.p/src_context-priv.c.o -c ../src/context-priv.c [179/244] gcc -Ilibxkbcommon-x11-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MQ libxkbcommon-x11-internal.a.p/src_atom.c.o -MF libxkbcommon-x11-internal.a.p/src_atom.c.o.d -o libxkbcommon-x11-internal.a.p/src_atom.c.o -c ../src/atom.c In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:81: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c: In function ‘atom_table_new’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: warning: dereference of possibly-NULL ‘*table.strings.item’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:117:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:113:8: note: (1) following ‘false’ branch (when ‘table’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:38: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:172:24: note: in definition of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:117:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:167:18: note: (3) this call could return NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:174:9: note: in expansion of macro ‘darray_realloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:154:5: note: in expansion of macro ‘darray_growalloc’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:92:5: note: in expansion of macro ‘darray_resize’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:117:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:93:32: note: (4) ‘*table.strings.item’ could be NULL: unchecked value from (3) <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:117:5: note: in expansion of macro ‘darray_append’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c: In function ‘atom_intern’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:151:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:148:8: note: (1) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:149:27: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:150:24: note: (3) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:150:22: note: (4) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/atom.c:151:9: note: (5) argument 1 (‘realloc(*table.index, *table.index_size * 8)’) NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null [180/244] gcc -Ilibxkbcommon-x11-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MQ libxkbcommon-x11-internal.a.p/test_xvfb-wrapper.c.o -MF libxkbcommon-x11-internal.a.p/test_xvfb-wrapper.c.o.d -o libxkbcommon-x11-internal.a.p/test_xvfb-wrapper.c.o -c ../test/xvfb-wrapper.c /builddir/build/BUILD/libxkbcommon-1.7.0/test/xvfb-wrapper.c:151: error: comparePointers(CWE-570): Comparing pointers that point to different objects <--[cppcheck] /builddir/build/BUILD/libxkbcommon-1.7.0/test/xvfb-wrapper.c:157: error: comparePointers(CWE-570): Comparing pointers that point to different objects <--[cppcheck] /builddir/build/BUILD/libxkbcommon-1.7.0/test/xvfb-wrapper.c:166: warning: uninitvar(CWE-457): Uninitialized variable: rc <--[cppcheck] /builddir/build/BUILD/libxkbcommon-1.7.0/test/xvfb-wrapper.c:166:5: warning: Undefined or garbage value returned to caller [core.uninitialized.UndefReturn] <--[clang] [181/244] gcc -Itest-keysym.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DENABLE_PRIVATE_APIS -MD -MQ test-keysym.p/test_keysym.c.o -MF test-keysym.p/test_keysym.c.o.d -o test-keysym.p/test_keysym.c.o -c ../test/keysym.c /builddir/build/BUILD/libxkbcommon-1.7.0/test/keysym.c:394:5: warning: Value stored to 'iter' is never read [deadcode.DeadStores] <--[clang] [182/244] gcc -Itest-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-keymap.p/test_keymap.c.o -MF test-keymap.p/test_keymap.c.o.d -o test-keymap.p/test_keymap.c.o -c ../test/keymap.c In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:31, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/test/test.h:32, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:32: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c: In function ‘test_numeric_keysyms’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:178:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:158:1: note: (1) entry to ‘test_numeric_keysyms’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:168:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:170:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:171:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:173:10: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:175:5: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:176:19: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:176:5: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:177:11: note: (9) inlined call to ‘XkbKey’ from ‘test_numeric_keysyms’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:33: <--[gcc] In function ‘XkbKey’, inlined from ‘test_numeric_keysyms’ at ../test/keymap.c:177:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c: In function ‘test_numeric_keysyms’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:178:15: note: (11) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:185:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:158:1: note: (1) entry to ‘test_numeric_keysyms’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:168:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:170:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:171:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:173:10: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:175:5: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:176:19: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:176:5: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:177:11: note: (9) inlined call to ‘XkbKey’ from ‘test_numeric_keysyms’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_numeric_keysyms’ at ../test/keymap.c:177:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c: In function ‘test_numeric_keysyms’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:178:5: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:180:10: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:182:5: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:183:19: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:183:5: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:184:11: note: (18) inlined call to ‘XkbKey’ from ‘test_numeric_keysyms’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_numeric_keysyms’ at ../test/keymap.c:184:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c: In function ‘test_numeric_keysyms’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:185:15: note: (20) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:195:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:158:1: note: (1) entry to ‘test_numeric_keysyms’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:168:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:170:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:171:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:173:10: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:175:5: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:176:19: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:176:5: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:177:11: note: (9) inlined call to ‘XkbKey’ from ‘test_numeric_keysyms’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_numeric_keysyms’ at ../test/keymap.c:177:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c: In function ‘test_numeric_keysyms’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:178:5: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:180:10: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:182:5: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:183:19: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:183:5: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:184:11: note: (18) inlined call to ‘XkbKey’ from ‘test_numeric_keysyms’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_numeric_keysyms’ at ../test/keymap.c:184:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c: In function ‘test_numeric_keysyms’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:185:5: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:187:10: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:189:5: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:190:19: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:190:5: note: (26) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:192:21: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:193:5: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:194:11: note: (29) inlined call to ‘XkbKey’ from ‘test_numeric_keysyms’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_numeric_keysyms’ at ../test/keymap.c:194:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c: In function ‘test_numeric_keysyms’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/keymap.c:195:15: note: (31) dereference of NULL ‘<unknown>’ <--[gcc] [183/244] gcc -Ilibxkbcommon-x11-internal.a.p -I. -I.. -I../src -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MQ libxkbcommon-x11-internal.a.p/src_x11_keymap.c.o -MF libxkbcommon-x11-internal.a.p/src_x11_keymap.c.o.d -o libxkbcommon-x11-internal.a.p/src_x11_keymap.c.o -c ../src/x11/keymap.c /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:385:30: warning: Access to field 'level' results in a dereference of a null pointer (loaded from variable 'entry') [core.NullDereference] <--[clang] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c: In function ‘get_sym_maps’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:85:12: warning: leak of ‘calloc((long unsigned int)(*wire_sym_map.groupInfo & 15), 24)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:448:9: note: in expansion of macro ‘ALLOC_OR_FAIL’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1137:1: note: (1) entry to ‘xkb_x11_keymap_new_from_device’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1145:8: note: (2) following ‘false’ branch (when ‘flags == 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1150:23: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1150:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1155:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1156:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1160:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1178:10: note: (8) calling ‘get_map’ from ‘xkb_x11_keymap_new_from_device’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:674:1: note: (9) entry to ‘get_map’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:74:8: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:680:5: note: in expansion of macro ‘FAIL_IF_BAD_REPLY’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:682:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:682:8: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:685:5: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:698:8: note: (14) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:699:10: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:699:10: note: (16) calling ‘get_sym_maps’ from ‘get_map’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:423:1: note: (17) entry to ‘get_sym_maps’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:430:5: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:431:22: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:11: note: in definition of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:431:5: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:432:22: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:11: note: in definition of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:432:5: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:434:33: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:85:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:437:5: note: in expansion of macro ‘ALLOC_OR_FAIL’ <--[gcc] cc1: note: (25) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:442:23: note: (26) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:443:32: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:447:9: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:83:8: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:448:9: note: in expansion of macro ‘ALLOC_OR_FAIL’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:459:9: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:461:25: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:472:13: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] cc1: note: (33) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:442:23: note: (34) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:443:32: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (36) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:447:9: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:83:8: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:448:9: note: in expansion of macro ‘ALLOC_OR_FAIL’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:83:8: note: (38) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:448:9: note: in expansion of macro ‘ALLOC_OR_FAIL’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:84:17: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:448:9: note: in expansion of macro ‘ALLOC_OR_FAIL’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:84:17: note: (40) allocated here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:448:9: note: in expansion of macro ‘ALLOC_OR_FAIL’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:85:12: note: (41) ‘calloc((long unsigned int)(*wire_sym_map.groupInfo & 15), 24)’ leaks here; was allocated at (40) <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:448:9: note: in expansion of macro ‘ALLOC_OR_FAIL’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c: In function ‘get_type_names’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:85:12: warning: leak of ‘*type.level_names’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:892:9: note: in expansion of macro ‘ALLOC_OR_FAIL’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1137:1: note: (1) entry to ‘xkb_x11_keymap_new_from_device’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1145:8: note: (2) following ‘false’ branch (when ‘flags == 0’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1150:23: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1150:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1155:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1156:8: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1160:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1178:10: note: (8) calling ‘get_map’ from ‘xkb_x11_keymap_new_from_device’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:674:1: note: (9) entry to ‘get_map’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:74:8: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:680:5: note: in expansion of macro ‘FAIL_IF_BAD_REPLY’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:682:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:682:8: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:685:5: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:698:8: note: (14) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:699:10: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:699:10: note: (16) calling ‘get_sym_maps’ from ‘get_map’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:423:1: note: (17) entry to ‘get_sym_maps’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:430:5: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:431:22: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:11: note: in definition of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:431:5: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:432:22: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:11: note: in definition of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:432:5: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:434:33: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:85:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:437:5: note: in expansion of macro ‘ALLOC_OR_FAIL’ <--[gcc] cc1: note: (25) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:439:54: note: (26) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:440:15: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:699:10: note: (28) returning to ‘get_map’ from ‘get_sym_maps’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:698:47: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:700:10: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:700:10: note: (31) calling ‘get_actions’ from ‘get_map’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:500:1: note: (32) entry to ‘get_actions’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (33) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:511:5: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:512:22: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:11: note: in definition of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:512:5: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] cc1: note: (36) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:700:10: note: (37) returning to ‘get_map’ from ‘get_actions’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:699:50: note: (38) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:701:10: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:701:10: note: (40) calling ‘get_vmods’ from ‘get_map’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:551:1: note: (41) entry to ‘get_vmods’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:559:28: note: (42) following ‘true’ branch (when ‘i != 16’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:560:18: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:701:10: note: (44) returning to ‘get_map’ from ‘get_vmods’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:701:47: note: (45) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:703:10: note: (46) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:702:51: note: (47) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:704:10: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:703:49: note: (49) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:707:5: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1178:10: note: (51) returning to ‘xkb_x11_keymap_new_from_device’ from ‘get_map’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1178:8: note: (52) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1180:10: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1180:10: note: (54) calling ‘get_indicator_map’ from ‘xkb_x11_keymap_new_from_device’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:766:1: note: (55) entry to ‘get_indicator_map’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:74:8: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:772:5: note: in expansion of macro ‘FAIL_IF_BAD_REPLY’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:774:10: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:774:10: note: (58) calling ‘get_indicators’ from ‘get_indicator_map’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:716:1: note: (59) entry to ‘get_indicators’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:724:28: note: (60) following ‘true’ branch (when ‘i != 32’)... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:725:18: note: (61) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:774:10: note: (62) returning to ‘get_indicator_map’ from ‘get_indicators’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1180:10: note: (63) returning to ‘xkb_x11_keymap_new_from_device’ from ‘get_indicator_map’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1180:8: note: (64) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1182:10: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1182:10: note: (66) calling ‘get_compat_map’ from ‘xkb_x11_keymap_new_from_device’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:846:1: note: (67) entry to ‘get_compat_map’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:74:8: note: (68) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:852:5: note: in expansion of macro ‘FAIL_IF_BAD_REPLY’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:854:10: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:854:10: note: (70) calling ‘get_sym_interprets’ from ‘get_compat_map’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:786:1: note: (71) entry to ‘get_sym_interprets’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:793:5: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:794:22: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:11: note: in definition of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:794:5: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:796:39: note: (75) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:83:8: note: (76) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:797:5: note: in expansion of macro ‘ALLOC_OR_FAIL’ <--[gcc] cc1: note: (77) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:799:23: note: (78) following ‘false’ branch... <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:30, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:88, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/x11-priv.h:29, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:26: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:839:12: note: (79) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:854:10: note: (80) returning to ‘get_compat_map’ from ‘get_sym_interprets’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:854:8: note: (81) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:857:5: note: (82) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1182:10: note: (83) returning to ‘xkb_x11_keymap_new_from_device’ from ‘get_compat_map’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1182:8: note: (84) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1184:10: note: (85) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1184:10: note: (86) calling ‘get_names’ from ‘xkb_x11_keymap_new_from_device’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1063:1: note: (87) entry to ‘get_names’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:74:8: note: (88) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1071:5: note: in expansion of macro ‘FAIL_IF_BAD_REPLY’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1073:23: note: (89) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:11: note: in definition of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (90) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1073:5: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1082:46: note: (91) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:1094:10: note: (92) calling ‘get_type_names’ from ‘get_names’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:866:1: note: (93) entry to ‘get_type_names’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (94) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:881:5: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (95) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:882:5: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (96) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:882:5: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] cc1: note: (97) ...to here /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:884:23: note: (98) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:885:20: note: (99) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:65:8: note: (100) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:890:9: note: in expansion of macro ‘FAIL_UNLESS’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:83:8: note: (101) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:892:9: note: in expansion of macro ‘ALLOC_OR_FAIL’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:83:8: note: (102) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:892:9: note: in expansion of macro ‘ALLOC_OR_FAIL’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:84:17: note: (103) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:892:9: note: in expansion of macro ‘ALLOC_OR_FAIL’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:84:17: note: (104) allocated here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:892:9: note: in expansion of macro ‘ALLOC_OR_FAIL’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:85:12: note: (105) ‘*type.level_names’ leaks here; was allocated at (104) <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/x11/keymap.c:892:9: note: in expansion of macro ‘ALLOC_OR_FAIL’ <--[gcc] [184/244] rm -f libxkbcommon-test-internal.a && gcc-ar csrDT libxkbcommon-test-internal.a libxkbcommon-test-internal.a.p/meson-generated_parser.c.o libxkbcommon-test-internal.a.p/test_common.c.o libxkbcommon-test-internal.a.p/bench_bench.c.o libxkbcommon-test-internal.a.p/src_compose_parser.c.o libxkbcommon-test-internal.a.p/src_compose_paths.c.o libxkbcommon-test-internal.a.p/src_compose_state.c.o libxkbcommon-test-internal.a.p/src_compose_table.c.o libxkbcommon-test-internal.a.p/src_xkbcomp_action.c.o libxkbcommon-test-internal.a.p/src_xkbcomp_ast-build.c.o libxkbcommon-test-internal.a.p/src_xkbcomp_compat.c.o libxkbcommon-test-internal.a.p/src_xkbcomp_expr.c.o libxkbcommon-test-internal.a.p/src_xkbcomp_include.c.o libxkbcommon-test-internal.a.p/src_xkbcomp_keycodes.c.o libxkbcommon-test-internal.a.p/src_xkbcomp_keymap.c.o libxkbcommon-test-internal.a.p/src_xkbcomp_keymap-dump.c.o libxkbcommon-test-internal.a.p/src_xkbcomp_keywords.c.o libxkbcommon-test-internal.a.p/src_xkbcomp_rules.c.o libxkbcommon-test-internal.a.p/src_xkbcomp_scanner.c.o libxkbcommon-test-internal.a.p/src_xkbcomp_symbols.c.o libxkbcommon-test-internal.a.p/src_xkbcomp_types.c.o libxkbcommon-test-internal.a.p/src_xkbcomp_vmod.c.o libxkbcommon-test-internal.a.p/src_xkbcomp_xkbcomp.c.o libxkbcommon-test-internal.a.p/src_atom.c.o libxkbcommon-test-internal.a.p/src_context.c.o libxkbcommon-test-internal.a.p/src_context-priv.c.o libxkbcommon-test-internal.a.p/src_keysym.c.o libxkbcommon-test-internal.a.p/src_keysym-utf.c.o libxkbcommon-test-internal.a.p/src_keymap.c.o libxkbcommon-test-internal.a.p/src_keymap-priv.c.o libxkbcommon-test-internal.a.p/src_state.c.o libxkbcommon-test-internal.a.p/src_text.c.o libxkbcommon-test-internal.a.p/src_utf8.c.o libxkbcommon-test-internal.a.p/src_utils.c.o [185/244] rm -f libxkbcommon-x11-internal.a && gcc-ar csrDT libxkbcommon-x11-internal.a libxkbcommon-x11-internal.a.p/src_x11_keymap.c.o libxkbcommon-x11-internal.a.p/src_x11_state.c.o libxkbcommon-x11-internal.a.p/src_x11_util.c.o libxkbcommon-x11-internal.a.p/src_context-priv.c.o libxkbcommon-x11-internal.a.p/src_keymap-priv.c.o libxkbcommon-x11-internal.a.p/src_atom.c.o libxkbcommon-x11-internal.a.p/test_xvfb-wrapper.c.o [186/244] gcc -Itest-stringcomp.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-stringcomp.p/test_stringcomp.c.o -MF test-stringcomp.p/test_stringcomp.c.o.d -o test-stringcomp.p/test_stringcomp.c.o -c ../test/stringcomp.c [187/244] gcc -Itest-filecomp.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-filecomp.p/test_filecomp.c.o -MF test-filecomp.p/test_filecomp.c.o.d -o test-filecomp.p/test_filecomp.c.o -c ../test/filecomp.c [188/244] gcc -Itest-buffercomp.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-buffercomp.p/test_buffercomp.c.o -MF test-buffercomp.p/test_buffercomp.c.o.d -o test-buffercomp.p/test_buffercomp.c.o -c ../test/buffercomp.c [189/244] gcc -Itest-rules-file-includes.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-rules-file-includes.p/test_rules-file-includes.c.o -MF test-rules-file-includes.p/test_rules-file-includes.c.o.d -o test-rules-file-includes.p/test_rules-file-includes.c.o -c ../test/rules-file-includes.c [190/244] gcc -Itest-rules-file.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-rules-file.p/test_rules-file.c.o -MF test-rules-file.p/test_rules-file.c.o.d -o test-rules-file.p/test_rules-file.c.o -c ../test/rules-file.c [191/244] gcc -o test-keysym test-keysym.p/test_keysym.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [192/244] gcc -o test-rules-file-includes test-rules-file-includes.p/test_rules-file-includes.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [193/244] gcc -Itest-context.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-context.p/test_context.c.o -MF test-context.p/test_context.c.o.d -o test-context.p/test_context.c.o -c ../test/context.c [194/244] gcc -Itest-log.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-log.p/test_log.c.o -MF test-log.p/test_log.c.o.d -o test-log.p/test_log.c.o -c ../test/log.c [195/244] gcc -o test-rules-file test-rules-file.p/test_rules-file.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [196/244] gcc -o test-buffercomp test-buffercomp.p/test_buffercomp.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [197/244] gcc -o test-keymap test-keymap.p/test_keymap.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [198/244] gcc -o test-stringcomp test-stringcomp.p/test_stringcomp.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [199/244] gcc -o test-filecomp test-filecomp.p/test_filecomp.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [200/244] gcc -Itest-atom.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-atom.p/test_atom.c.o -MF test-atom.p/test_atom.c.o.d -o test-atom.p/test_atom.c.o -c ../test/atom.c [201/244] gcc -o test-context test-context.p/test_context.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [202/244] gcc -o test-log test-log.p/test_log.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [203/244] gcc -Itest-utf8.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-utf8.p/test_utf8.c.o -MF test-utf8.p/test_utf8.c.o.d -o test-utf8.p/test_utf8.c.o -c ../test/utf8.c [204/244] gcc -Itest-utils.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-utils.p/test_utils.c.o -MF test-utils.p/test_utils.c.o.d -o test-utils.p/test_utils.c.o -c ../test/utils.c [205/244] gcc -Itest-rulescomp.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-rulescomp.p/test_rulescomp.c.o -MF test-rulescomp.p/test_rulescomp.c.o.d -o test-rulescomp.p/test_rulescomp.c.o -c ../test/rulescomp.c [206/244] gcc -Itest-keyseq.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-keyseq.p/test_keyseq.c.o -MF test-keyseq.p/test_keyseq.c.o.d -o test-keyseq.p/test_keyseq.c.o -c ../test/keyseq.c [207/244] gcc -Itest-modifiers.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-modifiers.p/test_modifiers.c.o -MF test-modifiers.p/test_modifiers.c.o.d -o test-modifiers.p/test_modifiers.c.o -c ../test/modifiers.c In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/src/darray.h:31, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/src/utils.h:56, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/test/test.h:32, <--[gcc] from /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:30: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:31: <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:15: note: (7) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:5: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:60:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:61:5: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:62:11: note: (12) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:62:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:15: note: (14) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:68:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:5: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:60:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:61:5: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:62:11: note: (12) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:62:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:5: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:65:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:66:5: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:67:11: note: (19) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:67:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:68:15: note: (21) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:73:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:5: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:60:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:61:5: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:62:11: note: (12) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:62:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:5: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:65:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:66:5: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:67:11: note: (19) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:67:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:68:5: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:70:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:71:5: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:72:11: note: (26) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:72:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:73:15: note: (28) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:78:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:5: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:60:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:61:5: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:62:11: note: (12) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:62:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:5: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:65:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:66:5: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:67:11: note: (19) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:67:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:68:5: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:70:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:71:5: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:72:11: note: (26) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:72:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:73:5: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:75:15: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:76:5: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:77:11: note: (33) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:77:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:78:15: note: (35) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:83:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:5: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:60:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:61:5: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:62:11: note: (12) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:62:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:5: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:65:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:66:5: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:67:11: note: (19) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:67:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:68:5: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:70:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:71:5: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:72:11: note: (26) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:72:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:73:5: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:75:15: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:76:5: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:77:11: note: (33) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:77:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:78:5: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:80:15: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:81:5: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:82:11: note: (40) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:82:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:83:15: note: (42) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:88:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:5: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:60:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:61:5: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:62:11: note: (12) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:62:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:5: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:65:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:66:5: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:67:11: note: (19) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:67:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:68:5: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:70:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:71:5: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:72:11: note: (26) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:72:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:73:5: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:75:15: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:76:5: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:77:11: note: (33) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:77:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:78:5: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:80:15: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:81:5: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:82:11: note: (40) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:82:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:83:5: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:85:15: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:86:5: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:87:11: note: (47) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:87:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:88:15: note: (49) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:93:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:5: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:60:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:61:5: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:62:11: note: (12) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:62:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:5: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:65:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:66:5: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:67:11: note: (19) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:67:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:68:5: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:70:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:71:5: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:72:11: note: (26) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:72:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:73:5: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:75:15: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:76:5: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:77:11: note: (33) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:77:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:78:5: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:80:15: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:81:5: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:82:11: note: (40) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:82:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:83:5: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:85:15: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:86:5: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:87:11: note: (47) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:87:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:88:5: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:90:15: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:91:5: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:92:11: note: (54) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:92:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:93:15: note: (56) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:98:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:5: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:60:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:61:5: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:62:11: note: (12) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:62:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:5: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:65:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:66:5: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:67:11: note: (19) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:67:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:68:5: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:70:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:71:5: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:72:11: note: (26) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:72:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:73:5: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:75:15: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:76:5: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:77:11: note: (33) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:77:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:78:5: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:80:15: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:81:5: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:82:11: note: (40) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:82:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:83:5: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:85:15: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:86:5: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:87:11: note: (47) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:87:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:88:5: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:90:15: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:91:5: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:92:11: note: (54) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:92:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:93:5: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:95:15: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:96:5: note: (60) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:97:11: note: (61) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:97:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:98:15: note: (63) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:103:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:5: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:60:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:61:5: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:62:11: note: (12) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:62:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:5: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:65:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:66:5: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:67:11: note: (19) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:67:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:68:5: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:70:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:71:5: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:72:11: note: (26) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:72:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:73:5: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:75:15: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:76:5: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:77:11: note: (33) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:77:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:78:5: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:80:15: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:81:5: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:82:11: note: (40) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:82:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:83:5: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:85:15: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:86:5: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:87:11: note: (47) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:87:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:88:5: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:90:15: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:91:5: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:92:11: note: (54) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:92:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:93:5: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:95:15: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:96:5: note: (60) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:97:11: note: (61) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:97:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:98:5: note: (65) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:100:15: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:101:5: note: (67) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:102:11: note: (68) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:102:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:103:15: note: (70) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:108:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:5: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:60:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:61:5: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:62:11: note: (12) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:62:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:5: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:65:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:66:5: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:67:11: note: (19) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:67:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:68:5: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:70:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:71:5: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:72:11: note: (26) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:72:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:73:5: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:75:15: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:76:5: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:77:11: note: (33) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:77:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:78:5: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:80:15: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:81:5: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:82:11: note: (40) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:82:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:83:5: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:85:15: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:86:5: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:87:11: note: (47) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:87:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:88:5: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:90:15: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:91:5: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:92:11: note: (54) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:92:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:93:5: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:95:15: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:96:5: note: (60) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:97:11: note: (61) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:97:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:98:5: note: (65) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:100:15: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:101:5: note: (67) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:102:11: note: (68) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:102:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (70) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (71) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:103:5: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:105:15: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:106:5: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:107:11: note: (75) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:107:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:108:15: note: (77) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:113:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:5: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:60:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:61:5: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:62:11: note: (12) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:62:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:5: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:65:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:66:5: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:67:11: note: (19) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:67:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:68:5: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:70:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:71:5: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:72:11: note: (26) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:72:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:73:5: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:75:15: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:76:5: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:77:11: note: (33) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:77:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:78:5: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:80:15: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:81:5: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:82:11: note: (40) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:82:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:83:5: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:85:15: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:86:5: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:87:11: note: (47) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:87:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:88:5: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:90:15: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:91:5: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:92:11: note: (54) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:92:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:93:5: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:95:15: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:96:5: note: (60) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:97:11: note: (61) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:97:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:98:5: note: (65) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:100:15: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:101:5: note: (67) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:102:11: note: (68) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:102:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (70) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (71) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:103:5: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:105:15: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:106:5: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:107:11: note: (75) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:107:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (77) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:108:5: note: (79) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:110:15: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:111:5: note: (81) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:112:11: note: (82) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:112:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:113:15: note: (84) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:118:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:5: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:60:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:61:5: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:62:11: note: (12) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:62:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:5: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:65:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:66:5: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:67:11: note: (19) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:67:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:68:5: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:70:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:71:5: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:72:11: note: (26) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:72:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:73:5: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:75:15: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:76:5: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:77:11: note: (33) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:77:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:78:5: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:80:15: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:81:5: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:82:11: note: (40) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:82:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:83:5: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:85:15: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:86:5: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:87:11: note: (47) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:87:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:88:5: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:90:15: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:91:5: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:92:11: note: (54) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:92:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:93:5: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:95:15: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:96:5: note: (60) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:97:11: note: (61) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:97:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:98:5: note: (65) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:100:15: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:101:5: note: (67) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:102:11: note: (68) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:102:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (70) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (71) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:103:5: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:105:15: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:106:5: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:107:11: note: (75) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:107:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (77) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:108:5: note: (79) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:110:15: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:111:5: note: (81) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:112:11: note: (82) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:112:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (84) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (85) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:113:5: note: (86) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:115:15: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:116:5: note: (88) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:117:11: note: (89) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:117:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (90) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:118:15: note: (91) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:123:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:5: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:60:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:61:5: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:62:11: note: (12) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:62:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:5: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:65:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:66:5: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:67:11: note: (19) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:67:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:68:5: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:70:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:71:5: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:72:11: note: (26) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:72:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:73:5: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:75:15: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:76:5: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:77:11: note: (33) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:77:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:78:5: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:80:15: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:81:5: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:82:11: note: (40) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:82:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:83:5: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:85:15: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:86:5: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:87:11: note: (47) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:87:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:88:5: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:90:15: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:91:5: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:92:11: note: (54) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:92:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:93:5: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:95:15: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:96:5: note: (60) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:97:11: note: (61) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:97:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:98:5: note: (65) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:100:15: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:101:5: note: (67) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:102:11: note: (68) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:102:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (70) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (71) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:103:5: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:105:15: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:106:5: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:107:11: note: (75) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:107:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (77) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:108:5: note: (79) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:110:15: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:111:5: note: (81) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:112:11: note: (82) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:112:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (84) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (85) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:113:5: note: (86) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:115:15: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:116:5: note: (88) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:117:11: note: (89) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:117:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (90) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (91) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (92) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:118:5: note: (93) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:120:15: note: (94) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:121:5: note: (95) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:122:11: note: (96) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:122:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (97) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:123:15: note: (98) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:128:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:5: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:60:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:61:5: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:62:11: note: (12) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:62:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:5: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:65:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:66:5: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:67:11: note: (19) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:67:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:68:5: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:70:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:71:5: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:72:11: note: (26) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:72:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:73:5: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:75:15: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:76:5: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:77:11: note: (33) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:77:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:78:5: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:80:15: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:81:5: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:82:11: note: (40) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:82:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:83:5: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:85:15: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:86:5: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:87:11: note: (47) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:87:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:88:5: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:90:15: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:91:5: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:92:11: note: (54) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:92:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:93:5: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:95:15: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:96:5: note: (60) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:97:11: note: (61) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:97:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:98:5: note: (65) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:100:15: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:101:5: note: (67) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:102:11: note: (68) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:102:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (70) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (71) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:103:5: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:105:15: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:106:5: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:107:11: note: (75) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:107:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (77) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:108:5: note: (79) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:110:15: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:111:5: note: (81) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:112:11: note: (82) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:112:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (84) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (85) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:113:5: note: (86) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:115:15: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:116:5: note: (88) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:117:11: note: (89) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:117:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (90) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (91) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (92) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:118:5: note: (93) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:120:15: note: (94) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:121:5: note: (95) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:122:11: note: (96) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:122:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (97) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (98) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (99) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:123:5: note: (100) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:125:15: note: (101) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:126:5: note: (102) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:127:11: note: (103) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:127:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (104) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:128:15: note: (105) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:133:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:5: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:60:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:61:5: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:62:11: note: (12) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:62:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:5: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:65:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:66:5: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:67:11: note: (19) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:67:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:68:5: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:70:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:71:5: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:72:11: note: (26) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:72:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:73:5: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:75:15: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:76:5: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:77:11: note: (33) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:77:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:78:5: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:80:15: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:81:5: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:82:11: note: (40) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:82:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:83:5: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:85:15: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:86:5: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:87:11: note: (47) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:87:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:88:5: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:90:15: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:91:5: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:92:11: note: (54) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:92:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:93:5: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:95:15: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:96:5: note: (60) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:97:11: note: (61) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:97:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:98:5: note: (65) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:100:15: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:101:5: note: (67) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:102:11: note: (68) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:102:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (70) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (71) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:103:5: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:105:15: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:106:5: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:107:11: note: (75) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:107:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (77) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:108:5: note: (79) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:110:15: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:111:5: note: (81) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:112:11: note: (82) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:112:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (84) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (85) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:113:5: note: (86) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:115:15: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:116:5: note: (88) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:117:11: note: (89) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:117:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (90) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (91) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (92) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:118:5: note: (93) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:120:15: note: (94) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:121:5: note: (95) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:122:11: note: (96) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:122:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (97) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (98) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (99) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:123:5: note: (100) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:125:15: note: (101) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:126:5: note: (102) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:127:11: note: (103) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:127:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (104) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (105) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (106) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:128:5: note: (107) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:130:15: note: (108) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:131:5: note: (109) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:132:11: note: (110) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:132:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (111) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:133:15: note: (112) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:138:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:5: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:60:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:61:5: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:62:11: note: (12) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:62:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:5: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:65:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:66:5: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:67:11: note: (19) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:67:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:68:5: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:70:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:71:5: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:72:11: note: (26) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:72:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:73:5: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:75:15: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:76:5: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:77:11: note: (33) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:77:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:78:5: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:80:15: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:81:5: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:82:11: note: (40) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:82:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:83:5: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:85:15: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:86:5: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:87:11: note: (47) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:87:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:88:5: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:90:15: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:91:5: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:92:11: note: (54) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:92:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:93:5: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:95:15: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:96:5: note: (60) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:97:11: note: (61) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:97:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:98:5: note: (65) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:100:15: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:101:5: note: (67) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:102:11: note: (68) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:102:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (70) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (71) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:103:5: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:105:15: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:106:5: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:107:11: note: (75) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:107:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (77) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:108:5: note: (79) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:110:15: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:111:5: note: (81) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:112:11: note: (82) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:112:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (84) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (85) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:113:5: note: (86) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:115:15: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:116:5: note: (88) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:117:11: note: (89) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:117:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (90) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (91) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (92) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:118:5: note: (93) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:120:15: note: (94) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:121:5: note: (95) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:122:11: note: (96) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:122:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (97) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (98) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (99) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:123:5: note: (100) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:125:15: note: (101) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:126:5: note: (102) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:127:11: note: (103) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:127:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (104) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (105) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (106) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:128:5: note: (107) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:130:15: note: (108) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:131:5: note: (109) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:132:11: note: (110) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:132:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (111) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (112) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (113) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:133:5: note: (114) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:135:15: note: (115) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:136:5: note: (116) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:137:11: note: (117) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:137:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (118) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:138:15: note: (119) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:143:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:5: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:60:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:61:5: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:62:11: note: (12) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:62:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:5: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:65:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:66:5: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:67:11: note: (19) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:67:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:68:5: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:70:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:71:5: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:72:11: note: (26) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:72:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:73:5: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:75:15: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:76:5: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:77:11: note: (33) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:77:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:78:5: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:80:15: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:81:5: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:82:11: note: (40) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:82:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:83:5: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:85:15: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:86:5: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:87:11: note: (47) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:87:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:88:5: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:90:15: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:91:5: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:92:11: note: (54) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:92:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:93:5: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:95:15: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:96:5: note: (60) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:97:11: note: (61) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:97:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:98:5: note: (65) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:100:15: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:101:5: note: (67) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:102:11: note: (68) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:102:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (70) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (71) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:103:5: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:105:15: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:106:5: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:107:11: note: (75) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:107:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (77) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:108:5: note: (79) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:110:15: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:111:5: note: (81) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:112:11: note: (82) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:112:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (84) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (85) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:113:5: note: (86) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:115:15: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:116:5: note: (88) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:117:11: note: (89) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:117:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (90) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (91) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (92) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:118:5: note: (93) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:120:15: note: (94) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:121:5: note: (95) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:122:11: note: (96) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:122:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (97) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (98) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (99) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:123:5: note: (100) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:125:15: note: (101) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:126:5: note: (102) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:127:11: note: (103) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:127:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (104) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (105) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (106) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:128:5: note: (107) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:130:15: note: (108) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:131:5: note: (109) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:132:11: note: (110) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:132:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (111) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (112) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (113) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:133:5: note: (114) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:135:15: note: (115) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:136:5: note: (116) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:137:11: note: (117) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:137:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (118) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (119) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (120) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:138:5: note: (121) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:140:15: note: (122) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:141:5: note: (123) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:142:11: note: (124) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:142:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (125) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:143:15: note: (126) dereference of NULL ‘<unknown>’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:148:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:45:1: note: (1) entry to ‘test_modmap_none’ <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:53:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:55:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:56:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:57:11: note: (5) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:57:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:58:5: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:60:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:61:5: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:62:11: note: (12) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:62:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:63:5: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:65:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:66:5: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:67:11: note: (19) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:67:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:68:5: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:70:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:71:5: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:72:11: note: (26) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:72:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:73:5: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:75:15: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:76:5: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:77:11: note: (33) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:77:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:78:5: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:80:15: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:81:5: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:82:11: note: (40) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:82:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:83:5: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:85:15: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:86:5: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:87:11: note: (47) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:87:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:88:5: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:90:15: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:91:5: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:92:11: note: (54) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:92:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (55) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:93:5: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:95:15: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:96:5: note: (60) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:97:11: note: (61) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:97:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:98:5: note: (65) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:100:15: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:101:5: note: (67) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:102:11: note: (68) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:102:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (70) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (71) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:103:5: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:105:15: note: (73) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:106:5: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:107:11: note: (75) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:107:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (77) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (78) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:108:5: note: (79) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:110:15: note: (80) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:111:5: note: (81) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:112:11: note: (82) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:112:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (83) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (84) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (85) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:113:5: note: (86) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:115:15: note: (87) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:116:5: note: (88) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:117:11: note: (89) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:117:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (90) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (91) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (92) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:118:5: note: (93) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:120:15: note: (94) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:121:5: note: (95) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:122:11: note: (96) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:122:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (97) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (98) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (99) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:123:5: note: (100) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:125:15: note: (101) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:126:5: note: (102) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:127:11: note: (103) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:127:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (104) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (105) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (106) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:128:5: note: (107) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:130:15: note: (108) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:131:5: note: (109) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:132:11: note: (110) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:132:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (111) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (112) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (113) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:133:5: note: (114) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:135:15: note: (115) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:136:5: note: (116) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:137:11: note: (117) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:137:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (118) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (119) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (120) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:138:5: note: (121) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:140:15: note: (122) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:141:5: note: (123) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:142:11: note: (124) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:142:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (125) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:8: note: (126) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:435:19: note: (127) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:143:5: note: (128) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:145:15: note: (129) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:146:5: note: (130) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:147:11: note: (131) inlined call to ‘XkbKey’ from ‘test_modmap_none’ <--[gcc] In function ‘XkbKey’, inlined from ‘test_modmap_none’ at ../test/modifiers.c:147:11: /builddir/build/BUILD/libxkbcommon-1.7.0/src/keymap.h:433:20: note: (132) ...to here <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c: In function ‘test_modmap_none’: <--[gcc] /builddir/build/BUILD/libxkbcommon-1.7.0/test/modifiers.c:148:15: note: (133) dereference of NULL ‘<unknown>’ <--[gcc] [208/244] gcc -Itest-state.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-state.p/test_state.c.o -MF test-state.p/test_state.c.o.d -o test-state.p/test_state.c.o -c ../test/state.c [209/244] gcc -o test-atom test-atom.p/test_atom.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [210/244] gcc -o test-utf8 test-utf8.p/test_utf8.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [211/244] gcc -o test-utils test-utils.p/test_utils.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [212/244] gcc -o test-rulescomp test-rulescomp.p/test_rulescomp.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [213/244] gcc -o test-keyseq test-keyseq.p/test_keyseq.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [214/244] gcc -Itest-compose.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-compose.p/test_compose.c.o -MF test-compose.p/test_compose.c.o.d -o test-compose.p/test_compose.c.o -c ../test/compose.c In file included from /builddir/build/BUILD/libxkbcommon-1.7.0/test/compose.c:34: <--[clang] /builddir/build/BUILD/libxkbcommon-1.7.0/src/compose/dump.h:48:16: warning: Result of 'calloc' is converted to a pointer of type 'char', which is incompatible with sizeof operand type 'char *' [unix.MallocSizeof] <--[clang] /builddir/build/BUILD/libxkbcommon-1.7.0/test/compose.c:912:34: warning: The left operand of '==' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libxkbcommon-1.7.0/test/compose.c:920:27: warning: Potential memory leak [unix.Malloc] <--[clang] /builddir/build/BUILD/libxkbcommon-1.7.0/test/compose.c:968:5: warning: Null pointer passed to 2nd parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] [215/244] gcc -Itest-messages.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-messages.p/test_messages.c.o -MF test-messages.p/test_messages.c.o.d -o test-messages.p/test_messages.c.o -c ../test/messages.c [216/244] gcc -Itest-messages.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-messages.p/tools_messages.c.o -MF test-messages.p/tools_messages.c.o.d -o test-messages.p/tools_messages.c.o -c ../tools/messages.c [217/244] gcc -Itest-x11.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-x11.p/test_x11.c.o -MF test-x11.p/test_x11.c.o.d -o test-x11.p/test_x11.c.o -c ../test/x11.c [218/244] gcc -Itest-x11comp.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-x11comp.p/test_x11comp.c.o -MF test-x11comp.p/test_x11comp.c.o.d -o test-x11comp.p/test_x11comp.c.o -c ../test/x11comp.c [219/244] gcc -Ifuzz-keymap.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ fuzz-keymap.p/fuzz_keymap_target.c.o -MF fuzz-keymap.p/fuzz_keymap_target.c.o.d -o fuzz-keymap.p/fuzz_keymap_target.c.o -c ../fuzz/keymap/target.c [220/244] gcc -Itest-registry.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ test-registry.p/test_registry.c.o -MF test-registry.p/test_registry.c.o.d -o test-registry.p/test_registry.c.o -c ../test/registry.c [221/244] gcc -o test-modifiers test-modifiers.p/test_modifiers.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [222/244] gcc -Ifuzz-compose.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ fuzz-compose.p/fuzz_compose_target.c.o -MF fuzz-compose.p/fuzz_compose_target.c.o.d -o fuzz-compose.p/fuzz_compose_target.c.o -c ../fuzz/compose/target.c [223/244] gcc -o test-compose test-compose.p/test_compose.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [224/244] gcc -Ibench-key-proc.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ bench-key-proc.p/bench_key-proc.c.o -MF bench-key-proc.p/bench_key-proc.c.o.d -o bench-key-proc.p/bench_key-proc.c.o -c ../bench/key-proc.c [225/244] gcc -o fuzz-keymap fuzz-keymap.p/fuzz_keymap_target.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [226/244] gcc -o test-state test-state.p/test_state.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [227/244] gcc -o test-messages test-messages.p/test_messages.c.o test-messages.p/tools_messages.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [228/244] gcc -Ibench-rulescomp.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ bench-rulescomp.p/bench_rulescomp.c.o -MF bench-rulescomp.p/bench_rulescomp.c.o.d -o bench-rulescomp.p/bench_rulescomp.c.o -c ../bench/rulescomp.c [229/244] gcc -Ibench-rules.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ bench-rules.p/bench_rules.c.o -MF bench-rules.p/bench_rules.c.o.d -o bench-rules.p/bench_rules.c.o -c ../bench/rules.c [230/244] gcc -Ibench-compose.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ bench-compose.p/bench_compose.c.o -MF bench-compose.p/bench_compose.c.o.d -o bench-compose.p/bench_compose.c.o -c ../bench/compose.c [231/244] gcc -o test-x11comp test-x11comp.p/test_x11comp.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-x11-internal.a libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 /usr/lib64/libxcb.so /usr/lib64/libxcb-xkb.so -Wl,--end-group [232/244] gcc -Ibench-compose-traversal.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ bench-compose-traversal.p/bench_compose-traversal.c.o -MF bench-compose-traversal.p/bench_compose-traversal.c.o.d -o bench-compose-traversal.p/bench_compose-traversal.c.o -c ../bench/compose-traversal.c [233/244] gcc -o test-x11 test-x11.p/test_x11.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-x11-internal.a libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 /usr/lib64/libxcb.so /usr/lib64/libxcb-xkb.so -Wl,--end-group [234/244] gcc -Ibench-atom.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ bench-atom.p/bench_atom.c.o -MF bench-atom.p/bench_atom.c.o.d -o bench-atom.p/bench_atom.c.o -c ../bench/atom.c [235/244] gcc -o fuzz-compose fuzz-compose.p/fuzz_compose_target.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [236/244] gcc -o bench-atom bench-atom.p/bench_atom.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [237/244] gcc -Ibench-x11.p -I. -I.. -I../src -I../include -I../tools -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ bench-x11.p/bench_x11.c.o -MF bench-x11.p/bench_x11.c.o.d -o bench-x11.p/bench_x11.c.o -c ../bench/x11.c [238/244] gcc -o test-registry test-registry.p/test_registry.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbregistry.so.0.0.0 libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [239/244] gcc -o bench-key-proc bench-key-proc.p/bench_key-proc.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [240/244] gcc -o bench-rules bench-rules.p/bench_rules.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [241/244] gcc -o bench-compose bench-compose.p/bench_compose.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [242/244] gcc -o bench-rulescomp bench-rulescomp.p/bench_rulescomp.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group [243/244] gcc -o bench-x11 bench-x11.p/bench_x11.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-x11-internal.a libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 /usr/lib64/libxcb.so /usr/lib64/libxcb-xkb.so -Wl,--end-group [244/244] gcc -o bench-compose-traversal bench-compose-traversal.p/bench_compose-traversal.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/ -Wl,--start-group libxkbcommon-test-internal.a libtools-internal.a libxkbcommon.so.0.0.0 -Wl,--end-group INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build -j 8 -v + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/libxkbcommon.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] Finish: run >>> 2024-04-22 11:15:37 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck" >>> 2024-04-22 11:15:38 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::clang:clang++:cppcheck:gcc' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' sh -c \\\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libxkbcommon.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.5 starting (python version = 3.9.18, NVR = mock-5.5-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libxkbcommon.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.5 INFO: Mock Version: 5.5 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libxkbcommon.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libxkbcommon.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1712016000 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xifi8m + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64 ++ dirname /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libxkbcommon-1.7.0 + DESTDIR=/builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64 + /usr/bin/meson install -C redhat-linux-build --no-rebuild Installing libxkbcommon.so.0.0.0 to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/lib64 Installing libxkbcommon-x11.so.0.0.0 to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/lib64 Installing libxkbregistry.so.0.0.0 to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/lib64 Installing xkbcli to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/bin Installing xkbcli-compile-keymap to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/libexec/xkbcommon Installing xkbcli-compile-compose to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/libexec/xkbcommon Installing xkbcli-how-to-type to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/libexec/xkbcommon Installing xkbcli-interactive-evdev to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/libexec/xkbcommon Installing xkbcli-interactive-x11 to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/libexec/xkbcommon Installing xkbcli-interactive-wayland to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/libexec/xkbcommon Installing xkbcli-list to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/libexec/xkbcommon Installing /builddir/build/BUILD/libxkbcommon-1.7.0/include/xkbcommon/xkbcommon.h to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/include/xkbcommon Installing /builddir/build/BUILD/libxkbcommon-1.7.0/include/xkbcommon/xkbcommon-compat.h to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/include/xkbcommon Installing /builddir/build/BUILD/libxkbcommon-1.7.0/include/xkbcommon/xkbcommon-compose.h to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/include/xkbcommon Installing /builddir/build/BUILD/libxkbcommon-1.7.0/include/xkbcommon/xkbcommon-keysyms.h to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/include/xkbcommon Installing /builddir/build/BUILD/libxkbcommon-1.7.0/include/xkbcommon/xkbcommon-names.h to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/include/xkbcommon Installing /builddir/build/BUILD/libxkbcommon-1.7.0/include/xkbcommon/xkbcommon-x11.h to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/include/xkbcommon Installing /builddir/build/BUILD/libxkbcommon-1.7.0/include/xkbcommon/xkbregistry.h to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/include/xkbcommon Installing /builddir/build/BUILD/libxkbcommon-1.7.0/tools/xkbcli.1 to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/share/man/man1 Installing /builddir/build/BUILD/libxkbcommon-1.7.0/tools/xkbcli-compile-keymap.1 to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/share/man/man1 Installing /builddir/build/BUILD/libxkbcommon-1.7.0/tools/xkbcli-compile-compose.1 to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/share/man/man1 Installing /builddir/build/BUILD/libxkbcommon-1.7.0/tools/xkbcli-how-to-type.1 to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/share/man/man1 Installing /builddir/build/BUILD/libxkbcommon-1.7.0/tools/xkbcli-interactive-evdev.1 to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/share/man/man1 Installing /builddir/build/BUILD/libxkbcommon-1.7.0/tools/xkbcli-interactive-x11.1 to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/share/man/man1 Installing /builddir/build/BUILD/libxkbcommon-1.7.0/tools/xkbcli-interactive-wayland.1 to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/share/man/man1 Installing /builddir/build/BUILD/libxkbcommon-1.7.0/tools/xkbcli-list.1 to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/share/man/man1 Installing /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/meson-private/xkbcommon.pc to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/lib64/pkgconfig Installing /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/meson-private/xkbcommon-x11.pc to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/lib64/pkgconfig Installing /builddir/build/BUILD/libxkbcommon-1.7.0/redhat-linux-build/meson-private/xkbregistry.pc to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/lib64/pkgconfig Installing /builddir/build/BUILD/libxkbcommon-1.7.0/tools/xkbcli-bash-completion.sh to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/share/bash-completion/completions Installing symlink pointing to libxkbcommon.so.0.0.0 to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/lib64/libxkbcommon.so.0 Installing symlink pointing to libxkbcommon.so.0 to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/lib64/libxkbcommon.so Installing symlink pointing to libxkbcommon-x11.so.0.0.0 to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/lib64/libxkbcommon-x11.so.0 Installing symlink pointing to libxkbcommon-x11.so.0 to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/lib64/libxkbcommon-x11.so Installing symlink pointing to libxkbregistry.so.0.0.0 to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/lib64/libxkbregistry.so.0 Installing symlink pointing to libxkbregistry.so.0 to /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/lib64/libxkbregistry.so + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.7.0-1.fc41 --unique-debug-suffix -1.7.0-1.fc41.x86_64 --unique-debug-src-base libxkbcommon-1.7.0-1.fc41.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libxkbcommon-1.7.0 find-debuginfo: starting Extracting debug info from 11 files DWARF-compressing 11 files sepdebugcrcfix: Updated 11 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/libxkbcommon-1.7.0-1.fc41.x86_64 cpio: redhat-linux-build/src/xkbcomp/keywords.gperf: Cannot stat: No such file or directory 3076 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: libxkbcommon-1.7.0-1.fc41.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.kpP2Qh + umask 022 + cd /builddir/build/BUILD + cd libxkbcommon-1.7.0 + LICENSEDIR=/builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/share/licenses/libxkbcommon + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/share/licenses/libxkbcommon + cp -pr /builddir/build/BUILD/libxkbcommon-1.7.0/LICENSE /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64/usr/share/licenses/libxkbcommon + RPM_EC=0 ++ jobs -p + exit 0 Provides: libxkbcommon = 1.7.0-1.fc41 libxkbcommon(x86-64) = 1.7.0-1.fc41 libxkbcommon.so.0()(64bit) libxkbcommon.so.0(V_0.5.0)(64bit) libxkbcommon.so.0(V_0.6.0)(64bit) libxkbcommon.so.0(V_0.7.0)(64bit) libxkbcommon.so.0(V_0.8.0)(64bit) libxkbcommon.so.0(V_1.0.0)(64bit) libxkbcommon.so.0(V_1.6.0)(64bit) libxkbregistry.so.0()(64bit) libxkbregistry.so.0(V_1.0.0)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.8)(64bit) rtld(GNU_HASH) Processing files: libxkbcommon-devel-1.7.0-1.fc41.x86_64 Provides: libxkbcommon-devel = 1.7.0-1.fc41 libxkbcommon-devel(x86-64) = 1.7.0-1.fc41 pkgconfig(xkbcommon) = 1.7.0 pkgconfig(xkbregistry) = 1.7.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libxkbcommon.so.0()(64bit) libxkbregistry.so.0()(64bit) pkgconfig(libxml-2.0) Processing files: libxkbcommon-x11-1.7.0-1.fc41.x86_64 Provides: libxkbcommon-x11 = 1.7.0-1.fc41 libxkbcommon-x11(x86-64) = 1.7.0-1.fc41 libxkbcommon-x11.so.0()(64bit) libxkbcommon-x11.so.0(V_0.5.0)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libxcb-xkb.so.1()(64bit) libxcb.so.1()(64bit) libxkbcommon.so.0()(64bit) libxkbcommon.so.0(V_0.5.0)(64bit) rtld(GNU_HASH) Processing files: libxkbcommon-x11-devel-1.7.0-1.fc41.x86_64 Provides: libxkbcommon-x11-devel = 1.7.0-1.fc41 libxkbcommon-x11-devel(x86-64) = 1.7.0-1.fc41 pkgconfig(xkbcommon-x11) = 1.7.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libxkbcommon-x11.so.0()(64bit) pkgconfig(xcb) >= 1.10 pkgconfig(xcb-xkb) >= 1.10 pkgconfig(xkbcommon) Processing files: libxkbcommon-utils-1.7.0-1.fc41.x86_64 Provides: libxkbcommon-utils = 1.7.0-1.fc41 libxkbcommon-utils(x86-64) = 1.7.0-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libwayland-client.so.0()(64bit) libxcb-xkb.so.1()(64bit) libxcb.so.1()(64bit) libxkbcommon-x11.so.0()(64bit) libxkbcommon-x11.so.0(V_0.5.0)(64bit) libxkbcommon.so.0()(64bit) libxkbcommon.so.0(V_0.5.0)(64bit) libxkbcommon.so.0(V_0.6.0)(64bit) libxkbcommon.so.0(V_0.7.0)(64bit) libxkbcommon.so.0(V_1.0.0)(64bit) libxkbcommon.so.0(V_1.6.0)(64bit) libxkbregistry.so.0()(64bit) libxkbregistry.so.0(V_1.0.0)(64bit) rtld(GNU_HASH) Processing files: libxkbcommon-debugsource-1.7.0-1.fc41.x86_64 Provides: libxkbcommon-debugsource = 1.7.0-1.fc41 libxkbcommon-debugsource(x86-64) = 1.7.0-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libxkbcommon-debuginfo-1.7.0-1.fc41.x86_64 Provides: debuginfo(build-id) = 277aad6e840ccb1d8ded58b694900f74142a0144 debuginfo(build-id) = c034984d15ef06f9353883288baef963eb6b35c7 libxkbcommon-debuginfo = 1.7.0-1.fc41 libxkbcommon-debuginfo(x86-64) = 1.7.0-1.fc41 libxkbcommon.so.0.0.0-1.7.0-1.fc41.x86_64.debug()(64bit) libxkbregistry.so.0.0.0-1.7.0-1.fc41.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libxkbcommon-debugsource(x86-64) = 1.7.0-1.fc41 Processing files: libxkbcommon-x11-debuginfo-1.7.0-1.fc41.x86_64 Provides: debuginfo(build-id) = 3e7e7908a609efbc63cc9898c621e2331b3e2540 libxkbcommon-x11-debuginfo = 1.7.0-1.fc41 libxkbcommon-x11-debuginfo(x86-64) = 1.7.0-1.fc41 libxkbcommon-x11.so.0.0.0-1.7.0-1.fc41.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libxkbcommon-debugsource(x86-64) = 1.7.0-1.fc41 Processing files: libxkbcommon-utils-debuginfo-1.7.0-1.fc41.x86_64 Provides: debuginfo(build-id) = 0b942744d78cd4358adf77ed6967de85a90d0208 debuginfo(build-id) = 38de23bf82db8fffc78a95730e106b6e020f4cba debuginfo(build-id) = 6ccbd4cc890233c2ebb0d0c41738d291dd22758b debuginfo(build-id) = 7bea82a790ed107cb23584fb0d11b0cfedfc6231 debuginfo(build-id) = 860ea5cdf3f88993317e94f47979039f21cad4f1 debuginfo(build-id) = 94f561984f3d98ee3416572d1a7877abb460c77f debuginfo(build-id) = cffc6f5aeea8e8185bfcb6e837a090ab08bfad83 debuginfo(build-id) = e3898fb7300f9af56ea472bbd09b4f9c273016e9 libxkbcommon-utils-debuginfo = 1.7.0-1.fc41 libxkbcommon-utils-debuginfo(x86-64) = 1.7.0-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libxkbcommon-debugsource(x86-64) = 1.7.0-1.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libxkbcommon-1.7.0-1.fc41.x86_64 Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libxkbcommon.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-04-22 11:15:40 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT > /builddir/shellcheck-capture.err" >>> 2024-04-22 11:15:41 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -c --remove-files '/builddir/cswrap-capture.err' '/builddir/shellcheck-capture.err'' | tar -xC '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/debug/raw-results'" tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets >>> 2024-04-22 11:15:43 "cat '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CLANG_WARNING --event error | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/debug/uni-results/cswrap-capture.js'" >>> 2024-04-22 11:15:43 "csgrep --quiet '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/debug/raw-results/builddir/shellcheck-capture.err' | csgrep --invert-match --event '^note|warning\\[SC1090\\]' > '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/debug/uni-results/shellcheck-capture.err'" scan.ini: time-finished = 2024-04-22 11:15:43 scan.ini: exit-code = 0 >>> 2024-04-22 11:15:43 "cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/scan.ini' '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/debug/uni-results'/* > '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/debug/scan-results-all.js'" >>> 2024-04-22 11:15:43 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'csgrep --mode=json --embed-context 3 '--warning-rate-limit=1024' '--limit-msg-len=512'' <'/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/debug/scan-results-all.js' >'/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/debug/scan-results-all.js.tmp'" >>> 2024-04-22 11:15:44 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean" >>> 2024-04-22 11:15:47 "cat '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --path '^/builddir/build/BUILD/' --strip-path-prefix /builddir/build/BUILD/ | csgrep --mode=json --invert-match --path '^ksh-.*[0-9]+\\.c\$' | csgrep --mode=json --invert-match --path 'CMakeFiles/CMakeTmp|conftest.c' | cssort --key=path > '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/scan-results.js'" >>> 2024-04-22 11:15:47 "cat '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/scan-results.js' - | cssort > '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/debug/suppressed-results.js'" >>> 2024-04-22 11:15:47 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/debug/suppressed-results.js' > '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/debug/suppressed-results.err'" >>> 2024-04-22 11:15:47 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/debug/suppressed-results.js' | cshtml - > '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/debug/suppressed-results.html'" >>> 2024-04-22 11:15:47 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/debug/suppressed-results.js' | tee '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/debug/suppressed-results-summary.txt'" >>> 2024-04-22 11:15:47 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/scan-results.js' > '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/scan-results.err'" >>> 2024-04-22 11:15:47 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/scan-results.js' | cshtml - > '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/scan-results.html'" >>> 2024-04-22 11:15:47 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/scan-results.js' | tee '/tmp/csmock0rbr9p0i/libxkbcommon-1.7.0-1.fc41/scan-results-summary.txt'" 1 CLANG_WARNING warning[core.CallAndMessage] 1 CLANG_WARNING warning[core.NonNullParamChecker] 3 CLANG_WARNING warning[core.NullDereference] 2 CLANG_WARNING warning[core.UndefinedBinaryOperatorResult] 1 CLANG_WARNING warning[core.uninitialized.UndefReturn] 1 CLANG_WARNING warning[deadcode.DeadStores] 1 CLANG_WARNING warning[unix.MallocSizeof] 2 CLANG_WARNING warning[unix.Malloc] 32 COMPILER_WARNING warning[-Warray-bounds=] 1 COMPILER_WARNING warning[-Wmaybe-uninitialized] 2 CPPCHECK_WARNING error[comparePointers] 5 CPPCHECK_WARNING error[nullPointer] 2 CPPCHECK_WARNING error[uninitStructMember] 4 CPPCHECK_WARNING warning[objectIndex] 1 CPPCHECK_WARNING warning[uninitvar] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-malloc-leak] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-argument] 25 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-dereference] 7 GCC_ANALYZER_WARNING warning[-Wanalyzer-out-of-bounds] 6 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-dereference] 10 GCC_ANALYZER_WARNING warning[-Wanalyzer-use-of-uninitialized-value] <<< 2024-04-22 11:15:47 csmock exit code: 0