libxkbcommon-1.8.1-1.fc43

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:185:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 1), 1)’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:155:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:156:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:156:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:160:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:165:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:170:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:171:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:177:24: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:185:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:186:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:186:9: acquire_resource: opened here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:185:9: danger: ‘dup2(open("/dev/null", 1), 1)’ leaks here; was opened at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
#  183|       int stdout_old = dup(STDOUT_FILENO);
#  184|       int stdout_new = open("/dev/null", O_WRONLY);
#  185|->     if (stdout_old == -1 || stdout_new == -1 ||
#  186|           dup2(stdout_new, STDOUT_FILENO) == -1) {
#  187|           perror("Stdout error");

Error: GCC_ANALYZER_WARNING (CWE-775): [#def2]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:185:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 1)’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:155:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:156:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:156:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:160:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:165:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:170:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:171:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:177:24: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:184:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:185:9: danger: ‘open("/dev/null", 1)’ leaks here; was opened at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
#  183|       int stdout_old = dup(STDOUT_FILENO);
#  184|       int stdout_new = open("/dev/null", O_WRONLY);
#  185|->     if (stdout_old == -1 || stdout_new == -1 ||
#  186|           dup2(stdout_new, STDOUT_FILENO) == -1) {
#  187|           perror("Stdout error");

Error: GCC_ANALYZER_WARNING (CWE-775): [#def3]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:194:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 1), 2)’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:155:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:156:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:156:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:160:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:165:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:170:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:171:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:177:24: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:185:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:186:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:185:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:190:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:194:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:195:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:195:9: acquire_resource: opened here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:194:9: danger: ‘dup2(open("/dev/null", 1), 2)’ leaks here; was opened at [(15)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/14)
#  192|       int stderr_old = dup(STDERR_FILENO);
#  193|       int stderr_new = open("/dev/null", O_WRONLY);
#  194|->     if (stderr_old == -1 || stderr_new == -1 ||
#  195|           dup2(stderr_new, STDERR_FILENO) == -1) {
#  196|           perror("Stderr error");

Error: GCC_ANALYZER_WARNING (CWE-775): [#def4]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:194:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 1)’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:155:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:156:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:156:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:160:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:165:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:170:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:171:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:177:24: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:185:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:186:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:185:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:190:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:193:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../bench/compile-keymap.c:194:9: danger: ‘open("/dev/null", 1)’ leaks here; was opened at [(13)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/12)
#  192|       int stderr_old = dup(STDERR_FILENO);
#  193|       int stderr_new = open("/dev/null", O_WRONLY);
#  194|->     if (stderr_old == -1 || stderr_new == -1 ||
#  195|           dup2(stderr_new, STDERR_FILENO) == -1) {
#  196|           perror("Stderr error");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:48:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*table.nodes.item’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:25:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:28:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:29:8: branch_false: following ‘false’ branch (when ‘table’ is non-NULL)...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:34:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:48:5: acquire_memory: this call could return NULL
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:48:5: danger: ‘*table.nodes.item’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
#   46|       dummy.leaf.utf8 = 0;
#   47|       dummy.leaf.keysym = XKB_KEY_NoSymbol;
#   48|->     darray_append(table->nodes, dummy);
#   49|   
#   50|       darray_append(table->utf8, '\0');

Error: GCC_ANALYZER_WARNING (CWE-476): [#def6]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:50:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*table.utf8.item’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:25:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:28:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:29:8: branch_false: following ‘false’ branch (when ‘table’ is non-NULL)...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:34:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:50:5: acquire_memory: this call could return NULL
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:50:5: danger: ‘*table.utf8.item’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
#   48|       darray_append(table->nodes, dummy);
#   49|   
#   50|->     darray_append(table->utf8, '\0');
#   51|   
#   52|       return table;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def7]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:278:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*iter.pending_nodes.item’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:256:8: branch_false: following ‘false’ branch (when ‘iter’ is non-NULL)...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:259:19: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:261:8: branch_false: following ‘false’ branch (when ‘sequence’ is non-NULL)...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:265:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:270:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:278:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:278:5: acquire_memory: this call could return NULL
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:278:5: danger: ‘*iter.pending_nodes.item’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
#  276|           .processed = false
#  277|       };
#  278|->     darray_append(iter->pending_nodes, pending);
#  279|       const struct compose_node *node = &darray_item(iter->table->nodes,
#  280|                                                      pending.offset);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:285:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:250:1: enter_function: entry to ‘xkb_compose_table_iterator_new’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:256:8: branch_false: following ‘false’ branch (when ‘iter’ is non-NULL)...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:259:19: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:261:8: branch_false: following ‘false’ branch (when ‘sequence’ is non-NULL)...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:265:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:270:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:278:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:278:5: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:283:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:284:26: branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:285:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:285:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:283:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:284:26: branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:285:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:285:9: call_function: inlined call to ‘darray_next_alloc’ from ‘xkb_compose_table_iterator_new’
 branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:285:9: call_function: inlined call to ‘darray_next_alloc’ from ‘xkb_compose_table_iterator_new’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/compose/table.c:285:9: danger: ‘<unknown>’ leaks here; was allocated at [(8)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/7)
#  283|       while (node->lokid) {
#  284|           pending.offset = node->lokid;
#  285|->         darray_append(iter->pending_nodes, pending);
#  286|           node = &darray_item(iter->table->nodes, pending.offset);
#  287|       };

Error: GCC_ANALYZER_WARNING (CWE-476): [#def9]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/keysym.c:102:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘iter’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/keysym.c:101:40: acquire_memory: this call could return NULL
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/keysym.c:102:5: danger: ‘iter’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  100|   {
#  101|       struct xkb_keysym_iterator* iter = calloc(1, sizeof(*iter));
#  102|->     iter->explicit = iterate_only_explicit_keysyms;
#  103|       iter->index = -1;
#  104|       iter->keysym = XKB_KEYSYM_UNICODE_MAX;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:436:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc((long unsigned int)(*wire_sym_map.groupInfo & 15), 24)’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1144:1: enter_function: entry to ‘xkb_x11_keymap_new_from_device’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1152:8: branch_false: following ‘false’ branch (when ‘flags == 0’)...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1158:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1158:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1164:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1165:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1169:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1187:10: call_function: calling ‘get_map’ from ‘xkb_x11_keymap_new_from_device’
#  434|           key->num_groups = wire_sym_map->groupInfo & 0x0f;
#  435|           FAIL_UNLESS(key->num_groups <= ARRAY_SIZE(wire_sym_map->kt_index));
#  436|->         ALLOC_OR_FAIL(key->groups, key->num_groups);
#  437|   
#  438|           for (unsigned j = 0; j < key->num_groups; j++) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:899:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*type.level_names’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1144:1: enter_function: entry to ‘xkb_x11_keymap_new_from_device’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1152:8: branch_false: following ‘false’ branch (when ‘flags == 0’)...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1158:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1158:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1164:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1165:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1169:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1187:10: call_function: calling ‘get_map’ from ‘xkb_x11_keymap_new_from_device’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1187:10: return_function: returning to ‘xkb_x11_keymap_new_from_device’ from ‘get_map’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1187:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1189:10: branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1189:10: call_function: calling ‘get_indicator_map’ from ‘xkb_x11_keymap_new_from_device’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1189:10: return_function: returning to ‘xkb_x11_keymap_new_from_device’ from ‘get_indicator_map’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1189:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1191:10: branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1191:10: call_function: calling ‘get_compat_map’ from ‘xkb_x11_keymap_new_from_device’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1191:10: return_function: returning to ‘xkb_x11_keymap_new_from_device’ from ‘get_compat_map’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1191:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1193:10: branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/x11/keymap.c:1193:10: call_function: calling ‘get_names’ from ‘xkb_x11_keymap_new_from_device’
#  897|           FAIL_UNLESS(type->num_levels == wire_num_levels);
#  898|   
#  899|->         ALLOC_OR_FAIL(type->level_names, type->num_levels);
#  900|   
#  901|           x11_atom_interner_adopt_atom(interner, wire_type_name, &type->name);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def12]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/compat.c:217:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/compat.c:878:1: enter_function: entry to ‘CompileCompatMap’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/compat.c:885:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/compat.c:888:52: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/compat.c:892:5: call_function: calling ‘HandleCompatMapFile’ from ‘CompileCompatMap’
#  215|       }
#  216|   
#  217|->     darray_append(info->interps, *new);
#  218|       return true;
#  219|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keycodes.c:423:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keycodes.c:650:1: enter_function: entry to ‘CompileKeycodes’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keycodes.c:657:5: call_function: calling ‘HandleKeycodesFile’ from ‘CompileKeycodes’
#  421|   
#  422|       InitAliasInfo(&new, merge, def->alias, def->real);
#  423|->     darray_append(info->aliases, new);
#  424|       return true;
#  425|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:135:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:342:1: enter_function: entry to ‘CompileKeymap’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:383:10: branch_true: following ‘true’ branch (when ‘type != 4’)...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:385:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:392:8: branch_true: following ‘true’ branch (when ‘ok != 0’)...
 branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:397:10: branch_true: following ‘true’ branch (when ‘type != 4’)...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:399:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:404:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:398:10: branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:412:12: call_function: calling ‘UpdateDerivedKeymapFields’ from ‘CompileKeymap’
#  133|               }
#  134|               if (found) {
#  135|->                 darray_append(*interprets, interp);
#  136|                   break;
#  137|               }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:141:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:342:1: enter_function: entry to ‘CompileKeymap’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:383:10: branch_true: following ‘true’ branch (when ‘type != 4’)...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:385:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:392:8: branch_true: following ‘true’ branch (when ‘ok != 0’)...
 branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:397:10: branch_true: following ‘true’ branch (when ‘type != 4’)...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:399:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:404:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:398:10: branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/keymap.c:412:12: call_function: calling ‘UpdateDerivedKeymapFields’ from ‘CompileKeymap’
#  139|           if (!found)
#  140|   not_found:
#  141|->             darray_append(*interprets, &default_interpret);
#  142|       }
#  143|       return true;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:272:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘__builtin_malloc(96)’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:1496:1: enter_function: entry to ‘xkb_components_from_rules’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:1509:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:1515:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:1515:15: call_function: calling ‘matcher_new’ from ‘xkb_components_from_rules’
#  270|       if (!s) {
#  271|           struct matched_sval val = { .sval = { NULL, 0 } };
#  272|->         darray_append(arr, val);
#  273|           return arr;
#  274|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def17]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:280:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:261:1: enter_function: entry to ‘split_comma_separated_mlvo’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:278:16: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:279:20: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:279:20: call_function: calling ‘strip_spaces’ from ‘split_comma_separated_mlvo’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:279:20: return_function: returning to ‘split_comma_separated_mlvo’ from ‘strip_spaces’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:280:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:280:9: call_function: inlined call to ‘darray_next_alloc’ from ‘split_comma_separated_mlvo’
 branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:280:9: call_function: inlined call to ‘darray_next_alloc’ from ‘split_comma_separated_mlvo’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:280:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:280:9: release_memory: ‘0’ is NULL
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:280:9: danger: dereference of NULL ‘arr.item + (long unsigned int)arr.size * 24’
#  278|           while (*s != '\0' && *s != ',') { s++; val.sval.len++; }
#  279|           val.sval = strip_spaces(val.sval);
#  280|->         darray_append(arr, val);
#  281|           if (*s == '\0') break;
#  282|           if (*s == ',') s++;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:317:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:1496:1: enter_function: entry to ‘xkb_components_from_rules’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:1509:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:1515:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:1515:15: call_function: calling ‘matcher_new’ from ‘xkb_components_from_rules’
#  315|                   rmlvo->variant ? rmlvo->variant : "(none)");
#  316|           darray_resize(m->rmlvo.variants, darray_size(m->rmlvo.layouts));
#  317|->         darray_shrink(m->rmlvo.variants);
#  318|       }
#  319|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:1474:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘matcher’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:1496:1: enter_function: entry to ‘xkb_components_from_rules’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:1509:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:1515:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:1515:15: call_function: calling ‘matcher_new’ from ‘xkb_components_from_rules’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:1515:15: return_function: returning to ‘xkb_components_from_rules’ from ‘matcher_new’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/rules.c:1517:11: call_function: calling ‘read_rules_file’ from ‘xkb_components_from_rules’
# 1472|       }
# 1473|   
# 1474|->     scanner_init(&scanner, matcher->ctx, string, size, path, NULL);
# 1475|   
# 1476|       /* Basic detection of wrong character encoding.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/symbols.c:494:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*into.groups.item’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/symbols.c:605:1: enter_function: entry to ‘MergeIncludedSymbols’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/symbols.c:637:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/symbols.c:643:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/symbols.c:643:9: branch_true: following ‘true’ branch...
 branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/symbols.c:643:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/symbols.c:644:27: branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/symbols.c:645:18: call_function: calling ‘AddKeySymbols’ from ‘MergeIncludedSymbols’
#  492|       /* If @from has extra groups, just move them to @into. */
#  493|       for (i = groups_in_both; i < darray_size(from->groups); i++) {
#  494|->         darray_append(into->groups, darray_item(from->groups, i));
#  495|           InitGroupInfo(&darray_item(from->groups, i));
#  496|       }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def21]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/symbols.c:758:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/symbols.c:1779:1: enter_function: entry to ‘CompileSymbols’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/symbols.c:1786:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/symbols.c:1789:48: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/symbols.c:1792:5: call_function: calling ‘HandleSymbolsFile’ from ‘CompileSymbols’
#argument 1 of ‘__builtin_memset’ must be non-null
#  756|           }
#  757|   
#  758|->         darray_resize0(keyi->groups, darray_size(keyi->groups) + 1);
#  759|           *ndx_rtrn = darray_size(keyi->groups) - 1;
#  760|           return true;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/symbols.c:926:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/symbols.c:1779:1: enter_function: entry to ‘CompileSymbols’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/symbols.c:1786:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/symbols.c:1789:48: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/symbols.c:1792:5: call_function: calling ‘HandleSymbolsFile’ from ‘CompileSymbols’
#  924|                   goto next_level;
#  925|               } else {
#  926|->                 darray_append(actions, toAct);
#  927|               }
#  928|           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def23]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/types.c:157:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/types.c:732:1: enter_function: entry to ‘CompileKeyTypes’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/types.c:739:5: call_function: calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’
#  155|       }
#  156|   
#  157|->     darray_append(info->types, *new);
#  158|       return true;
#  159|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def24]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/types.c:324:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/types.c:732:1: enter_function: entry to ‘CompileKeyTypes’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/types.c:739:5: call_function: calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’
#  322|           type->num_levels = new->level + 1;
#  323|   
#  324|->     darray_append(type->entries, *new);
#  325|       return true;
#  326|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def25]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/types.c:415:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/types.c:732:1: enter_function: entry to ‘CompileKeyTypes’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/types.c:739:5: call_function: calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’
#  413|       new.mods.mods = mods;
#  414|       new.preserve.mods = preserve_mods;
#  415|->     darray_append(type->entries, new);
#  416|       return true;
#  417|   }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def26]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/types.c:415:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘new.mods.mask’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/types.c:732:1: enter_function: entry to ‘CompileKeyTypes’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/types.c:739:5: call_function: calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’
#  413|       new.mods.mods = mods;
#  414|       new.preserve.mods = preserve_mods;
#  415|->     darray_append(type->entries, new);
#  416|       return true;
#  417|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:487:9: warning[-Wanalyzer-malloc-leak]: leak of ‘test_get_path(rel_path)’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:443:1: enter_function: entry to ‘test_compile_output’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:455:8: branch_false: following ‘false’ branch (when ‘rel_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:470:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:470:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:475:17: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:476:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:481:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:483:18: call_function: calling ‘test_get_path’ from ‘test_compile_output’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:483:18: return_function: returning to ‘test_compile_output’ from ‘test_get_path’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:484:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:486:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:486:8: branch_true: following ‘true’ branch (when ‘update_output_files != 0’)...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:487:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:487:9: danger: ‘test_get_path(rel_path)’ leaks here; was allocated at [(12)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/11)
#  485|   
#  486|       if (update_output_files) {
#  487|->         fprintf(stderr, "Writing golden test output to: %s\n", path);
#  488|           FILE *file = fopen(path, "wb");
#  489|           assert(file);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:493:9: warning[-Wanalyzer-malloc-leak]: leak of ‘test_get_path(rel_path)’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:443:1: enter_function: entry to ‘test_compile_output’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:455:8: branch_false: following ‘false’ branch (when ‘rel_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:470:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:470:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:475:17: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:476:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:481:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:483:18: call_function: calling ‘test_get_path’ from ‘test_compile_output’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:483:18: return_function: returning to ‘test_compile_output’ from ‘test_get_path’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:484:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:486:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:486:8: branch_false: following ‘false’ branch (when ‘update_output_files == 0’)...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:493:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/common.c:493:9: danger: ‘test_get_path(rel_path)’ leaks here; was allocated at [(12)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/11)
#  491|           fclose(file);
#  492|       } else {
#  493|->         fprintf(stderr, "Reading golden test output: %s\n", path);
#  494|           char *expected = test_read_file(rel_path);
#  495|           assert(expected);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def29]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:250:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:230:1: enter_function: entry to ‘test_numeric_keysyms’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:240:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:242:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:243:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:245:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:247:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:248:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:248:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:249:11: call_function: inlined call to ‘XkbKey’ from ‘test_numeric_keysyms’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:250:5: danger: dereference of NULL ‘<unknown>’
#  248|       assert(keysyms[0] == 0x1ffffffd);
#  249|       key = XkbKey(keymap, kc);
#  250|->     assert(key->modmap == Mod1Mask);
#  251|   
#  252|       kc = xkb_keymap_key_by_name(keymap, "AD02");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:257:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:230:1: enter_function: entry to ‘test_numeric_keysyms’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:240:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:242:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:243:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:245:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:247:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:248:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:248:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:249:11: call_function: inlined call to ‘XkbKey’ from ‘test_numeric_keysyms’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:250:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:252:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:254:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:255:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:255:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:256:11: call_function: inlined call to ‘XkbKey’ from ‘test_numeric_keysyms’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:257:5: danger: dereference of NULL ‘<unknown>’
#  255|       assert(keysyms[0] == 0x1ffffffe);
#  256|       key = XkbKey(keymap, kc);
#  257|->     assert(key->modmap == Mod2Mask);
#  258|   
#  259|       kc = xkb_keymap_key_by_name(keymap, "AD03");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def31]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:267:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:230:1: enter_function: entry to ‘test_numeric_keysyms’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:240:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:242:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:243:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:245:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:247:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:248:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:248:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:249:11: call_function: inlined call to ‘XkbKey’ from ‘test_numeric_keysyms’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:250:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:252:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:254:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:255:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:255:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:256:11: call_function: inlined call to ‘XkbKey’ from ‘test_numeric_keysyms’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:257:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:259:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:261:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:262:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:262:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:264:21: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:265:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:266:11: call_function: inlined call to ‘XkbKey’ from ‘test_numeric_keysyms’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/keymap.c:267:5: danger: dereference of NULL ‘<unknown>’
#  265|       assert(keysyms_count == 0);
#  266|       key = XkbKey(keymap, kc);
#  267|->     assert(key->modmap == Mod3Mask);
#  268|   
#  269|       xkb_keymap_unref(keymap);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def32]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: danger: dereference of NULL ‘<unknown>’
#  111|       assert(keycode != XKB_KEYCODE_INVALID);
#  112|       key = XkbKey(keymap, keycode);
#  113|->     assert(key->modmap == NoModifier);
#  114|   
#  115|       keycode = xkb_keymap_key_by_name(keymap, "LFSH");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def33]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:117:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: danger: dereference of NULL ‘<unknown>’
#  116|       assert(keycode != XKB_KEYCODE_INVALID);
#  117|       key = XkbKey(keymap, keycode);
#  118|->     assert(key->modmap == NoModifier);
#  119|   
#  120|       keycode = xkb_keymap_key_by_name(keymap, "RTSH");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:123:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:117:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:122:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:123:5: danger: dereference of NULL ‘<unknown>’
#  121|       assert(keycode != XKB_KEYCODE_INVALID);
#  122|       key = XkbKey(keymap, keycode);
#  123|->     assert(key->modmap == NoModifier);
#  124|   
#  125|       keycode = xkb_keymap_key_by_name(keymap, "LWIN");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def35]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:128:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:117:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:122:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:127:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:128:5: danger: dereference of NULL ‘<unknown>’
#  126|       assert(keycode != XKB_KEYCODE_INVALID);
#  127|       key = XkbKey(keymap, keycode);
#  128|->     assert(key->modmap == Mod4Mask);
#  129|   
#  130|       keycode = xkb_keymap_key_by_name(keymap, "RWIN");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def36]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:133:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:117:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:122:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:127:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:132:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:133:5: danger: dereference of NULL ‘<unknown>’
#  131|       assert(keycode != XKB_KEYCODE_INVALID);
#  132|       key = XkbKey(keymap, keycode);
#  133|->     assert(key->modmap == Mod4Mask);
#  134|   
#  135|       keycode = xkb_keymap_key_by_name(keymap, "LCTL");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def37]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:138:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:117:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:122:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:127:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:132:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:133:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:135:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:136:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:137:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:138:5: danger: dereference of NULL ‘<unknown>’
#  136|       assert(keycode != XKB_KEYCODE_INVALID);
#  137|       key = XkbKey(keymap, keycode);
#  138|->     assert(key->modmap == ControlMask);
#  139|   
#  140|       keycode = xkb_keymap_key_by_name(keymap, "RCTL");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def38]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:143:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:117:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:122:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:127:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:132:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:133:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:135:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:136:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:137:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:138:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:140:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:141:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:142:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:143:5: danger: dereference of NULL ‘<unknown>’
#  141|       assert(keycode != XKB_KEYCODE_INVALID);
#  142|       key = XkbKey(keymap, keycode);
#  143|->     assert(key->modmap == ControlMask);
#  144|   
#  145|       keycode = xkb_keymap_key_by_name(keymap, "LALT");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def39]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:148:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:117:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:122:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:127:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:132:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:133:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:135:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:136:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:137:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:138:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:140:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:141:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:142:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:143:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:145:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:146:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:147:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:148:5: danger: dereference of NULL ‘<unknown>’
#  146|       assert(keycode != XKB_KEYCODE_INVALID);
#  147|       key = XkbKey(keymap, keycode);
#  148|->     assert(key->modmap == Mod1Mask);
#  149|   
#  150|       keycode = xkb_keymap_key_by_name(keymap, "RALT");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def40]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:153:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:117:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:122:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:127:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:132:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:133:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:135:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:136:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:137:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:138:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:140:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:141:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:142:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:143:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:145:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:146:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:147:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:148:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:150:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:151:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:152:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:153:5: danger: dereference of NULL ‘<unknown>’
#  151|       assert(keycode != XKB_KEYCODE_INVALID);
#  152|       key = XkbKey(keymap, keycode);
#  153|->     assert(key->modmap == (Mod2Mask | Mod5Mask));
#  154|   
#  155|       keycode = xkb_keymap_key_by_name(keymap, "CAPS");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def41]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:158:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:117:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:122:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:127:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:132:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:133:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:135:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:136:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:137:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:138:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:140:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:141:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:142:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:143:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:145:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:146:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:147:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:148:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:150:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:151:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:152:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:153:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:155:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:156:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:157:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:158:5: danger: dereference of NULL ‘<unknown>’
#  156|       assert(keycode != XKB_KEYCODE_INVALID);
#  157|       key = XkbKey(keymap, keycode);
#  158|->     assert(key->modmap == LockMask);
#  159|   
#  160|       keycode = xkb_keymap_key_by_name(keymap, "AD01");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def42]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:163:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:117:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:122:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:127:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:132:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:133:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:135:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:136:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:137:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:138:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:140:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:141:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:142:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:143:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:145:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:146:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:147:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:148:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:150:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:151:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:152:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:153:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:155:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:156:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:157:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:158:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:160:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:161:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:162:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:163:5: danger: dereference of NULL ‘<unknown>’
#  161|       assert(keycode != XKB_KEYCODE_INVALID);
#  162|       key = XkbKey(keymap, keycode);
#  163|->     assert(key->modmap == Mod1Mask);
#  164|   
#  165|       keycode = xkb_keymap_key_by_name(keymap, "AD02");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def43]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:168:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:117:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:122:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:127:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:132:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:133:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:135:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:136:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:137:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:138:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:140:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:141:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:142:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:143:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:145:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:146:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:147:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:148:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:150:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:151:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:152:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:153:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:155:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:156:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:157:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:158:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:160:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:161:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:162:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:163:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:165:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:166:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:167:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:168:5: danger: dereference of NULL ‘<unknown>’
#  166|       assert(keycode != XKB_KEYCODE_INVALID);
#  167|       key = XkbKey(keymap, keycode);
#  168|->     assert(key->modmap == NoModifier);
#  169|   
#  170|       keycode = xkb_keymap_key_by_name(keymap, "AD03");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def44]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:173:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:117:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:122:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:127:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:132:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:133:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:135:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:136:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:137:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:138:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:140:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:141:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:142:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:143:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:145:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:146:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:147:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:148:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:150:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:151:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:152:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:153:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:155:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:156:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:157:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:158:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:160:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:161:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:162:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:163:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:165:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:166:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:167:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:168:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:170:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:171:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:172:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:173:5: danger: dereference of NULL ‘<unknown>’
#  171|       assert(keycode != XKB_KEYCODE_INVALID);
#  172|       key = XkbKey(keymap, keycode);
#  173|->     assert(key->modmap == NoModifier);
#  174|   
#  175|       keycode = xkb_keymap_key_by_name(keymap, "AD04");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def45]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:178:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:117:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:122:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:127:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:132:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:133:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:135:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:136:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:137:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:138:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:140:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:141:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:142:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:143:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:145:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:146:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:147:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:148:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:150:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:151:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:152:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:153:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:155:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:156:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:157:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:158:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:160:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:161:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:162:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:163:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:165:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:166:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:167:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:168:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:170:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:171:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:172:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:173:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:175:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:176:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:177:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:178:5: danger: dereference of NULL ‘<unknown>’
#  176|       assert(keycode != XKB_KEYCODE_INVALID);
#  177|       key = XkbKey(keymap, keycode);
#  178|->     assert(key->modmap == Mod1Mask);
#  179|   
#  180|       keycode = xkb_keymap_key_by_name(keymap, "AD05");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def46]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:183:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:117:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:122:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:127:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:132:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:133:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:135:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:136:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:137:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:138:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:140:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:141:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:142:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:143:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:145:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:146:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:147:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:148:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:150:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:151:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:152:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:153:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:155:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:156:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:157:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:158:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:160:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:161:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:162:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:163:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:165:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:166:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:167:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:168:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:170:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:171:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:172:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:173:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:175:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:176:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:177:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:178:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:180:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:181:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:182:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:183:5: danger: dereference of NULL ‘<unknown>’
#  181|       assert(keycode != XKB_KEYCODE_INVALID);
#  182|       key = XkbKey(keymap, keycode);
#  183|->     assert(key->modmap == Mod2Mask);
#  184|   
#  185|       keycode = xkb_keymap_key_by_name(keymap, "AD06");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def47]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:188:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:117:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:122:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:127:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:132:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:133:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:135:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:136:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:137:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:138:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:140:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:141:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:142:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:143:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:145:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:146:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:147:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:148:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:150:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:151:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:152:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:153:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:155:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:156:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:157:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:158:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:160:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:161:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:162:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:163:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:165:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:166:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:167:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:168:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:170:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:171:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:172:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:173:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:175:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:176:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:177:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:178:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:180:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:181:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:182:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:183:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:185:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:186:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:187:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:188:5: danger: dereference of NULL ‘<unknown>’
#  186|       assert(keycode != XKB_KEYCODE_INVALID);
#  187|       key = XkbKey(keymap, keycode);
#  188|->     assert(key->modmap == Mod3Mask);
#  189|   
#  190|       keycode = xkb_keymap_key_by_name(keymap, "AD07");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def48]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:193:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:117:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:122:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:127:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:132:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:133:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:135:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:136:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:137:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:138:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:140:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:141:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:142:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:143:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:145:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:146:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:147:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:148:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:150:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:151:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:152:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:153:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:155:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:156:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:157:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:158:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:160:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:161:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:162:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:163:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:165:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:166:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:167:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:168:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:170:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:171:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:172:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:173:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:175:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:176:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:177:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:178:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:180:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:181:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:182:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:183:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:185:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:186:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:187:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:188:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:190:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:191:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:192:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:193:5: danger: dereference of NULL ‘<unknown>’
#  191|       assert(keycode != XKB_KEYCODE_INVALID);
#  192|       key = XkbKey(keymap, keycode);
#  193|->     assert(key->modmap == Mod1Mask);
#  194|   
#  195|       keycode = xkb_keymap_key_by_name(keymap, "AD08");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def49]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:198:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:117:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:122:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:127:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:132:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:133:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:135:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:136:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:137:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:138:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:140:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:141:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:142:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:143:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:145:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:146:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:147:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:148:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:150:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:151:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:152:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:153:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:155:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:156:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:157:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:158:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:160:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:161:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:162:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:163:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:165:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:166:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:167:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:168:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:170:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:171:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:172:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:173:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:175:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:176:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:177:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:178:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:180:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:181:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:182:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:183:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:185:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:186:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:187:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:188:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:190:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:191:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:192:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:193:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:195:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:196:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:197:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:198:5: danger: dereference of NULL ‘<unknown>’
#  196|       assert(keycode != XKB_KEYCODE_INVALID);
#  197|       key = XkbKey(keymap, keycode);
#  198|->     assert(key->modmap == Mod2Mask);
#  199|   
#  200|       keycode = xkb_keymap_key_by_name(keymap, "AD09");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def50]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:203:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:101:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:108:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:110:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:111:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:112:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:117:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:122:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:127:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:132:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:133:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:135:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:136:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:137:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:138:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:140:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:141:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:142:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:143:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:145:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:146:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:147:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:148:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:150:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:151:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:152:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:153:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:155:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:156:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:157:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:158:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:160:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:161:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:162:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:163:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:165:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:166:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:167:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:168:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:170:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:171:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:172:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:173:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:175:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:176:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:177:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:178:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:180:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:181:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:182:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:183:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:185:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:186:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:187:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:188:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:190:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:191:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:192:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:193:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:195:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:196:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:197:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:198:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:200:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:201:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:202:11: call_function: inlined call to ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../test/modifiers.c:203:5: danger: dereference of NULL ‘<unknown>’
#  201|       assert(keycode != XKB_KEYCODE_INVALID);
#  202|       key = XkbKey(keymap, keycode);
#  203|->     assert(key->modmap == Mod3Mask);
#  204|   
#  205|       xkb_keymap_unref(keymap);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def51]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../tools/interactive-wayland.c:609:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘seat’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../tools/interactive-wayland.c:607:37: acquire_memory: this call could return NULL
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../tools/interactive-wayland.c:609:5: danger: ‘seat’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  607|       struct interactive_seat *seat = calloc(1, sizeof(*seat));
#  608|   
#  609|->     seat->global_name = name;
#  610|       seat->inter = inter;
#  611|       seat->wl_seat = wl_registry_bind(registry, name, &wl_seat_interface,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def52]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/compile-keymap.p/parser.c:1741:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/parser.y:844:1: enter_function: entry to ‘parse’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/parser.y:863:19: call_function: calling ‘_xkbcommon_parse’ from ‘parse’
# 1739|           if (! yyptr)
# 1740|             YYNOMEM;
# 1741|->         YYSTACK_RELOCATE (yyss_alloc, yyss);
# 1742|           YYSTACK_RELOCATE (yyvs_alloc, yyvs);
# 1743|   #  undef YYSTACK_RELOCATE

Error: GCC_ANALYZER_WARNING (CWE-457): [#def53]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/compile-keymap.p/parser.c:1868:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/parser.y:844:1: enter_function: entry to ‘parse’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/parser.y:863:19: call_function: calling ‘_xkbcommon_parse’ from ‘parse’
# 1866|        unconditionally makes the parser a bit smaller, and it avoids a
# 1867|        GCC warning that YYVAL may be used uninitialized.  */
# 1868|->   yyval = yyvsp[1-yylen];
# 1869|   
# 1870|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def54]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/export-keysyms.p/parser.c:1741:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/parser.y:844:1: enter_function: entry to ‘parse’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/parser.y:863:19: call_function: calling ‘_xkbcommon_parse’ from ‘parse’
# 1739|           if (! yyptr)
# 1740|             YYNOMEM;
# 1741|->         YYSTACK_RELOCATE (yyss_alloc, yyss);
# 1742|           YYSTACK_RELOCATE (yyvs_alloc, yyvs);
# 1743|   #  undef YYSTACK_RELOCATE

Error: GCC_ANALYZER_WARNING (CWE-457): [#def55]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/export-keysyms.p/parser.c:1868:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/parser.y:844:1: enter_function: entry to ‘parse’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/parser.y:863:19: call_function: calling ‘_xkbcommon_parse’ from ‘parse’
# 1866|        unconditionally makes the parser a bit smaller, and it avoids a
# 1867|        GCC warning that YYVAL may be used uninitialized.  */
# 1868|->   yyval = yyvsp[1-yylen];
# 1869|   
# 1870|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def56]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/libxkbcommon-test-internal.so.p/parser.c:1741:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/parser.y:844:1: enter_function: entry to ‘parse’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/parser.y:863:19: call_function: calling ‘_xkbcommon_parse’ from ‘parse’
# 1739|           if (! yyptr)
# 1740|             YYNOMEM;
# 1741|->         YYSTACK_RELOCATE (yyss_alloc, yyss);
# 1742|           YYSTACK_RELOCATE (yyvs_alloc, yyvs);
# 1743|   #  undef YYSTACK_RELOCATE

Error: GCC_ANALYZER_WARNING (CWE-457): [#def57]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/libxkbcommon-test-internal.so.p/parser.c:1868:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/parser.y:844:1: enter_function: entry to ‘parse’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/parser.y:863:19: call_function: calling ‘_xkbcommon_parse’ from ‘parse’
# 1866|        unconditionally makes the parser a bit smaller, and it avoids a
# 1867|        GCC warning that YYVAL may be used uninitialized.  */
# 1868|->   yyval = yyvsp[1-yylen];
# 1869|   
# 1870|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def58]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/libxkbcommon.so.0.8.1.p/parser.c:1741:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/parser.y:844:1: enter_function: entry to ‘parse’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/parser.y:863:19: call_function: calling ‘_xkbcommon_parse’ from ‘parse’
# 1739|           if (! yyptr)
# 1740|             YYNOMEM;
# 1741|->         YYSTACK_RELOCATE (yyss_alloc, yyss);
# 1742|           YYSTACK_RELOCATE (yyvs_alloc, yyvs);
# 1743|   #  undef YYSTACK_RELOCATE

Error: GCC_ANALYZER_WARNING (CWE-457): [#def59]
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/libxkbcommon.so.0.8.1.p/parser.c:1868:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/parser.y:844:1: enter_function: entry to ‘parse’
libxkbcommon-xkbcommon-1.8.1/redhat-linux-build/../src/xkbcomp/parser.y:863:19: call_function: calling ‘_xkbcommon_parse’ from ‘parse’
# 1866|        unconditionally makes the parser a bit smaller, and it avoids a
# 1867|        GCC warning that YYVAL may be used uninitialized.  */
# 1868|->   yyval = yyvsp[1-yylen];
# 1869|   
# 1870|   

Error: CPPCHECK_WARNING (CWE-476): [#def60]
libxkbcommon-xkbcommon-1.8.1/src/keysym.c:102: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: iter
#  100|   {
#  101|       struct xkb_keysym_iterator* iter = calloc(1, sizeof(*iter));
#  102|->     iter->explicit = iterate_only_explicit_keysyms;
#  103|       iter->index = -1;
#  104|       iter->keysym = XKB_KEYSYM_UNICODE_MAX;

Error: CPPCHECK_WARNING (CWE-476): [#def61]
libxkbcommon-xkbcommon-1.8.1/src/keysym.c:103: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: iter
#  101|       struct xkb_keysym_iterator* iter = calloc(1, sizeof(*iter));
#  102|       iter->explicit = iterate_only_explicit_keysyms;
#  103|->     iter->index = -1;
#  104|       iter->keysym = XKB_KEYSYM_UNICODE_MAX;
#  105|       return iter;

Error: CPPCHECK_WARNING (CWE-476): [#def62]
libxkbcommon-xkbcommon-1.8.1/src/keysym.c:104: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: iter
#  102|       iter->explicit = iterate_only_explicit_keysyms;
#  103|       iter->index = -1;
#  104|->     iter->keysym = XKB_KEYSYM_UNICODE_MAX;
#  105|       return iter;
#  106|   }

Error: CPPCHECK_WARNING (CWE-758): [#def63]
libxkbcommon-xkbcommon-1.8.1/src/state.c:1147: warning[objectIndex]: The address of variable 'sym' might be accessed at non-zero index.
# 1145|       offset = 0;
# 1146|       for (int i = 0; i < nsyms; i++) {
# 1147|->         int ret = xkb_keysym_to_utf8(syms[i], tmp, sizeof(tmp));
# 1148|           if (ret <= 0)
# 1149|               goto err_bad;

Error: CPPCHECK_WARNING (CWE-758): [#def64]
libxkbcommon-xkbcommon-1.8.1/test/common.c:137: warning[objectIndex]: The address of variable 'sym' might be accessed at non-zero index.
#  135|           for (i = 0; i < nsyms; i++) {
#  136|               keysym = va_arg(ap, int);
#  137|->             xkb_keysym_get_name(syms[i], ksbuf, sizeof(ksbuf));
#  138|               fprintf(stderr, "%s%s", (i != 0) ? ", " : "", ksbuf);
#  139|   

Error: CPPCHECK_WARNING (CWE-758): [#def65]
libxkbcommon-xkbcommon-1.8.1/test/common.c:141: warning[objectIndex]: The address of variable 'sym' might be accessed at non-zero index.
#  139|   
#  140|               if (keysym == FINISH || keysym == NEXT) {
#  141|->                 xkb_keysym_get_name(syms[i], ksbuf, sizeof(ksbuf));
#  142|                   fprintf(stderr, "\nERROR: Did not expect keysym: %s.\n", ksbuf);
#  143|                   goto fail;

Error: CPPCHECK_WARNING (CWE-416): [#def66]
libxkbcommon-xkbcommon-1.8.1/test/compose.c:1021: error[deallocuse]: Dereferencing 'input' after it is deallocated / released
# 1019|       ok = xkb_compose_table_dump(output_file, ref_table);
# 1020|       fclose(output_file);
# 1021|->     assert(input);
# 1022|   
# 1023|       if (!ok) {

Error: CPPCHECK_WARNING (CWE-476): [#def67]
libxkbcommon-xkbcommon-1.8.1/test/keysym.c:163: error[ctunullpointer]: Null pointer dereference: expected_reference
#  161|   
#  162|       fprintf(stderr, "Expected keysym %#x -> deprecated: %d, reference: %s\n",
#  163|->             keysym, expected_deprecated, expected_reference);
#  164|       fprintf(stderr, "Received keysym %#x -> deprecated: %d, reference: %s\n",
#  165|               keysym, deprecated, reference);

Error: CPPCHECK_WARNING (CWE-476): [#def68]
libxkbcommon-xkbcommon-1.8.1/test/keysym.c:163: warning[nullPointer]: Possible null pointer dereference: expected_reference
#  161|   
#  162|       fprintf(stderr, "Expected keysym %#x -> deprecated: %d, reference: %s\n",
#  163|->             keysym, expected_deprecated, expected_reference);
#  164|       fprintf(stderr, "Received keysym %#x -> deprecated: %d, reference: %s\n",
#  165|               keysym, deprecated, reference);

Error: CPPCHECK_WARNING (CWE-570): [#def69]
libxkbcommon-xkbcommon-1.8.1/test/xvfb-wrapper.c:135: error[comparePointers]: Comparing pointers that point to different objects
#  133|       int rc = 0;
#  134|       for (const struct test_function *t = &__start_test_func_sec;
#  135|->          t < &__stop_test_func_sec;
#  136|            t++) {
#  137|           fprintf(stderr, "Running test: %s from %s\n", t->name, t->file);

Error: CPPCHECK_WARNING (CWE-457): [#def70]
libxkbcommon-xkbcommon-1.8.1/tools/how-to-type.c:54: warning[uninitvar]: Uninitialized variable: val
#   52|               }
#   53|           }
#   54|->         if (val < 0) {
#   55|               fprintf(stderr, "ERROR: Failed to convert argument to Unicode code point\n");
#   56|               return INVALID_UTF8_CODE_POINT;

Error: CPPCHECK_WARNING (CWE-758): [#def71]
libxkbcommon-xkbcommon-1.8.1/tools/tools-common.c:188: warning[objectIndex]: The address of variable 'sym' might be accessed at non-zero index.
#  186|       printf("keysyms [ ");
#  187|       for (int i = 0; i < nsyms; i++) {
#  188|->         xkb_keysym_get_name(syms[i], s, sizeof(s));
#  189|           printf("%-*s ", XKB_KEYSYM_NAME_MAX_SIZE, s);
#  190|       }

Scan Properties

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