libxkbcommon-1.13.1-1.fc44
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:21:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: call_function: calling ‘darray_next_alloc’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: return_function: returning to ‘main’ from ‘darray_next_alloc’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: call_function: calling ‘darray_next_alloc’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: return_function: returning to ‘main’ from ‘darray_next_alloc’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: danger: ‘<unknown>’ leaks here; was allocated at [(18)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: warning[-Wanalyzer-malloc-leak]: leak of ‘words.item’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:21:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: call_function: calling ‘darray_next_alloc’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: return_function: returning to ‘main’ from ‘darray_next_alloc’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: call_function: calling ‘darray_next_alloc’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: return_function: returning to ‘main’ from ‘darray_next_alloc’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: danger: ‘words.item’ leaks here; was allocated at [(17)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def3]
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:21:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: call_function: calling ‘darray_next_alloc’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: return_function: returning to ‘main’ from ‘darray_next_alloc’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: danger: dereference of NULL ‘words.item + (long unsigned int)words.size * 8’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:47:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:21:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: call_function: calling ‘darray_next_alloc’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: return_function: returning to ‘main’ from ‘darray_next_alloc’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:45:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:47:5: throw: if ‘bench_start’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:47:5: danger: ‘<unknown>’ leaks here; was allocated at [(18)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:47:5: warning[-Wanalyzer-malloc-leak]: leak of ‘words.item’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:21:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: call_function: calling ‘darray_next_alloc’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: return_function: returning to ‘main’ from ‘darray_next_alloc’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:45:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:47:5: throw: if ‘bench_start’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:47:5: danger: ‘words.item’ leaks here; was allocated at [(17)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:49:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:21:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: call_function: calling ‘darray_next_alloc’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: return_function: returning to ‘main’ from ‘darray_next_alloc’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:45:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:48:21: branch_true: following ‘true’ branch (when ‘i != 100’)...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:49:17: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:49:17: throw: if ‘atom_table_new’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:49:17: danger: ‘<unknown>’ leaks here; was allocated at [(18)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def7]
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:49:17: warning[-Wanalyzer-malloc-leak]: leak of ‘words.item’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:21:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: call_function: calling ‘darray_next_alloc’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: return_function: returning to ‘main’ from ‘darray_next_alloc’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:45:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:48:21: branch_true: following ‘true’ branch (when ‘i != 100’)...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:49:17: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:49:17: throw: if ‘atom_table_new’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:49:17: danger: ‘words.item’ leaks here; was allocated at [(17)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:53:20: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:21:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: call_function: calling ‘darray_next_alloc’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: return_function: returning to ‘main’ from ‘darray_next_alloc’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:45:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:48:21: branch_true: following ‘true’ branch (when ‘i != 100’)...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:49:17: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:50:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:53:20: throw: if ‘atom_intern’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:53:20: danger: ‘<unknown>’ leaks here; was allocated at [(18)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:53:20: warning[-Wanalyzer-malloc-leak]: leak of ‘worditer’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:21:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: call_function: calling ‘darray_next_alloc’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: return_function: returning to ‘main’ from ‘darray_next_alloc’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:45:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:48:21: branch_true: following ‘true’ branch (when ‘i != 100’)...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:49:17: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:50:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:53:20: throw: if ‘atom_intern’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:53:20: danger: ‘worditer’ leaks here; was allocated at [(17)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:53:20: warning[-Wanalyzer-malloc-leak]: leak of ‘words.item’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:21:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: call_function: calling ‘darray_next_alloc’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: return_function: returning to ‘main’ from ‘darray_next_alloc’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:45:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:48:21: branch_true: following ‘true’ branch (when ‘i != 100’)...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:49:17: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:50:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:54:13: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:56:20: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:57:13: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:53:50: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:53:20: throw: if ‘atom_intern’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:53:20: danger: ‘words.item’ leaks here; was allocated at [(17)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def11]
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:53:50: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*worditer’ where non-null expected
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:21:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: call_function: calling ‘darray_next_alloc’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: return_function: returning to ‘main’ from ‘darray_next_alloc’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: acquire_memory: this call could return NULL
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:45:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:48:21: branch_true: following ‘true’ branch (when ‘i != 100’)...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:49:17: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:50:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:53:50: danger: argument 1 (‘*worditer’) from [(18)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/17) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:56:20: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:21:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: call_function: calling ‘darray_next_alloc’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: return_function: returning to ‘main’ from ‘darray_next_alloc’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:45:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:48:21: branch_true: following ‘true’ branch (when ‘i != 100’)...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:49:17: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:50:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:54:13: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:56:20: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:56:20: throw: if ‘atom_text’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:56:20: danger: ‘<unknown>’ leaks here; was allocated at [(18)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:56:20: warning[-Wanalyzer-malloc-leak]: leak of ‘worditer’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:21:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: call_function: calling ‘darray_next_alloc’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: return_function: returning to ‘main’ from ‘darray_next_alloc’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:45:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:48:21: branch_true: following ‘true’ branch (when ‘i != 100’)...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:49:17: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:50:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:54:13: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:56:20: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:56:20: throw: if ‘atom_text’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:56:20: danger: ‘worditer’ leaks here; was allocated at [(17)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:56:20: warning[-Wanalyzer-malloc-leak]: leak of ‘words.item’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:21:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: call_function: calling ‘darray_next_alloc’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: return_function: returning to ‘main’ from ‘darray_next_alloc’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:45:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:48:21: branch_true: following ‘true’ branch (when ‘i != 100’)...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:49:17: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:50:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:54:13: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:56:20: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:57:13: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:53:50: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:54:13: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:56:20: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:56:20: throw: if ‘atom_text’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:56:20: danger: ‘words.item’ leaks here; was allocated at [(17)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:60:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:21:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: call_function: calling ‘darray_next_alloc’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: return_function: returning to ‘main’ from ‘darray_next_alloc’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:45:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:48:21: branch_true: following ‘true’ branch (when ‘i != 100’)...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:49:17: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:50:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_true: following ‘true’ branch (when ‘<unknown>’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:60:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:60:9: throw: if ‘atom_table_free’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:60:9: danger: ‘<unknown>’ leaks here; was allocated at [(18)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:60:9: warning[-Wanalyzer-malloc-leak]: leak of ‘worditer’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:21:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:35:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:40:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: call_function: calling ‘darray_next_alloc’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:43:9: return_function: returning to ‘main’ from ‘darray_next_alloc’
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:39:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:45:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:48:21: branch_true: following ‘true’ branch (when ‘i != 100’)...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:49:17: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:50:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_true: following ‘true’ branch (when ‘<unknown>’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:52:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:60:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:60:9: throw: if ‘atom_table_free’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/atom.c:60:9: danger: ‘worditer’ leaks here; was allocated at [(17)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def17]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:83:37: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(keymap_path, "r")’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:77:8: branch_true: following ‘true’ branch (when ‘keymap_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:78:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:78:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:79:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:83:37: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:83:37: throw: if ‘xkb_keymap_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:83:37: danger: ‘fopen(keymap_path, "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:83:37: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(keymap_path, "r")’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:77:8: branch_true: following ‘true’ branch (when ‘keymap_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:78:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:78:22: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:79:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:83:37: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:83:37: throw: if ‘xkb_keymap_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:83:37: danger: ‘fopen(keymap_path, "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def19]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(keymap_path, "r")’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:159:12: branch_false: following ‘false’ branch (when ‘c != -1’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:162:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_true: following ‘true’ branch (when ‘keymap_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:269:23: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:269:23: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:270:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:14: throw: if ‘map_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:14: danger: ‘fopen(keymap_path, "r")’ leaks here; was opened at [(19)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:14: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(keymap_path, "r")’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:159:12: branch_false: following ‘false’ branch (when ‘c != -1’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:162:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_true: following ‘true’ branch (when ‘keymap_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:269:23: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:269:23: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:270:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:14: throw: if ‘map_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:14: danger: ‘fopen(keymap_path, "r")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def21]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:303:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdout_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:287:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:290:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:295:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:302:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:303:22: throw: if ‘open’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:303:22: danger: ‘stdout_old’ leaks here; was opened at [(19)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def22]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 1), 1)’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:287:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:290:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:295:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: danger: ‘dup2(open("/dev/null", 1), 1)’ leaks here; was opened at [(21)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def23]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 1)’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:287:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:290:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:295:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:303:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: danger: ‘open("/dev/null", 1)’ leaks here; was opened at [(19)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def24]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:306:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdout_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:287:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:290:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:295:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:302:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:306:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:306:9: throw: if ‘perror’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:306:9: danger: ‘stdout_old’ leaks here; was opened at [(19)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def25]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdout_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:287:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:290:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:295:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:302:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: throw: if ‘close’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: danger: ‘stdout_old’ leaks here; was opened at [(19)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def26]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:310:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdout_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:287:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:290:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:295:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:302:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:310:5: throw: if ‘fflush’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:310:5: danger: ‘stdout_old’ leaks here; was opened at [(19)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def27]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:312:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stderr_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:287:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:290:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:295:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:311:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:312:22: throw: if ‘open’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:312:22: danger: ‘stderr_old’ leaks here; was opened at [(23)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def28]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:312:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdout_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:287:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:290:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:295:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:302:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:312:22: throw: if ‘open’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:312:22: danger: ‘stdout_old’ leaks here; was opened at [(19)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def29]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 1), 2)’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:287:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:290:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:295:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:314:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:314:9: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: danger: ‘dup2(open("/dev/null", 1), 2)’ leaks here; was opened at [(25)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def30]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 1)’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:287:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:290:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:295:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:312:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: danger: ‘open("/dev/null", 1)’ leaks here; was opened at [(23)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def31]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:315:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stderr_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:287:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:290:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:295:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:311:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:315:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:315:9: throw: if ‘perror’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:315:9: danger: ‘stderr_old’ leaks here; was opened at [(23)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def32]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:315:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdout_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:287:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:290:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:295:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:302:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:315:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:315:9: throw: if ‘perror’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:315:9: danger: ‘stdout_old’ leaks here; was opened at [(19)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def33]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stderr_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:287:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:290:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:295:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:311:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:314:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: throw: if ‘close’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: danger: ‘stderr_old’ leaks here; was opened at [(23)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def34]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdout_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:287:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:290:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:295:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:302:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:314:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: throw: if ‘close’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: danger: ‘stdout_old’ leaks here; was opened at [(19)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def35]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stderr_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:287:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:290:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:295:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:311:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:314:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:320:8: branch_false: following ‘false’ branch (when ‘explicit_iterations == 0’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: throw: if ‘bench_start2’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: danger: ‘stderr_old’ leaks here; was opened at [(23)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def36]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdout_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:287:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:290:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:295:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:302:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:314:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:320:8: branch_false: following ‘false’ branch (when ‘explicit_iterations == 0’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: throw: if ‘bench_start2’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: danger: ‘stdout_old’ leaks here; was opened at [(19)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def37]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:346:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stderr_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:301:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:311:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:314:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:320:8: branch_false: following ‘false’ branch (when ‘explicit_iterations == 0’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:346:9: throw: if ‘bench_start2’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:346:9: danger: ‘stderr_old’ leaks here; was opened at [(19)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def38]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:346:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdout_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:301:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:302:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:314:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:320:8: branch_false: following ‘false’ branch (when ‘explicit_iterations == 0’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:346:9: throw: if ‘bench_start2’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:346:9: danger: ‘stdout_old’ leaks here; was opened at [(15)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def39]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stderr_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:287:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:290:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:295:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:311:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:314:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:320:8: branch_false: following ‘false’ branch (when ‘explicit_iterations == 0’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: throw: if ‘bench_start2’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: danger: ‘stderr_old’ leaks here; was opened at [(23)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def40]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdout_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:287:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:290:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:295:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:302:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:314:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:320:8: branch_false: following ‘false’ branch (when ‘explicit_iterations == 0’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: throw: if ‘bench_start2’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: danger: ‘stdout_old’ leaks here; was opened at [(19)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def41]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:362:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stderr_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:159:12: branch_false: following ‘false’ branch (when ‘c != -1’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:162:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_true: following ‘true’ branch (when ‘keymap_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:269:23: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:270:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:297:5: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:311:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:314:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:320:8: branch_false: following ‘false’ branch (when ‘explicit_iterations == 0’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:362:9: throw: if ‘bench_stop2’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:362:9: danger: ‘stderr_old’ leaks here; was opened at [(27)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def42]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:362:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdout_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:159:12: branch_false: following ‘false’ branch (when ‘c != -1’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:162:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_true: following ‘true’ branch (when ‘keymap_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:269:23: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:270:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:297:5: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:302:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:314:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:320:8: branch_false: following ‘false’ branch (when ‘explicit_iterations == 0’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:362:9: throw: if ‘bench_stop2’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:362:9: danger: ‘stdout_old’ leaks here; was opened at [(23)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def43]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:366:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stderr_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:159:12: branch_false: following ‘false’ branch (when ‘c != -1’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:162:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_true: following ‘true’ branch (when ‘keymap_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:269:23: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:270:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:297:5: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:311:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:314:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:320:8: branch_false: following ‘false’ branch (when ‘explicit_iterations == 0’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:366:5: throw: if ‘fflush’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:366:5: danger: ‘stderr_old’ leaks here; was opened at [(27)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def44]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:366:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdout_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:159:12: branch_false: following ‘false’ branch (when ‘c != -1’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:162:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_true: following ‘true’ branch (when ‘keymap_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:269:23: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:270:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:297:5: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:302:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:314:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:320:8: branch_false: following ‘false’ branch (when ‘explicit_iterations == 0’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:366:5: throw: if ‘fflush’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:366:5: danger: ‘stdout_old’ leaks here; was opened at [(23)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def45]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:368:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stderr_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:159:12: branch_false: following ‘false’ branch (when ‘c != -1’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:162:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_true: following ‘true’ branch (when ‘keymap_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:269:23: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:270:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:297:5: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:311:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:314:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:320:8: branch_false: following ‘false’ branch (when ‘explicit_iterations == 0’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:368:5: throw: if ‘close’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:368:5: danger: ‘stderr_old’ leaks here; was opened at [(27)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def46]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:368:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdout_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:159:12: branch_false: following ‘false’ branch (when ‘c != -1’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:162:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_true: following ‘true’ branch (when ‘keymap_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:269:23: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:270:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:297:5: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:302:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:314:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:320:8: branch_false: following ‘false’ branch (when ‘explicit_iterations == 0’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:368:5: throw: if ‘close’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:368:5: danger: ‘stdout_old’ leaks here; was opened at [(23)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def47]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:369:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stderr_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:159:12: branch_false: following ‘false’ branch (when ‘c != -1’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:162:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_true: following ‘true’ branch (when ‘keymap_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:269:23: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:270:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:297:5: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:311:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:314:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:320:8: branch_false: following ‘false’ branch (when ‘explicit_iterations == 0’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:369:5: throw: if ‘fflush’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:369:5: danger: ‘stderr_old’ leaks here; was opened at [(27)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def48]
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:371:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stderr_old’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:95:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:159:12: branch_false: following ‘false’ branch (when ‘c != -1’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:162:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:239:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:240:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:244:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:249:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: call_function: calling ‘load_keymap’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:252:33: return_function: returning to ‘main’ from ‘load_keymap’
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:256:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:264:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:267:8: branch_true: following ‘true’ branch (when ‘keymap_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:269:23: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:270:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:275:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:297:5: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:305:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:304:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:309:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:311:22: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:314:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:313:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:318:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:320:8: branch_false: following ‘false’ branch (when ‘explicit_iterations == 0’)...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:344:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:353:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:371:5: throw: if ‘close’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compile-keymap.c:371:5: danger: ‘stderr_old’ leaks here; was opened at [(27)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def49]
libxkbcommon-xkbcommon-1.13.1/bench/compose-traversal.c:57:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’
libxkbcommon-xkbcommon-1.13.1/bench/compose-traversal.c:43:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose-traversal.c:45:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose-traversal.c:46:12: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compose-traversal.c:47:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose-traversal.c:53:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose-traversal.c:57:13: throw: if ‘xkb_compose_table_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compose-traversal.c:57:13: danger: ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
libxkbcommon-xkbcommon-1.13.1/bench/compose-traversal.c:57:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’
libxkbcommon-xkbcommon-1.13.1/bench/compose-traversal.c:43:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose-traversal.c:45:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose-traversal.c:46:12: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/bench/compose-traversal.c:47:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose-traversal.c:53:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose-traversal.c:57:13: throw: if ‘xkb_compose_table_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compose-traversal.c:57:13: danger: ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def51]
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:41:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:28:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:30:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:31:12: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:32:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:39:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:41:5: throw: if ‘bench_start’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:41:5: danger: ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:41:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:28:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:30:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:31:12: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:32:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:39:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:41:5: throw: if ‘bench_start’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:41:5: danger: ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def53]
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:43:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:28:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:30:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:31:12: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:32:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:39:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:42:21: branch_true: following ‘true’ branch (when ‘i != 1000’)...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:43:9: throw: if ‘fseek’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:43:9: danger: ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’ leaks here; was opened at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:43:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:28:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:30:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:31:12: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:32:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:39:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:42:21: branch_true: following ‘true’ branch (when ‘i != 1000’)...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:43:9: throw: if ‘fseek’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:43:9: danger: ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def55]
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:44:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:28:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:30:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:31:12: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:32:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:39:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:42:21: branch_true: following ‘true’ branch (when ‘i != 1000’)...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:44:17: throw: if ‘xkb_compose_table_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:44:17: danger: ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’ leaks here; was opened at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:44:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:28:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:30:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:31:12: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:32:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:39:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:42:21: branch_true: following ‘true’ branch (when ‘i != 1000’)...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:43:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:44:17: throw: if ‘xkb_compose_table_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:44:17: danger: ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def57]
libxkbcommon-xkbcommon-1.13.1/bench/custom-parsers.c:120:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("../bench/custom-parsers.c", "r")’
libxkbcommon-xkbcommon-1.13.1/bench/custom-parsers.c:116:18: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/custom-parsers.c:117:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/custom-parsers.c:118:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/custom-parsers.c:120:5: throw: if ‘map_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/custom-parsers.c:120:5: danger: ‘fopen("../bench/custom-parsers.c", "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
libxkbcommon-xkbcommon-1.13.1/bench/custom-parsers.c:120:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("../bench/custom-parsers.c", "r")’
libxkbcommon-xkbcommon-1.13.1/bench/custom-parsers.c:116:18: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/bench/custom-parsers.c:117:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/custom-parsers.c:118:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/custom-parsers.c:120:5: throw: if ‘map_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/bench/custom-parsers.c:120:5: danger: ‘fopen("../bench/custom-parsers.c", "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: UNICONTROL_WARNING (CWE-94): [#def59]
libxkbcommon-xkbcommon-1.13.1/doc/keymap-text-format-v1-v2.md:2166: warning: bidirectional control characters: ['\u2067', '\u2069', '\u2067', '\u2069']
Error: UNICONTROL_WARNING (CWE-94): [#def60]
libxkbcommon-xkbcommon-1.13.1/doc/keymap-text-format-v1-v2.md:2184: warning: bidirectional control characters: ['\u2067', '\u2069', '\u2067', '\u2069']
Error: GCC_ANALYZER_WARNING (CWE-775): [#def61]
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:36:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[1], "rb")’
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:20:8: branch_false: following ‘false’ branch (when ‘argc == 2’)...
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:25:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:26:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:34:16: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:34:16: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:35:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:36:17: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:36:17: throw: if ‘xkb_compose_table_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:36:17: danger: ‘fopen(argv[1], "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:36:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[1], "rb")’
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:20:8: branch_false: following ‘false’ branch (when ‘argc == 2’)...
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:25:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:26:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:34:16: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:34:16: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:35:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:36:17: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:36:17: throw: if ‘xkb_compose_table_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/fuzz/compose/target.c:36:17: danger: ‘fopen(argv[1], "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def63]
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:35:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[1], "rb")’
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:19:8: branch_false: following ‘false’ branch (when ‘argc == 2’)...
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:24:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:25:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:33:16: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:33:16: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:34:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:35:18: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:35:18: throw: if ‘xkb_keymap_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:35:18: danger: ‘fopen(argv[1], "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:35:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[1], "rb")’
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:19:8: branch_false: following ‘false’ branch (when ‘argc == 2’)...
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:24:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:25:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:33:16: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:33:16: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:34:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:35:18: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:35:18: throw: if ‘xkb_keymap_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/fuzz/keymap/target.c:35:18: danger: ‘fopen(argv[1], "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def65]
libxkbcommon-xkbcommon-1.13.1/redhat-linux-build/export-keysyms.p/parser.c:2016:9: warning[-Wanalyzer-malloc-leak]: leak of ‘yyptr’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/parser.y:1108:1: enter_function: entry to ‘parse_next’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/parser.y:1118:16: call_function: calling ‘_xkbcommon_parse’ from ‘parse_next’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def66]
libxkbcommon-xkbcommon-1.13.1/redhat-linux-build/export-keysyms.p/parser.c:2016:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/parser.y:1108:1: enter_function: entry to ‘parse_next’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/parser.y:1118:16: call_function: calling ‘_xkbcommon_parse’ from ‘parse_next’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def67]
libxkbcommon-xkbcommon-1.13.1/redhat-linux-build/export-keysyms.p/parser.c:2143:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/parser.y:1108:1: enter_function: entry to ‘parse_next’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/parser.y:1118:16: call_function: calling ‘_xkbcommon_parse’ from ‘parse_next’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def68]
libxkbcommon-xkbcommon-1.13.1/redhat-linux-build/libxkbcommon-test-internal.so.p/parser.c:2016:9: warning[-Wanalyzer-malloc-leak]: leak of ‘yyptr’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/parser.y:1108:1: enter_function: entry to ‘parse_next’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/parser.y:1118:16: call_function: calling ‘_xkbcommon_parse’ from ‘parse_next’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def69]
libxkbcommon-xkbcommon-1.13.1/redhat-linux-build/libxkbcommon-test-internal.so.p/parser.c:2016:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/parser.y:1108:1: enter_function: entry to ‘parse_next’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/parser.y:1118:16: call_function: calling ‘_xkbcommon_parse’ from ‘parse_next’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def70]
libxkbcommon-xkbcommon-1.13.1/redhat-linux-build/libxkbcommon-test-internal.so.p/parser.c:2143:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/parser.y:1108:1: enter_function: entry to ‘parse_next’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/parser.y:1118:16: call_function: calling ‘_xkbcommon_parse’ from ‘parse_next’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def71]
libxkbcommon-xkbcommon-1.13.1/redhat-linux-build/libxkbcommon.so.0.13.1.p/parser.c:2016:9: warning[-Wanalyzer-malloc-leak]: leak of ‘yyptr’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/parser.y:1108:1: enter_function: entry to ‘parse_next’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/parser.y:1118:16: call_function: calling ‘_xkbcommon_parse’ from ‘parse_next’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def72]
libxkbcommon-xkbcommon-1.13.1/redhat-linux-build/libxkbcommon.so.0.13.1.p/parser.c:2016:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/parser.y:1108:1: enter_function: entry to ‘parse_next’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/parser.y:1118:16: call_function: calling ‘_xkbcommon_parse’ from ‘parse_next’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def73]
libxkbcommon-xkbcommon-1.13.1/redhat-linux-build/libxkbcommon.so.0.13.1.p/parser.c:2143:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/parser.y:1108:1: enter_function: entry to ‘parse_next’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/parser.y:1118:16: call_function: calling ‘_xkbcommon_parse’ from ‘parse_next’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def74]
libxkbcommon-xkbcommon-1.13.1/src/atom.c:56:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*table.strings.item’
libxkbcommon-xkbcommon-1.13.1/src/atom.c:52:8: branch_false: following ‘false’ branch (when ‘table’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/atom.c:56:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/atom.c:56:5: acquire_memory: this call could return NULL
libxkbcommon-xkbcommon-1.13.1/src/atom.c:56:5: danger: ‘*table.strings.item’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def75]
libxkbcommon-xkbcommon-1.13.1/src/atom.c:97:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
libxkbcommon-xkbcommon-1.13.1/src/atom.c:94:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/atom.c:95:27: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/atom.c:96:9: release_memory: using NULL here
libxkbcommon-xkbcommon-1.13.1/src/atom.c:97:9: danger: argument 1 (‘realloc(*table.index, *table.index_size * 8)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def76]
libxkbcommon-xkbcommon-1.13.1/src/compose/escape.h:27:23: warning[-Wanalyzer-malloc-leak]: leak of ‘escape_utf8_string_literal("")’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:976:1: enter_function: entry to ‘test_encode_escape_sequences’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:981:15: call_function: calling ‘escape_utf8_string_literal’ from ‘test_encode_escape_sequences’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:981:15: return_function: returning to ‘test_encode_escape_sequences’ from ‘escape_utf8_string_literal’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:982:5: call_function: calling ‘streq_not_null’ from ‘test_encode_escape_sequences’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:982:5: return_function: returning to ‘test_encode_escape_sequences’ from ‘streq_not_null’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:982:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:982:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/escape.h:27:23: danger: ‘escape_utf8_string_literal("")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
libxkbcommon-xkbcommon-1.13.1/src/compose/escape.h:27:23: warning[-Wanalyzer-malloc-leak]: leak of ‘escape_utf8_string_literal("\"\\")’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:976:1: enter_function: entry to ‘test_encode_escape_sequences’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:981:15: call_function: calling ‘escape_utf8_string_literal’ from ‘test_encode_escape_sequences’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:981:15: return_function: returning to ‘test_encode_escape_sequences’ from ‘escape_utf8_string_literal’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:982:5: call_function: calling ‘streq_not_null’ from ‘test_encode_escape_sequences’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:982:5: return_function: returning to ‘test_encode_escape_sequences’ from ‘streq_not_null’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:982:5: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:983:5: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:986:15: call_function: calling ‘escape_utf8_string_literal’ from ‘test_encode_escape_sequences’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:986:15: return_function: returning to ‘test_encode_escape_sequences’ from ‘escape_utf8_string_literal’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:987:5: call_function: calling ‘streq_not_null’ from ‘test_encode_escape_sequences’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:987:5: return_function: returning to ‘test_encode_escape_sequences’ from ‘streq_not_null’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:987:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:987:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/escape.h:27:23: danger: ‘escape_utf8_string_literal("\"\\")’ leaks here; was allocated at [(48)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/47)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
libxkbcommon-xkbcommon-1.13.1/src/compose/escape.h:27:23: warning[-Wanalyzer-malloc-leak]: leak of ‘escape_utf8_string_literal(&buf)’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:976:1: enter_function: entry to ‘test_encode_escape_sequences’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:981:15: call_function: calling ‘escape_utf8_string_literal’ from ‘test_encode_escape_sequences’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:981:15: return_function: returning to ‘test_encode_escape_sequences’ from ‘escape_utf8_string_literal’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:982:5: call_function: calling ‘streq_not_null’ from ‘test_encode_escape_sequences’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:982:5: return_function: returning to ‘test_encode_escape_sequences’ from ‘streq_not_null’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:982:5: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:983:5: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:986:15: call_function: calling ‘escape_utf8_string_literal’ from ‘test_encode_escape_sequences’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:986:15: return_function: returning to ‘test_encode_escape_sequences’ from ‘escape_utf8_string_literal’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:987:5: call_function: calling ‘streq_not_null’ from ‘test_encode_escape_sequences’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:987:5: return_function: returning to ‘test_encode_escape_sequences’ from ‘streq_not_null’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:987:5: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:988:5: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:995:25: branch_true: following ‘true’ branch (when ‘ascii != -1’)...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:995:25: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:996:28: branch_true: following ‘true’ branch (when ‘s != 1000’)...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:997:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1001:34: branch_true: following ‘true’ branch (when ‘idx < length’)...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1001:34: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1005:41: call_function: calling ‘random_non_null_unicode_char’ from ‘test_encode_escape_sequences’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1005:41: return_function: returning to ‘test_encode_escape_sequences’ from ‘random_non_null_unicode_char’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1007:26: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1008:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1009:17: branch_false: following ‘false’ branch (when ‘c <= 60’)...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1001:48: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1001:34: branch_false: following ‘false’ branch (when ‘idx >= length’)...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1011:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1011:13: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1012:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1012:13: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1013:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1013:13: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1016:23: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1016:23: call_function: calling ‘escape_utf8_string_literal’ from ‘test_encode_escape_sequences’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1016:23: return_function: returning to ‘test_encode_escape_sequences’ from ‘escape_utf8_string_literal’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1017:16: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1019:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1019:13: throw: if ‘is_valid_utf8’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/escape.h:27:23: danger: ‘escape_utf8_string_literal(&buf)’ leaks here; was allocated at [(94)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/93)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def79]
libxkbcommon-xkbcommon-1.13.1/src/compose/parser.c:532:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "rb")’
libxkbcommon-xkbcommon-1.13.1/src/compose/parser.c:517:8: branch_false: following ‘false’ branch (when ‘include_depth <= 4’)...
libxkbcommon-xkbcommon-1.13.1/src/compose/parser.c:524:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/parser.c:524:12: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/src/compose/parser.c:525:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/parser.c:532:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/parser.c:532:10: throw: if ‘map_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/parser.c:532:10: danger: ‘fopen(path, "rb")’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def80]
libxkbcommon-xkbcommon-1.13.1/src/compose/parser.c:532:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "rb")’
libxkbcommon-xkbcommon-1.13.1/src/compose/parser.c:517:8: branch_false: following ‘false’ branch (when ‘include_depth <= 4’)...
libxkbcommon-xkbcommon-1.13.1/src/compose/parser.c:524:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/parser.c:524:12: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/src/compose/parser.c:525:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/parser.c:532:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/parser.c:532:10: throw: if ‘map_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/parser.c:532:10: danger: ‘fopen(path, "rb")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def81]
libxkbcommon-xkbcommon-1.13.1/src/compose/paths.c:62:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&path, "rb")’
libxkbcommon-xkbcommon-1.13.1/src/compose/paths.c:55:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/paths.c:58:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/paths.c:58:12: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/src/compose/paths.c:59:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/paths.c:62:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/paths.c:62:10: throw: if ‘map_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/paths.c:62:10: danger: ‘fopen(&path, "rb")’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
libxkbcommon-xkbcommon-1.13.1/src/compose/paths.c:62:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&path, "rb")’
libxkbcommon-xkbcommon-1.13.1/src/compose/paths.c:55:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/paths.c:58:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/paths.c:58:12: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/src/compose/paths.c:59:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/paths.c:62:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/paths.c:62:10: throw: if ‘map_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/paths.c:62:10: danger: ‘fopen(&path, "rb")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
libxkbcommon-xkbcommon-1.13.1/src/compose/state.c:43:20: warning[-Wanalyzer-malloc-leak]: leak of ‘state’
libxkbcommon-xkbcommon-1.13.1/src/compose/state.c:38:13: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/src/compose/state.c:39:8: branch_false: following ‘false’ branch (when ‘state’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/compose/state.c:42:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/state.c:43:20: throw: if ‘xkb_compose_table_ref’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/state.c:43:20: danger: ‘state’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:39:18: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:29:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:32:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:32:13: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:33:8: branch_false: following ‘false’ branch (when ‘table’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:38:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:39:18: throw: if ‘xkb_context_ref’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:39:18: danger: ‘table’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:52:5: warning[-Wanalyzer-malloc-leak]: leak of ‘xkb_compose_table_new(ctx, locale, 1, 0)’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:151:1: enter_function: entry to ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:160:8: branch_false: following ‘false’ branch (when ‘flags == 0’)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: call_function: calling ‘xkb_compose_table_new’ from ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: return_function: returning to ‘xkb_compose_table_new_from_locale’ from ‘xkb_compose_table_new’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:168:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:171:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:171:12: throw: if ‘get_xcomposefile_path’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:52:5: danger: ‘xkb_compose_table_new(ctx, locale, 1, 0)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def86]
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:52:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*table.nodes.item’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:29:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:32:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:33:8: branch_false: following ‘false’ branch (when ‘table’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:38:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:52:5: acquire_memory: this call could return NULL
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:52:5: danger: ‘*table.nodes.item’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def87]
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:54:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*table.utf8.item’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:29:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:32:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:33:8: branch_false: following ‘false’ branch (when ‘table’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:38:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:54:5: acquire_memory: this call could return NULL
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:54:5: danger: ‘*table.utf8.item’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:106:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:81:1: enter_function: entry to ‘xkb_compose_table_new_from_file’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:90:8: branch_false: following ‘false’ branch (when ‘flags == 0’)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:96:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:96:8: branch_false: following ‘false’ branch (when ‘format == 1’)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:102:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:102:13: call_function: calling ‘xkb_compose_table_new’ from ‘xkb_compose_table_new_from_file’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:102:13: return_function: returning to ‘xkb_compose_table_new_from_file’ from ‘xkb_compose_table_new’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:103:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:106:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:106:10: throw: if ‘parse_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:106:10: danger: ‘<unknown>’ leaks here; was allocated at [(12)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:141:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:116:1: enter_function: entry to ‘xkb_compose_table_new_from_buffer’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:125:8: branch_false: following ‘false’ branch (when ‘flags == 0’)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:131:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:131:8: branch_false: following ‘false’ branch (when ‘format == 1’)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:137:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:137:13: call_function: calling ‘xkb_compose_table_new’ from ‘xkb_compose_table_new_from_buffer’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:137:13: return_function: returning to ‘xkb_compose_table_new_from_buffer’ from ‘xkb_compose_table_new’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:138:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:141:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:141:10: throw: if ‘parse_string’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:141:10: danger: ‘<unknown>’ leaks here; was allocated at [(12)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:171:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:151:1: enter_function: entry to ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:160:8: branch_false: following ‘false’ branch (when ‘flags == 0’)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: call_function: calling ‘xkb_compose_table_new’ from ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: return_function: returning to ‘xkb_compose_table_new_from_locale’ from ‘xkb_compose_table_new’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:168:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:171:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:171:12: throw: if ‘get_xcomposefile_path’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:171:12: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:172:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:151:1: enter_function: entry to ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:160:8: branch_false: following ‘false’ branch (when ‘flags == 0’)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: call_function: calling ‘xkb_compose_table_new’ from ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: return_function: returning to ‘xkb_compose_table_new_from_locale’ from ‘xkb_compose_table_new’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:168:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:171:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:172:12: throw: if ‘open_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:172:12: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:177:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:151:1: enter_function: entry to ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:160:8: branch_false: following ‘false’ branch (when ‘flags == 0’)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: call_function: calling ‘xkb_compose_table_new’ from ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: return_function: returning to ‘xkb_compose_table_new_from_locale’ from ‘xkb_compose_table_new’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:168:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:171:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:173:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:175:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:177:12: throw: if ‘get_xdg_xcompose_file_path’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:177:12: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:178:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:151:1: enter_function: entry to ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:160:8: branch_false: following ‘false’ branch (when ‘flags == 0’)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: call_function: calling ‘xkb_compose_table_new’ from ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: return_function: returning to ‘xkb_compose_table_new_from_locale’ from ‘xkb_compose_table_new’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:168:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:171:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:173:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:175:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:178:12: throw: if ‘open_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:178:12: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def94]
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:183:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:151:1: enter_function: entry to ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:160:8: branch_false: following ‘false’ branch (when ‘flags == 0’)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: call_function: calling ‘xkb_compose_table_new’ from ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: return_function: returning to ‘xkb_compose_table_new_from_locale’ from ‘xkb_compose_table_new’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:168:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:171:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:173:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:175:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:179:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:181:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:183:12: throw: if ‘get_home_xcompose_file_path’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:183:12: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def95]
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:184:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:151:1: enter_function: entry to ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:160:8: branch_false: following ‘false’ branch (when ‘flags == 0’)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: call_function: calling ‘xkb_compose_table_new’ from ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: return_function: returning to ‘xkb_compose_table_new_from_locale’ from ‘xkb_compose_table_new’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:168:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:171:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:173:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:175:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:179:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:181:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:184:12: throw: if ‘open_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:184:12: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:189:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:151:1: enter_function: entry to ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:160:8: branch_false: following ‘false’ branch (when ‘flags == 0’)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: call_function: calling ‘xkb_compose_table_new’ from ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: return_function: returning to ‘xkb_compose_table_new_from_locale’ from ‘xkb_compose_table_new’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:168:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:171:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:173:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:175:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:179:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:181:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:185:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:187:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:189:12: throw: if ‘get_locale_compose_file_path’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:189:12: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def97]
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:190:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:151:1: enter_function: entry to ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:160:8: branch_false: following ‘false’ branch (when ‘flags == 0’)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: call_function: calling ‘xkb_compose_table_new’ from ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: return_function: returning to ‘xkb_compose_table_new_from_locale’ from ‘xkb_compose_table_new’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:168:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:171:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:173:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:175:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:179:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:181:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:185:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:187:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:190:12: throw: if ‘open_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:190:12: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def98]
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:195:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:151:1: enter_function: entry to ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:160:8: branch_false: following ‘false’ branch (when ‘flags == 0’)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: call_function: calling ‘xkb_compose_table_new’ from ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: return_function: returning to ‘xkb_compose_table_new_from_locale’ from ‘xkb_compose_table_new’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:168:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:171:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:173:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:175:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:179:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:181:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:185:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:187:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:191:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:193:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:195:5: throw: if ‘xkb_log’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:195:5: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def99]
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:202:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:151:1: enter_function: entry to ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:160:8: branch_false: following ‘false’ branch (when ‘flags == 0’)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: call_function: calling ‘xkb_compose_table_new’ from ‘xkb_compose_table_new_from_locale’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:166:13: return_function: returning to ‘xkb_compose_table_new_from_locale’ from ‘xkb_compose_table_new’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:168:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:171:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:202:10: throw: if ‘parse_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:202:10: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def100]
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:284:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*iter.pending_nodes.item’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:256:1: enter_function: entry to ‘xkb_compose_table_iterator_new’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:262:8: branch_false: following ‘false’ branch (when ‘iter’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:265:19: call_function: inlined call to ‘xkb_compose_table_ref’ from ‘xkb_compose_table_iterator_new’
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:267:8: branch_false: following ‘false’ branch (when ‘sequence’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:271:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:276:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:284:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:284:5: acquire_memory: this call could return NULL
libxkbcommon-xkbcommon-1.13.1/src/compose/table.c:284:5: danger: ‘*iter.pending_nodes.item’ could be NULL: unchecked value from [(11)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def101]
libxkbcommon-xkbcommon-1.13.1/src/context-priv.c:107:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libxkbcommon-xkbcommon-1.13.1/src/context-priv.c:103:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/context-priv.c:106:5: acquire_resource: ‘va_start’ called here
libxkbcommon-xkbcommon-1.13.1/src/context-priv.c:107:5: throw: if the called function throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/context-priv.c:107:5: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def102]
libxkbcommon-xkbcommon-1.13.1/src/context.c:170:21: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(path)’
libxkbcommon-xkbcommon-1.13.1/src/context.c:366:1: enter_function: entry to ‘xkb_context_include_path_reset_defaults’
libxkbcommon-xkbcommon-1.13.1/src/context.c:369:12: call_function: calling ‘xkb_context_include_path_append_default’ from ‘xkb_context_include_path_reset_defaults’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def103]
libxkbcommon-xkbcommon-1.13.1/src/context.c:198:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/src/context.c:366:1: enter_function: entry to ‘xkb_context_include_path_reset_defaults’
libxkbcommon-xkbcommon-1.13.1/src/context.c:369:12: call_function: calling ‘xkb_context_include_path_append_default’ from ‘xkb_context_include_path_reset_defaults’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def104]
libxkbcommon-xkbcommon-1.13.1/src/context.c:528:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
libxkbcommon-xkbcommon-1.13.1/src/context.c:496:31: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/src/context.c:498:8: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/context.c:501:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/context.c:528:11: throw: if ‘xkb_context_getenv’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/context.c:528:11: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
libxkbcommon-xkbcommon-1.13.1/src/keymap-priv.c:34:37: warning[-Wanalyzer-malloc-leak]: leak of ‘keymap’
libxkbcommon-xkbcommon-1.13.1/src/keymap-priv.c:46:1: enter_function: entry to ‘xkb_keymap_new’
libxkbcommon-xkbcommon-1.13.1/src/keymap-priv.c:52:14: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/src/keymap-priv.c:53:8: branch_false: following ‘false’ branch (when ‘keymap’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/keymap-priv.c:56:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/keymap-priv.c:62:5: call_function: calling ‘update_builtin_keymap_fields’ from ‘xkb_keymap_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
libxkbcommon-xkbcommon-1.13.1/src/keymap-priv.c:57:19: warning[-Wanalyzer-malloc-leak]: leak of ‘keymap’
libxkbcommon-xkbcommon-1.13.1/src/keymap-priv.c:52:14: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/src/keymap-priv.c:53:8: branch_false: following ‘false’ branch (when ‘keymap’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/keymap-priv.c:56:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/keymap-priv.c:57:19: throw: if ‘xkb_context_ref’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/keymap-priv.c:57:19: danger: ‘keymap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def107]
libxkbcommon-xkbcommon-1.13.1/src/keysym.c:137: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: iter
Error: CPPCHECK_WARNING (CWE-476): [#def108]
libxkbcommon-xkbcommon-1.13.1/src/keysym.c:138: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: iter
Error: CPPCHECK_WARNING (CWE-476): [#def109]
libxkbcommon-xkbcommon-1.13.1/src/keysym.c:139: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: iter
Error: GCC_ANALYZER_WARNING (CWE-404): [#def110]
libxkbcommon-xkbcommon-1.13.1/src/registry.c:139:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libxkbcommon-xkbcommon-1.13.1/src/registry.c:1457:1: enter_function: entry to ‘parse’
libxkbcommon-xkbcommon-1.13.1/src/registry.c:1470:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/registry.c:1478:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/registry.c:1491:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/registry.c:1494:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/registry.c:1494:10: call_function: calling ‘validate’ from ‘parse’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
libxkbcommon-xkbcommon-1.13.1/src/registry.c:648:21: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(path)’
libxkbcommon-xkbcommon-1.13.1/src/registry.c:707:1: enter_function: entry to ‘rxkb_context_include_path_append_default’
libxkbcommon-xkbcommon-1.13.1/src/registry.c:757:16: call_function: calling ‘add_direct_subdirectories’ from ‘rxkb_context_include_path_append_default’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def112]
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:30:20: warning[-Wanalyzer-malloc-leak]: leak of ‘builder’
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:25:48: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:26:8: branch_false: following ‘false’ branch (when ‘builder’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:29:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:30:20: throw: if ‘xkb_context_ref’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:30:20: danger: ‘builder’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:46:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:21:1: enter_function: entry to ‘xkb_rmlvo_builder_new’
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:26:8: branch_false: following ‘false’ branch (when ‘builder’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:29:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:32:22: call_function: inlined call to ‘strdup_safe’ from ‘xkb_rmlvo_builder_new’
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:33:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:36:22: call_function: inlined call to ‘strdup_safe’ from ‘xkb_rmlvo_builder_new’
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:37:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:46:5: throw: if ‘xkb_log’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:46:5: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:46:5: warning[-Wanalyzer-malloc-leak]: leak of ‘builder’
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:21:1: enter_function: entry to ‘xkb_rmlvo_builder_new’
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:25:48: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:26:8: branch_false: following ‘false’ branch (when ‘builder’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:29:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:32:22: call_function: inlined call to ‘strdup_safe’ from ‘xkb_rmlvo_builder_new’
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:33:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:46:5: throw: if ‘xkb_log’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:46:5: danger: ‘builder’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:170:5: warning[-Wanalyzer-malloc-leak]: leak of ‘builder’
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:21:1: enter_function: entry to ‘xkb_rmlvo_builder_new’
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:25:48: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:26:8: branch_false: following ‘false’ branch (when ‘builder’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:29:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:32:22: call_function: inlined call to ‘strdup_safe’ from ‘xkb_rmlvo_builder_new’
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:33:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/rmlvo.c:48:5: call_function: calling ‘xkb_rmlvo_builder_unref’ from ‘xkb_rmlvo_builder_new’
Error: CPPCHECK_WARNING (CWE-758): [#def116]
libxkbcommon-xkbcommon-1.13.1/src/state.c:1516: warning[objectIndex]: The address of variable 'sym' might be accessed at non-zero index.
Error: GCC_ANALYZER_WARNING (CWE-404): [#def117]
libxkbcommon-xkbcommon-1.13.1/src/state.c:1745:37: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libxkbcommon-xkbcommon-1.13.1/src/state.c:1740:5: acquire_resource: ‘va_start’ called here
libxkbcommon-xkbcommon-1.13.1/src/state.c:1743:12: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/state.c:1745:37: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/state.c:1745:37: throw: if ‘xkb_keymap_mod_get_index’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/state.c:1745:37: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
libxkbcommon-xkbcommon-1.13.1/src/x11/keymap.c:936:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*type.level_names’
libxkbcommon-xkbcommon-1.13.1/src/x11/keymap.c:924:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/x11/keymap.c:925:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/x11/keymap.c:925:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/x11/keymap.c:925:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/x11/keymap.c:927:21: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/x11/keymap.c:928:20: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/x11/keymap.c:933:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/x11/keymap.c:936:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/x11/keymap.c:936:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/x11/keymap.c:936:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/x11/keymap.c:936:9: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/src/x11/keymap.c:936:9: danger: ‘*type.level_names’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def119]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:527:22: warning[-Wanalyzer-malloc-leak]: leak of ‘actions.item’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:1013:1: enter_function: entry to ‘CompileCompatMap’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:1019:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:1020:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:1020:9: call_function: calling ‘HandleCompatMapFile’ from ‘CompileCompatMap’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def120]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:540:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:1013:1: enter_function: entry to ‘CompileCompatMap’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:1019:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:1020:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:1020:9: call_function: calling ‘HandleCompatMapFile’ from ‘CompileCompatMap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:893:13: warning[-Wanalyzer-malloc-leak]: leak of ‘info.name’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:1013:1: enter_function: entry to ‘CompileCompatMap’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:1019:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:1020:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:1020:9: call_function: calling ‘HandleCompatMapFile’ from ‘CompileCompatMap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:893:13: warning[-Wanalyzer-malloc-leak]: leak of ‘next_incl.name’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:1013:1: enter_function: entry to ‘CompileCompatMap’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:1019:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:1020:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/compat.c:1020:9: call_function: calling ‘HandleCompatMapFile’ from ‘CompileCompatMap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keycodes.c:875:13: warning[-Wanalyzer-malloc-leak]: leak of ‘info.name’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keycodes.c:1024:1: enter_function: entry to ‘CompileKeycodes’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keycodes.c:1030:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keycodes.c:1031:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keycodes.c:1031:9: call_function: calling ‘HandleKeycodesFile’ from ‘CompileKeycodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def124]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keycodes.c:875:13: warning[-Wanalyzer-malloc-leak]: leak of ‘next_incl.name’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keycodes.c:1024:1: enter_function: entry to ‘CompileKeycodes’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keycodes.c:1030:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keycodes.c:1031:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keycodes.c:1031:9: call_function: calling ‘HandleKeycodesFile’ from ‘CompileKeycodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-dump.c:283:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf.buf’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-dump.c:1068:1: enter_function: entry to ‘text_v1_keymap_get_as_string’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-dump.c:1074:10: call_function: calling ‘write_keymap’ from ‘text_v1_keymap_get_as_string’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def126]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-dump.c:285:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf.buf’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-dump.c:1068:1: enter_function: entry to ‘text_v1_keymap_get_as_string’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-dump.c:1074:10: call_function: calling ‘write_keymap’ from ‘text_v1_keymap_get_as_string’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def127]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:196:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*section.buffer.item + (sizetype)(*section.buffer.size + 4294967295)’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:384:1: enter_function: entry to ‘xkb_file_iterator_new_from_buffer’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:393:8: branch_false: following ‘false’ branch (when ‘iter’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:399:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:404:5: call_function: calling ‘xkb_file_section_init’ from ‘xkb_file_iterator_new_from_buffer’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def128]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:363:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "rb")’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:353:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:356:18: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:356:18: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:357:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:363:25: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:363:25: throw: if ‘XkbParseFile’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:363:25: danger: ‘fopen(path, "rb")’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:363:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "rb")’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:353:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:356:18: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:356:18: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:357:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:363:25: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:363:25: throw: if ‘XkbParseFile’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:363:25: danger: ‘fopen(path, "rb")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:406:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:384:1: enter_function: entry to ‘xkb_file_iterator_new_from_buffer’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:393:8: branch_false: following ‘false’ branch (when ‘iter’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:399:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:404:5: call_function: calling ‘xkb_file_section_init’ from ‘xkb_file_iterator_new_from_buffer’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:404:5: return_function: returning to ‘xkb_file_iterator_new_from_buffer’ from ‘xkb_file_section_init’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:406:10: throw: if ‘XkbParseStringInit’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:406:10: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:406:10: warning[-Wanalyzer-malloc-leak]: leak of ‘iter’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:392:45: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:393:8: branch_false: following ‘false’ branch (when ‘iter’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:399:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:406:10: throw: if ‘XkbParseStringInit’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap-file-iterator.c:406:10: danger: ‘iter’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def132]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:164:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:555:1: enter_function: entry to ‘CompileKeymap’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:595:10: branch_true: following ‘true’ branch (when ‘type != 4’)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:597:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:609:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:596:10: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:609:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:596:10: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:617:12: call_function: calling ‘UpdateDerivedKeymapFields’ from ‘CompileKeymap’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def133]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:171:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:555:1: enter_function: entry to ‘CompileKeymap’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:595:10: branch_true: following ‘true’ branch (when ‘type != 4’)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:597:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:609:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:596:10: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:609:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:596:10: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:617:12: call_function: calling ‘UpdateDerivedKeymapFields’ from ‘CompileKeymap’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def134]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:220:21: warning[-Wanalyzer-double-free]: double-‘free’ of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:555:1: enter_function: entry to ‘CompileKeymap’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:595:10: branch_true: following ‘true’ branch (when ‘type != 4’)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:597:13: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:609:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:596:10: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:609:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:596:10: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/keymap.c:617:12: call_function: calling ‘UpdateDerivedKeymapFields’ from ‘CompileKeymap’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def135]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:340:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘__builtin_malloc(96)’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:2110:1: enter_function: entry to ‘xkb_components_from_rules_names’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:2115:31: call_function: calling ‘matcher_new_from_names’ from ‘xkb_components_from_rules_names’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def136]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:422:32: warning[-Wanalyzer-malloc-leak]: leak of ‘m’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:2092:1: enter_function: entry to ‘xkb_components_from_rmlvo_builder’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:2097:31: call_function: calling ‘matcher_new_from_rmlvo’ from ‘xkb_components_from_rmlvo_builder’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def137]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:474:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:2092:1: enter_function: entry to ‘xkb_components_from_rmlvo_builder’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:2097:31: call_function: calling ‘matcher_new_from_rmlvo’ from ‘xkb_components_from_rmlvo_builder’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def138]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:474:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:2092:1: enter_function: entry to ‘xkb_components_from_rmlvo_builder’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:2097:31: call_function: calling ‘matcher_new_from_rmlvo’ from ‘xkb_components_from_rmlvo_builder’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def139]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:477:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:2092:1: enter_function: entry to ‘xkb_components_from_rmlvo_builder’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:2097:31: call_function: calling ‘matcher_new_from_rmlvo’ from ‘xkb_components_from_rmlvo_builder’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def140]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:497:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:2092:1: enter_function: entry to ‘xkb_components_from_rmlvo_builder’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:2097:31: call_function: calling ‘matcher_new_from_rmlvo’ from ‘xkb_components_from_rmlvo_builder’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1203:9: warning[-Wanalyzer-malloc-leak]: leak of ‘expanded.item’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1490:1: enter_function: entry to ‘matcher_rule_apply_if_matches’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1607:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1609:14: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1610:14: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1613:37: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1658:21: call_function: calling ‘append_expanded_kccgst_value’ from ‘matcher_rule_apply_if_matches’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def142]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1203:9: warning[-Wanalyzer-null-argument]: use of NULL ‘expanded.item’ where non-null expected
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1490:1: enter_function: entry to ‘matcher_rule_apply_if_matches’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1607:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1609:14: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1610:14: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1613:37: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1658:21: call_function: calling ‘append_expanded_kccgst_value’ from ‘matcher_rule_apply_if_matches’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def143]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1292:5: warning[-Wanalyzer-null-argument]: use of NULL ‘expanded.item’ where non-null expected
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1490:1: enter_function: entry to ‘matcher_rule_apply_if_matches’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1607:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1609:14: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1610:14: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1613:37: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1658:21: call_function: calling ‘append_expanded_kccgst_value’ from ‘matcher_rule_apply_if_matches’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def144]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1375:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1442:1: enter_function: entry to ‘matcher_append_pending_kccgst’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1450:32: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1451:42: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1464:20: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1466:21: call_function: calling ‘concat_kccgst’ from ‘matcher_append_pending_kccgst’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def145]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1422:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1490:1: enter_function: entry to ‘matcher_rule_apply_if_matches’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1607:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1609:14: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1610:14: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1613:37: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/rules.c:1658:21: call_function: calling ‘append_expanded_kccgst_value’ from ‘matcher_rule_apply_if_matches’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def146]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:120:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*to.levels.item’ where non-null expected
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1946:1: enter_function: entry to ‘CompileSymbols’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1952:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1953:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1953:9: call_function: calling ‘HandleSymbolsFile’ from ‘CompileSymbols’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def147]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:781:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1946:1: enter_function: entry to ‘CompileSymbols’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1952:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1953:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1953:9: call_function: calling ‘HandleSymbolsFile’ from ‘CompileSymbols’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def148]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:796:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1946:1: enter_function: entry to ‘CompileSymbols’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1952:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1953:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1953:9: call_function: calling ‘HandleSymbolsFile’ from ‘CompileSymbols’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def149]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1065:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1946:1: enter_function: entry to ‘CompileSymbols’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1952:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1953:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1953:9: call_function: calling ‘HandleSymbolsFile’ from ‘CompileSymbols’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def150]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1416:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘keyi.groups.item’ where non-null expected
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1946:1: enter_function: entry to ‘CompileSymbols’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1952:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1953:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1953:9: call_function: calling ‘HandleSymbolsFile’ from ‘CompileSymbols’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1515:13: warning[-Wanalyzer-malloc-leak]: leak of ‘info.name’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1946:1: enter_function: entry to ‘CompileSymbols’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1952:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1953:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1953:9: call_function: calling ‘HandleSymbolsFile’ from ‘CompileSymbols’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def152]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1515:13: warning[-Wanalyzer-malloc-leak]: leak of ‘next_incl.name’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1946:1: enter_function: entry to ‘CompileSymbols’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1952:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1953:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/symbols.c:1953:9: call_function: calling ‘HandleSymbolsFile’ from ‘CompileSymbols’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def153]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:332:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:840:1: enter_function: entry to ‘CompileKeyTypes’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:846:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:847:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:847:9: call_function: calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def154]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:427:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:840:1: enter_function: entry to ‘CompileKeyTypes’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:846:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:847:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:847:9: call_function: calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def155]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:427:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘new.mods.mask’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:840:1: enter_function: entry to ‘CompileKeyTypes’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:846:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:847:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:847:9: call_function: calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def156]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:495:9: warning[-Wanalyzer-null-argument]: use of NULL ‘type.level_names.item’ where non-null expected
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:840:1: enter_function: entry to ‘CompileKeyTypes’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:846:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:847:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:847:9: call_function: calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def157]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:703:13: warning[-Wanalyzer-malloc-leak]: leak of ‘info.name’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:840:1: enter_function: entry to ‘CompileKeyTypes’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:846:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:847:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:847:9: call_function: calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def158]
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:703:13: warning[-Wanalyzer-malloc-leak]: leak of ‘next_incl.name’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:840:1: enter_function: entry to ‘CompileKeyTypes’
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:846:8: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:847:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/src/xkbcomp/types.c:847:9: call_function: calling ‘HandleKeyTypesFile’ from ‘CompileKeyTypes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def159]
libxkbcommon-xkbcommon-1.13.1/test/atom.c:69:16: warning[-Wanalyzer-malloc-leak]: leak of ‘*<unknown>.string’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:45:1: enter_function: entry to ‘test_random_strings’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:60:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:62:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:64:5: branch_false: following ‘false’ branch (when ‘arr’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:64:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:66:21: branch_true: following ‘true’ branch (when ‘i < N’)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:43: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:9: call_function: calling ‘random_string’ from ‘test_random_strings’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:9: return_function: returning to ‘test_random_strings’ from ‘random_string’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:69:16: throw: if ‘atom_intern’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:69:16: danger: ‘*<unknown>.string’ leaks here; was allocated at [(10)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def160]
libxkbcommon-xkbcommon-1.13.1/test/atom.c:69:16: warning[-Wanalyzer-malloc-leak]: leak of ‘arr’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:45:1: enter_function: entry to ‘test_random_strings’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:60:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:62:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:63:11: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:64:5: branch_false: following ‘false’ branch (when ‘arr’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:64:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:66:21: branch_true: following ‘true’ branch (when ‘i < N’)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:43: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:9: call_function: calling ‘random_string’ from ‘test_random_strings’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:9: return_function: returning to ‘test_random_strings’ from ‘random_string’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:69:16: throw: if ‘atom_intern’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:69:16: danger: ‘arr’ leaks here; was allocated at [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def161]
libxkbcommon-xkbcommon-1.13.1/test/atom.c:71:22: warning[-Wanalyzer-malloc-leak]: leak of ‘*<unknown>.string’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:45:1: enter_function: entry to ‘test_random_strings’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:60:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:62:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:64:5: branch_false: following ‘false’ branch (when ‘arr’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:64:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:66:21: branch_true: following ‘true’ branch (when ‘i < N’)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:43: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:9: call_function: calling ‘random_string’ from ‘test_random_strings’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:9: return_function: returning to ‘test_random_strings’ from ‘random_string’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:70:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:71:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:71:22: throw: if ‘atom_text’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:71:22: danger: ‘*<unknown>.string’ leaks here; was allocated at [(10)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def162]
libxkbcommon-xkbcommon-1.13.1/test/atom.c:71:22: warning[-Wanalyzer-malloc-leak]: leak of ‘arr’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:45:1: enter_function: entry to ‘test_random_strings’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:60:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:62:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:63:11: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:64:5: branch_false: following ‘false’ branch (when ‘arr’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:64:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:66:21: branch_true: following ‘true’ branch (when ‘i < N’)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:43: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:9: call_function: calling ‘random_string’ from ‘test_random_strings’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:9: return_function: returning to ‘test_random_strings’ from ‘random_string’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:70:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:71:22: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:71:22: throw: if ‘atom_text’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:71:22: danger: ‘arr’ leaks here; was allocated at [(4)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def163]
libxkbcommon-xkbcommon-1.13.1/test/atom.c:90:23: warning[-Wanalyzer-malloc-leak]: leak of ‘*<unknown>.string’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:45:1: enter_function: entry to ‘test_random_strings’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:60:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:62:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:64:5: branch_false: following ‘false’ branch (when ‘arr’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:64:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:66:21: branch_true: following ‘true’ branch (when ‘i < N’)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:43: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:9: call_function: calling ‘random_string’ from ‘test_random_strings’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:9: return_function: returning to ‘test_random_strings’ from ‘random_string’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:90:23: throw: if ‘atom_intern’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:90:23: danger: ‘*<unknown>.string’ leaks here; was allocated at [(10)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def164]
libxkbcommon-xkbcommon-1.13.1/test/atom.c:90:23: warning[-Wanalyzer-malloc-leak]: leak of ‘arr’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:45:1: enter_function: entry to ‘test_random_strings’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:60:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:62:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:63:11: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:64:5: branch_false: following ‘false’ branch (when ‘arr’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:64:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:66:21: branch_true: following ‘true’ branch (when ‘i < N’)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:43: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:9: call_function: calling ‘random_string’ from ‘test_random_strings’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:9: return_function: returning to ‘test_random_strings’ from ‘random_string’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:90:23: throw: if ‘atom_intern’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:90:23: danger: ‘arr’ leaks here; was allocated at [(4)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def165]
libxkbcommon-xkbcommon-1.13.1/test/atom.c:99:18: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:45:1: enter_function: entry to ‘test_random_strings’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:60:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:62:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:64:5: branch_false: following ‘false’ branch (when ‘arr’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:64:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:66:21: branch_true: following ‘true’ branch (when ‘i < N’)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:43: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:9: call_function: calling ‘random_string’ from ‘test_random_strings’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:9: return_function: returning to ‘test_random_strings’ from ‘random_string’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:91:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:66:28: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:66:21: branch_false: following ‘false’ branch (when ‘i >= N’)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:66:21: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:98:21: branch_true: following ‘true’ branch (when ‘i < N’)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:99:38: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:99:18: throw: if ‘atom_text’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:99:18: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def166]
libxkbcommon-xkbcommon-1.13.1/test/atom.c:99:18: warning[-Wanalyzer-malloc-leak]: leak of ‘arr’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:45:1: enter_function: entry to ‘test_random_strings’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:60:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:62:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:63:11: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:64:5: branch_false: following ‘false’ branch (when ‘arr’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:64:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:66:21: branch_true: following ‘true’ branch (when ‘i < N’)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:43: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:9: call_function: calling ‘random_string’ from ‘test_random_strings’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:67:9: return_function: returning to ‘test_random_strings’ from ‘random_string’
libxkbcommon-xkbcommon-1.13.1/test/atom.c:91:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:66:28: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:66:21: branch_false: following ‘false’ branch (when ‘i >= N’)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:66:21: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:98:21: branch_true: following ‘true’ branch (when ‘i < N’)...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:99:38: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/atom.c:99:18: throw: if ‘atom_text’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/atom.c:99:18: danger: ‘arr’ leaks here; was allocated at [(4)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/3)
Error: UNICONTROL_WARNING (CWE-94): [#def167]
libxkbcommon-xkbcommon-1.13.1/test/buffercomp.c:1877: warning: bidirectional control characters: ['\u2067', '\u2069', '\u2067', '\u2069']
Error: CPPCHECK_WARNING (CWE-758): [#def168]
libxkbcommon-xkbcommon-1.13.1/test/common.c:156: warning[objectIndex]: The address of variable 'sym' might be accessed at non-zero index.
Error: CPPCHECK_WARNING (CWE-758): [#def169]
libxkbcommon-xkbcommon-1.13.1/test/common.c:160: warning[objectIndex]: The address of variable 'sym' might be accessed at non-zero index.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def170]
libxkbcommon-xkbcommon-1.13.1/test/common.c:279:26: warning[-Wanalyzer-malloc-leak]: leak of ‘test_read_file(rel_path)’
libxkbcommon-xkbcommon-1.13.1/test/common.c:674:1: enter_function: entry to ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:690:8: branch_false: following ‘false’ branch (when ‘rel_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:704:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:704:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:709:17: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:711:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:716:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:718:24: call_function: calling ‘test_get_path’ from ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:718:24: return_function: returning to ‘test_compile_output2’ from ‘test_get_path’
libxkbcommon-xkbcommon-1.13.1/test/common.c:719:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:721:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:721:8: branch_false: following ‘false’ branch (when ‘update_output_files == 0’)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:728:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:729:32: call_function: calling ‘test_read_file’ from ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:729:32: return_function: returning to ‘test_compile_output2’ from ‘test_read_file’
libxkbcommon-xkbcommon-1.13.1/test/common.c:730:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:733:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:735:34: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:736:17: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:736:17: call_function: calling ‘streq’ from ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:736:17: return_function: returning to ‘test_compile_output2’ from ‘streq’
libxkbcommon-xkbcommon-1.13.1/test/common.c:736:16: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:737:17: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:738:20: branch_true: following ‘true’ branch (when ‘test_round_trip != 0’)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:741:26: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:741:26: throw: if the called function throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/common.c:279:26: danger: ‘test_read_file(rel_path)’ leaks here; was allocated at [(56)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/55)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def171]
libxkbcommon-xkbcommon-1.13.1/test/common.c:303:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(test_get_path(path_rel), "rb")’
libxkbcommon-xkbcommon-1.13.1/test/common.c:674:1: enter_function: entry to ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:690:8: branch_false: following ‘false’ branch (when ‘rel_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:704:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:704:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:709:17: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:711:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:716:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:718:24: call_function: calling ‘test_get_path’ from ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:718:24: return_function: returning to ‘test_compile_output2’ from ‘test_get_path’
libxkbcommon-xkbcommon-1.13.1/test/common.c:719:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:721:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:721:8: branch_false: following ‘false’ branch (when ‘update_output_files == 0’)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:728:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:729:32: call_function: calling ‘test_read_file’ from ‘test_compile_output2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def172]
libxkbcommon-xkbcommon-1.13.1/test/common.c:303:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(test_get_path(path_rel), "rb")’
libxkbcommon-xkbcommon-1.13.1/test/common.c:674:1: enter_function: entry to ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:690:8: branch_false: following ‘false’ branch (when ‘rel_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:704:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:704:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:709:17: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:711:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:716:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:718:24: call_function: calling ‘test_get_path’ from ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:718:24: return_function: returning to ‘test_compile_output2’ from ‘test_get_path’
libxkbcommon-xkbcommon-1.13.1/test/common.c:719:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:721:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:721:8: branch_false: following ‘false’ branch (when ‘update_output_files == 0’)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:728:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:729:32: call_function: calling ‘test_read_file’ from ‘test_compile_output2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def173]
libxkbcommon-xkbcommon-1.13.1/test/common.c:303:24: warning[-Wanalyzer-malloc-leak]: leak of ‘test_get_path(path_rel)’
libxkbcommon-xkbcommon-1.13.1/test/common.c:674:1: enter_function: entry to ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:690:8: branch_false: following ‘false’ branch (when ‘rel_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:704:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:704:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:709:17: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:711:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:716:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:718:24: call_function: calling ‘test_get_path’ from ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:718:24: return_function: returning to ‘test_compile_output2’ from ‘test_get_path’
libxkbcommon-xkbcommon-1.13.1/test/common.c:719:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:721:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:721:8: branch_false: following ‘false’ branch (when ‘update_output_files == 0’)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:728:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:729:32: call_function: calling ‘test_read_file’ from ‘test_compile_output2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def174]
libxkbcommon-xkbcommon-1.13.1/test/common.c:303:24: warning[-Wanalyzer-malloc-leak]: leak of ‘test_read_file(rel_path)’
libxkbcommon-xkbcommon-1.13.1/test/common.c:674:1: enter_function: entry to ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:690:8: branch_false: following ‘false’ branch (when ‘rel_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:704:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:704:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:709:17: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:711:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:716:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:718:24: call_function: calling ‘test_get_path’ from ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:718:24: return_function: returning to ‘test_compile_output2’ from ‘test_get_path’
libxkbcommon-xkbcommon-1.13.1/test/common.c:719:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:721:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:721:8: branch_false: following ‘false’ branch (when ‘update_output_files == 0’)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:728:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:729:32: call_function: calling ‘test_read_file’ from ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:729:32: return_function: returning to ‘test_compile_output2’ from ‘test_read_file’
libxkbcommon-xkbcommon-1.13.1/test/common.c:730:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:733:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:735:34: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:736:17: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:736:17: call_function: calling ‘streq’ from ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:736:17: return_function: returning to ‘test_compile_output2’ from ‘streq’
libxkbcommon-xkbcommon-1.13.1/test/common.c:736:16: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:737:17: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:738:20: branch_true: following ‘true’ branch (when ‘test_round_trip != 0’)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:741:26: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:741:26: throw: if the called function throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/common.c:303:24: danger: ‘test_read_file(rel_path)’ leaks here; was allocated at [(46)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/45)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def175]
libxkbcommon-xkbcommon-1.13.1/test/common.c:315:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
libxkbcommon-xkbcommon-1.13.1/test/common.c:674:1: enter_function: entry to ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:690:8: branch_false: following ‘false’ branch (when ‘rel_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:704:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:704:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:709:17: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:711:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:716:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:718:24: call_function: calling ‘test_get_path’ from ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:718:24: return_function: returning to ‘test_compile_output2’ from ‘test_get_path’
libxkbcommon-xkbcommon-1.13.1/test/common.c:719:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:721:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:721:8: branch_false: following ‘false’ branch (when ‘update_output_files == 0’)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:728:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:729:32: call_function: calling ‘test_read_file’ from ‘test_compile_output2’
Error: GCC_ANALYZER_WARNING (CWE-910): [#def176]
libxkbcommon-xkbcommon-1.13.1/test/common.c:342:9: warning[-Wanalyzer-double-fclose]: double ‘fclose’ of FILE ‘fopen(test_get_path(path_rel), "rb")’
libxkbcommon-xkbcommon-1.13.1/test/common.c:674:1: enter_function: entry to ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:690:8: branch_false: following ‘false’ branch (when ‘rel_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:704:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:704:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:709:17: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:711:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:716:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:718:24: call_function: calling ‘test_get_path’ from ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:718:24: return_function: returning to ‘test_compile_output2’ from ‘test_get_path’
libxkbcommon-xkbcommon-1.13.1/test/common.c:719:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:721:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:721:8: branch_false: following ‘false’ branch (when ‘update_output_files == 0’)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:728:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:729:32: call_function: calling ‘test_read_file’ from ‘test_compile_output2’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def177]
libxkbcommon-xkbcommon-1.13.1/test/common.c:342:9: warning[-Wanalyzer-double-free]: double-‘fclose’ of ‘fopen(test_get_path(path_rel), "rb")’
libxkbcommon-xkbcommon-1.13.1/test/common.c:674:1: enter_function: entry to ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:690:8: branch_false: following ‘false’ branch (when ‘rel_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:704:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:704:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:709:17: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:711:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:716:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:718:24: call_function: calling ‘test_get_path’ from ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:718:24: return_function: returning to ‘test_compile_output2’ from ‘test_get_path’
libxkbcommon-xkbcommon-1.13.1/test/common.c:719:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:721:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:721:8: branch_false: following ‘false’ branch (when ‘update_output_files == 0’)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:728:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:729:32: call_function: calling ‘test_read_file’ from ‘test_compile_output2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def178]
libxkbcommon-xkbcommon-1.13.1/test/common.c:728:9: warning[-Wanalyzer-malloc-leak]: leak of ‘test_get_path(rel_path)’
libxkbcommon-xkbcommon-1.13.1/test/common.c:674:1: enter_function: entry to ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:690:8: branch_false: following ‘false’ branch (when ‘rel_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:704:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:704:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:709:17: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:711:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:716:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:718:24: call_function: calling ‘test_get_path’ from ‘test_compile_output2’
libxkbcommon-xkbcommon-1.13.1/test/common.c:718:24: return_function: returning to ‘test_compile_output2’ from ‘test_get_path’
libxkbcommon-xkbcommon-1.13.1/test/common.c:719:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:721:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:721:8: branch_false: following ‘false’ branch (when ‘update_output_files == 0’)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:728:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:729:32: call_function: calling ‘test_read_file’ from ‘test_compile_output2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def179]
libxkbcommon-xkbcommon-1.13.1/test/common.c:822:9: warning[-Wanalyzer-malloc-leak]: leak of ‘test_get_path(rel_path)’
libxkbcommon-xkbcommon-1.13.1/test/common.c:780:1: enter_function: entry to ‘test_third_pary_compile_output’
libxkbcommon-xkbcommon-1.13.1/test/common.c:794:8: branch_false: following ‘false’ branch (when ‘rel_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:805:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:805:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:805:32: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:812:18: call_function: calling ‘test_get_path’ from ‘test_third_pary_compile_output’
libxkbcommon-xkbcommon-1.13.1/test/common.c:812:18: return_function: returning to ‘test_third_pary_compile_output’ from ‘test_get_path’
libxkbcommon-xkbcommon-1.13.1/test/common.c:813:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/common.c:815:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:815:8: branch_false: following ‘false’ branch (when ‘update_output_files == 0’)...
libxkbcommon-xkbcommon-1.13.1/test/common.c:822:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/common.c:823:26: call_function: calling ‘test_read_file’ from ‘test_third_pary_compile_output’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def180]
libxkbcommon-xkbcommon-1.13.1/test/compose.c:71:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:699:1: enter_function: entry to ‘test_override’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:705:5: call_function: calling ‘test_compose_seq_buffer’ from ‘test_override’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def181]
libxkbcommon-xkbcommon-1.13.1/test/compose.c:90:18: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:699:1: enter_function: entry to ‘test_override’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:705:5: call_function: calling ‘test_compose_seq_buffer’ from ‘test_override’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def182]
libxkbcommon-xkbcommon-1.13.1/test/compose.c:101:18: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:699:1: enter_function: entry to ‘test_override’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:705:5: call_function: calling ‘test_compose_seq_buffer’ from ‘test_override’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def183]
libxkbcommon-xkbcommon-1.13.1/test/compose.c:111:15: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:699:1: enter_function: entry to ‘test_override’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:705:5: call_function: calling ‘test_compose_seq_buffer’ from ‘test_override’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def184]
libxkbcommon-xkbcommon-1.13.1/test/compose.c:125:18: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:699:1: enter_function: entry to ‘test_override’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:705:5: call_function: calling ‘test_compose_seq_buffer’ from ‘test_override’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def185]
libxkbcommon-xkbcommon-1.13.1/test/compose.c:128:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:182:1: enter_function: entry to ‘test_invalid_encodings’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:188:5: call_function: calling ‘test_compose_seq_buffer’ from ‘test_invalid_encodings’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def186]
libxkbcommon-xkbcommon-1.13.1/test/compose.c:130:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:182:1: enter_function: entry to ‘test_invalid_encodings’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:188:5: call_function: calling ‘test_compose_seq_buffer’ from ‘test_invalid_encodings’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def187]
libxkbcommon-xkbcommon-1.13.1/test/compose.c:136:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:610:1: enter_function: entry to ‘test_modifier_syntax’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:617:5: call_function: calling ‘test_compose_seq_buffer’ from ‘test_modifier_syntax’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def188]
libxkbcommon-xkbcommon-1.13.1/test/compose.c:268:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:264:12: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:265:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:266:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:268:13: throw: if ‘xkb_compose_table_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:268:13: danger: ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def189]
libxkbcommon-xkbcommon-1.13.1/test/compose.c:268:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:264:12: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:265:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:266:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:268:13: throw: if ‘xkb_compose_table_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:268:13: danger: ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def190]
libxkbcommon-xkbcommon-1.13.1/test/compose.c:466:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:462:12: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:463:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:464:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:466:13: throw: if ‘xkb_compose_table_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:466:13: danger: ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def191]
libxkbcommon-xkbcommon-1.13.1/test/compose.c:466:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:462:12: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:463:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:464:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:466:13: throw: if ‘xkb_compose_table_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:466:13: danger: ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def192]
libxkbcommon-xkbcommon-1.13.1/test/compose.c:723:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:743:1: enter_function: entry to ‘test_eq_entry’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:747:5: acquire_resource: ‘va_start’ called here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:748:10: call_function: calling ‘test_eq_entry_va’ from ‘test_eq_entry’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def193]
libxkbcommon-xkbcommon-1.13.1/test/compose.c:725:24: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:743:1: enter_function: entry to ‘test_eq_entry’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:747:5: acquire_resource: ‘va_start’ called here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:748:10: call_function: calling ‘test_eq_entry_va’ from ‘test_eq_entry’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def194]
libxkbcommon-xkbcommon-1.13.1/test/compose.c:729:36: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:743:1: enter_function: entry to ‘test_eq_entry’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:747:5: acquire_resource: ‘va_start’ called here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:748:10: call_function: calling ‘test_eq_entry_va’ from ‘test_eq_entry’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def195]
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1066:10: warning[-Wanalyzer-malloc-leak]: leak of ‘output_file’
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1050:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1051:27: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1058:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1062:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1063:25: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1064:5: branch_false: following ‘false’ branch (when ‘output_file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1066:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1066:10: throw: if ‘xkb_compose_table_dump’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1066:10: danger: ‘output_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-416): [#def196]
libxkbcommon-xkbcommon-1.13.1/test/compose.c:1068: error[deallocuse]: Dereferencing 'input' after it is deallocated / released
Error: GCC_ANALYZER_WARNING (CWE-476): [#def197]
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:326:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:315:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:317:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:319:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:321:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:323:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:324:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:324:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:325:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:326:5: danger: dereference of NULL ‘XkbKey(test_compile_rules(test_get_context(0), 1, "evdev", "pc104", "numeric_keysyms", 0, 0), xkb_keymap_key_by_name(<unknown>, "AD01"))’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def198]
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:333:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:305:1: enter_function: entry to ‘test_numeric_keysyms’
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:315:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:317:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:319:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:321:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:323:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:324:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:324:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:325:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:325:11: call_function: calling ‘XkbKey’ from ‘test_numeric_keysyms’
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:325:11: return_function: returning to ‘test_numeric_keysyms’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:326:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:328:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:330:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:331:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:331:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:332:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:333:5: danger: dereference of NULL ‘XkbKey(test_compile_rules(test_get_context(0), 1, "evdev", "pc104", "numeric_keysyms", 0, 0), xkb_keymap_key_by_name(<unknown>, "AD02"))’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def199]
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:343:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:305:1: enter_function: entry to ‘test_numeric_keysyms’
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:315:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:317:14: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:319:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:321:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:323:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:324:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:324:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:325:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:325:11: call_function: calling ‘XkbKey’ from ‘test_numeric_keysyms’
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:325:11: return_function: returning to ‘test_numeric_keysyms’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:326:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:328:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:330:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:331:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:331:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:332:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:332:11: call_function: calling ‘XkbKey’ from ‘test_numeric_keysyms’
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:332:11: return_function: returning to ‘test_numeric_keysyms’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:333:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:335:10: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:337:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:338:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:338:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:340:21: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:341:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:342:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/keymap.c:343:5: danger: dereference of NULL ‘XkbKey(test_compile_rules(test_get_context(0), 1, "evdev", "pc104", "numeric_keysyms", 0, 0), xkb_keymap_key_by_name(<unknown>, "AD03"))’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def200]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:118:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:118:5: danger: dereference of NULL ‘XkbKey(test_compile_file(context, 1, "keymaps/modmap-none.xkb"), xkb_keymap_key_by_name(<unknown>, "LVL3"))’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def201]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:123:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:104:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:123:5: danger: dereference of NULL ‘XkbKey(test_compile_file(context, 1, "keymaps/modmap-none.xkb"), xkb_keymap_key_by_name(<unknown>, "LFSH"))’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def202]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:128:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:104:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:127:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:128:5: danger: dereference of NULL ‘XkbKey(test_compile_file(context, 1, "keymaps/modmap-none.xkb"), xkb_keymap_key_by_name(<unknown>, "RTSH"))’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def203]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:133:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:104:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:127:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:127:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:127:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:132:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:133:5: danger: dereference of NULL ‘XkbKey(test_compile_file(context, 1, "keymaps/modmap-none.xkb"), xkb_keymap_key_by_name(<unknown>, "LWIN"))’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def204]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:138:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:104:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:127:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:127:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:127:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:132:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:132:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:132:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:133:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:135:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:136:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:137:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:138:5: danger: dereference of NULL ‘XkbKey(test_compile_file(context, 1, "keymaps/modmap-none.xkb"), xkb_keymap_key_by_name(<unknown>, "RWIN"))’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def205]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:143:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:104:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:127:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:127:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:127:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:132:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:132:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:132:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:133:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:135:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:136:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:137:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:137:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:137:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:138:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:140:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:141:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:142:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:143:5: danger: dereference of NULL ‘XkbKey(test_compile_file(context, 1, "keymaps/modmap-none.xkb"), xkb_keymap_key_by_name(<unknown>, "LCTL"))’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def206]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:148:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:104:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:127:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:127:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:127:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:132:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:132:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:132:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:133:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:135:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:136:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:137:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:137:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:137:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:138:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:140:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:141:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:142:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:142:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:142:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:143:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:145:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:146:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:147:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:148:5: danger: dereference of NULL ‘XkbKey(test_compile_file(context, 1, "keymaps/modmap-none.xkb"), xkb_keymap_key_by_name(<unknown>, "RCTL"))’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def207]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:153:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:104:1: enter_function: entry to ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:113:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:115:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:116:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:117:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:118:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:120:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:121:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:122:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:123:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:125:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:126:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:127:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:127:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:127:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:128:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:130:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:131:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:132:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:132:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:132:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:133:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:135:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:136:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:137:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:137:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:137:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:138:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:140:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:141:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:142:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:142:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:142:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:143:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:145:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:146:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:147:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:147:11: call_function: calling ‘XkbKey’ from ‘test_modmap_none’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:147:11: return_function: returning to ‘test_modmap_none’ from ‘XkbKey’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:148:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:150:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:151:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:152:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:153:5: danger: dereference of NULL ‘XkbKey(test_compile_file(context, 1, "keymaps/modmap-none.xkb"), xkb_keymap_key_by_name(<unknown>, "LALT"))’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def208]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:158:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:798:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:803:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: call_function: calling ‘test_modmap_none’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def209]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:163:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:798:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:803:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: call_function: calling ‘test_modmap_none’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def210]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:168:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:798:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:803:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: call_function: calling ‘test_modmap_none’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def211]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:173:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:798:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:803:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: call_function: calling ‘test_modmap_none’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def212]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:178:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:798:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:803:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: call_function: calling ‘test_modmap_none’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def213]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:183:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:798:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:803:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: call_function: calling ‘test_modmap_none’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def214]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:188:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:798:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:803:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: call_function: calling ‘test_modmap_none’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def215]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:193:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:798:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:803:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: call_function: calling ‘test_modmap_none’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def216]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:198:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:798:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:803:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: call_function: calling ‘test_modmap_none’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def217]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:203:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:798:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:803:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: call_function: calling ‘test_modmap_none’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def218]
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:208:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:798:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:803:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/modifiers.c:805:5: call_function: calling ‘test_modmap_none’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def219]
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:25:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:63:1: enter_function: entry to ‘test_rmlvo’
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:70:5: acquire_resource: ‘va_start’ called here
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:71:11: call_function: calling ‘test_rmlvo_va’ from ‘test_rmlvo’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def220]
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:33:21: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:63:1: enter_function: entry to ‘test_rmlvo’
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:70:5: acquire_resource: ‘va_start’ called here
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:71:11: call_function: calling ‘test_rmlvo_va’ from ‘test_rmlvo’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def221]
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:47:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:63:1: enter_function: entry to ‘test_rmlvo’
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:71:11: call_function: calling ‘test_rmlvo_va’ from ‘test_rmlvo’
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:71:11: return_function: returning to ‘test_rmlvo’ from ‘test_rmlvo_va’
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:74:5: acquire_resource: ‘va_start’ called here
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:75:12: call_function: calling ‘test_rmlvo_builder_va’ from ‘test_rmlvo’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def222]
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:55:21: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:63:1: enter_function: entry to ‘test_rmlvo’
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:71:11: call_function: calling ‘test_rmlvo_va’ from ‘test_rmlvo’
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:71:11: return_function: returning to ‘test_rmlvo’ from ‘test_rmlvo_va’
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:74:5: acquire_resource: ‘va_start’ called here
libxkbcommon-xkbcommon-1.13.1/test/rulescomp.c:75:12: call_function: calling ‘test_rmlvo_builder_va’ from ‘test_rmlvo’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def223]
libxkbcommon-xkbcommon-1.13.1/test/test.h:152:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:18:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:28:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:30:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:31:12: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:32:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:39:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:39:5: call_function: calling ‘xkb_enable_quiet_logging’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def224]
libxkbcommon-xkbcommon-1.13.1/test/test.h:152:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:18:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:28:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:30:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:31:12: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:32:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:39:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:39:5: call_function: calling ‘xkb_enable_quiet_logging’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def225]
libxkbcommon-xkbcommon-1.13.1/test/test.h:153:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:18:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:28:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:30:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:31:12: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:32:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:39:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:39:5: call_function: calling ‘xkb_enable_quiet_logging’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def226]
libxkbcommon-xkbcommon-1.13.1/test/test.h:153:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(test_get_path("locale/en_US.UTF-8/Compose"), "rb")’
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:18:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:28:5: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:30:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:31:12: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:32:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:39:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/bench/compose.c:39:5: call_function: calling ‘xkb_enable_quiet_logging’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def227]
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:45:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:18:1: enter_function: entry to ‘strip_lines’
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:27:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:28:25: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:39:12: branch_false: following ‘false’ branch (when ‘i != 0’)...
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:39:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:45:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:45:9: call_function: inlined call to ‘darray_next_alloc’ from ‘strip_lines’
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:45:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:45:9: danger: argument 1 (‘buf.item + (sizetype)buf.size’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def228]
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:67:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buf.item’ where non-null expected
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:27:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:65:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:65:8: branch_true: following ‘true’ branch (when ‘start < end’)...
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:66:25: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:67:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:67:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:67:9: danger: argument 1 (‘buf.item + (sizetype)buf.size’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def229]
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:70:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:18:1: enter_function: entry to ‘strip_lines’
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:27:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:65:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:65:8: branch_false: following ‘false’ branch (when ‘start >= end’)...
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:70:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:70:5: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:70:5: call_function: inlined call to ‘darray_next_alloc’ from ‘strip_lines’
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:70:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:70:5: danger: dereference of NULL ‘buf.item + (sizetype)buf.size’
Error: COMPILER_WARNING (CWE-704): [#def230]
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c: scope_hint: In function ‘uncomment’
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:82:18: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def231]
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:82:18: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-688): [#def232]
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:86:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:75:1: enter_function: entry to ‘uncomment’
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:84:12: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:85:25: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:86:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:86:9: call_function: inlined call to ‘darray_next_alloc’ from ‘uncomment’
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:86:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:86:9: danger: argument 1 (‘buf.item + (sizetype)buf.size’) NULL where non-null expected
Error: COMPILER_WARNING (CWE-704): [#def233]
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:94:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def234]
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:94:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-688): [#def235]
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:103:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buf.item’ where non-null expected
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:84:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:101:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:101:8: branch_true: following ‘true’ branch (when ‘start < end’)...
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:102:25: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:103:9: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:103:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:103:9: danger: argument 1 (‘buf.item + (sizetype)buf.size’) NULL where non-null expected
Error: COMPILER_WARNING (CWE-704): [#def236]
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c: scope_hint: In function ‘split_lines’
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:122:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def237]
libxkbcommon-xkbcommon-1.13.1/test/utils-text.c:122:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-775): [#def238]
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:171:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdin_pipe[0]’
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:145:5: branch_false: following ‘false’ branch (when ‘keymap’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:148:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:165:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:170:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:170:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:171:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:171:9: throw: if ‘perror’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:171:9: danger: ‘stdin_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def239]
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:171:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdin_pipe[1]’
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:145:5: branch_false: following ‘false’ branch (when ‘keymap’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:148:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:165:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:170:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:170:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:171:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:171:9: throw: if ‘perror’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:171:9: danger: ‘stdin_pipe[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def240]
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:219:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdin_pipe[0]’
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:145:5: branch_false: following ‘false’ branch (when ‘keymap’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:148:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:165:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:170:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:170:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:178:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:178:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:179:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:219:5: throw: if ‘perror’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:219:5: danger: ‘stdin_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def241]
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:221:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdin_pipe[0]’
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:145:5: branch_false: following ‘false’ branch (when ‘keymap’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:148:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:165:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:170:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:170:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:171:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:221:5: throw: if ‘close’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:221:5: danger: ‘stdin_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def242]
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:221:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdin_pipe[1]’
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:145:5: branch_false: following ‘false’ branch (when ‘keymap’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:148:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:165:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:170:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:170:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:171:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:221:5: throw: if ‘close’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:221:5: danger: ‘stdin_pipe[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def243]
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:222:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdin_pipe[0]’
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:145:5: branch_false: following ‘false’ branch (when ‘keymap’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:148:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:165:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:170:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:222:5: throw: if ‘close’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:222:5: danger: ‘stdin_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def244]
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:278:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘file’
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:257:1: enter_function: entry to ‘test_keymap_roundtrip’
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:265:9: branch_false: following ‘false’ branch (when the strings are non-equal)...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:272:16: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:272:16: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:273:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:278:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:278:22: throw: if ‘read_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:278:22: danger: ‘file’ leaks here; was opened at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def245]
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:278:22: warning[-Wanalyzer-malloc-leak]: leak of ‘file’
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:257:1: enter_function: entry to ‘test_keymap_roundtrip’
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:265:9: branch_false: following ‘false’ branch (when the strings are non-equal)...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:272:16: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:272:16: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:273:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:278:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:278:22: throw: if ‘read_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/x11comp.c:278:22: danger: ‘file’ leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def246]
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:75:11: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:46:18: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:47:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:51:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:75:11: throw: if ‘posix_spawnp’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:75:11: danger: ‘tmpfile()’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def247]
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:77:9: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:46:18: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:47:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:51:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:152:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:153:9: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:157:13: throw: if ‘waitpid’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:77:9: danger: ‘tmpfile()’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def248]
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:93:12: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:46:18: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:47:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:51:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:76:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:90:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:93:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:94:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:94:9: throw: if ‘usleep’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:93:12: danger: ‘tmpfile()’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-758): [#def249]
libxkbcommon-xkbcommon-1.13.1/test/xvfb-wrapper.c:182: error[comparePointers]: Comparing pointers that point to different objects
Error: GCC_ANALYZER_WARNING (CWE-775): [#def250]
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:158:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘file’
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:45:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:105:8: branch_false: following ‘false’ branch (when ‘locale’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:111:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:125:15: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:125:15: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:131:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:136:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:142:8: branch_true: following ‘true’ branch (when ‘path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:144:13: call_function: inlined call to ‘isempty’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:144:30: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:144:13: branch_false: following ‘false’ branch (when the strings are non-equal)...
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:149:20: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:149:20: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:152:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:158:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:158:13: throw: if ‘xkb_compose_table_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:158:13: danger: ‘file’ leaks here; was opened at [(15)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def251]
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:158:13: warning[-Wanalyzer-malloc-leak]: leak of ‘file’
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:45:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:105:8: branch_false: following ‘false’ branch (when ‘locale’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:111:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:125:15: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:125:15: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:131:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:136:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:142:8: branch_true: following ‘true’ branch (when ‘path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:144:13: call_function: inlined call to ‘isempty’ from ‘main’
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:144:30: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:144:13: branch_false: following ‘false’ branch (when the strings are non-equal)...
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:149:20: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:149:20: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:152:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:158:13: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:158:13: throw: if ‘xkb_compose_table_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/tools/compile-compose.c:158:13: danger: ‘file’ leaks here; was allocated at [(15)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def252]
libxkbcommon-xkbcommon-1.13.1/tools/compile-keymap.c:499:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘file’
libxkbcommon-xkbcommon-1.13.1/tools/compile-keymap.c:487:12: branch_true: following ‘true’ branch (when ‘path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/compile-keymap.c:489:20: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/compile-keymap.c:489:20: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/tools/compile-keymap.c:494:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/compile-keymap.c:499:16: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/compile-keymap.c:499:16: throw: if ‘xkb_keymap_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/tools/compile-keymap.c:499:16: danger: ‘file’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def253]
libxkbcommon-xkbcommon-1.13.1/tools/compile-keymap.c:499:16: warning[-Wanalyzer-malloc-leak]: leak of ‘file’
libxkbcommon-xkbcommon-1.13.1/tools/compile-keymap.c:487:12: branch_true: following ‘true’ branch (when ‘path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/compile-keymap.c:489:20: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/compile-keymap.c:489:20: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/tools/compile-keymap.c:494:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/compile-keymap.c:499:16: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/compile-keymap.c:499:16: throw: if ‘xkb_keymap_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/tools/compile-keymap.c:499:16: danger: ‘file’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-457): [#def254]
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:62: warning[uninitvar]: Uninitialized variable: val
Error: GCC_ANALYZER_WARNING (CWE-775): [#def255]
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:335:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘file’
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:321:8: branch_true: following ‘true’ branch (when ‘keymap_source == 2’)...
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:323:12: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:323:12: branch_true: following ‘true’ branch (when ‘keymap_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:325:20: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:325:20: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:330:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:335:16: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:335:16: throw: if ‘xkb_keymap_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:335:16: danger: ‘file’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def256]
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:335:16: warning[-Wanalyzer-malloc-leak]: leak of ‘file’
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:321:8: branch_true: following ‘true’ branch (when ‘keymap_source == 2’)...
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:323:12: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:323:12: branch_true: following ‘true’ branch (when ‘keymap_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:325:20: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:325:20: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:330:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:335:16: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:335:16: throw: if ‘xkb_keymap_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/tools/how-to-type.c:335:16: danger: ‘file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def257]
libxkbcommon-xkbcommon-1.13.1/tools/interactive-evdev.c:324:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fds’
libxkbcommon-xkbcommon-1.13.1/tools/interactive-evdev.c:312:11: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-evdev.c:313:8: branch_false: following ‘false’ branch (when ‘fds’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-evdev.c:313:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-evdev.c:318:29: branch_false: following ‘false’ branch (when ‘kbd’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-evdev.c:318:29: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-evdev.c:323:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-evdev.c:324:15: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-evdev.c:324:15: throw: if ‘poll’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-evdev.c:324:15: danger: ‘fds’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def258]
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:108:14: warning[-Wanalyzer-malloc-leak]: leak of ‘name’
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:199:1: enter_function: entry to ‘os_create_anonymous_file’
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:208:8: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:213:24: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:214:12: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:215:8: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:218:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:221:10: call_function: calling ‘create_tmpfile_cloexec’ from ‘os_create_anonymous_file’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def259]
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:677:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘seat’
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:675:37: acquire_memory: this call could return NULL
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:677:5: danger: ‘seat’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def260]
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1057:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘file’
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:848:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:995:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:995:39: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:997:12: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:999:28: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1000:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1014:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1017:9: branch_false: following ‘false’ branch (when the strings are non-equal)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1021:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1025:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1031:17: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1032:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1038:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1038:8: branch_false: following ‘false’ branch (when ‘verbose == 0’)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1042:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1042:8: branch_true: following ‘true’ branch (when ‘with_keymap_file != 0’)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1044:12: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1044:12: branch_true: following ‘true’ branch (when ‘keymap_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1046:20: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1046:20: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1051:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1057:25: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1057:25: throw: if ‘xkb_keymap_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1057:25: danger: ‘file’ leaks here; was opened at [(26)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/25)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def261]
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1057:25: warning[-Wanalyzer-malloc-leak]: leak of ‘file’
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:848:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:995:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:995:39: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:997:12: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:999:28: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1000:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1014:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1017:9: branch_false: following ‘false’ branch (when the strings are non-equal)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1021:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1025:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1031:17: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1032:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1038:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1038:8: branch_false: following ‘false’ branch (when ‘verbose == 0’)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1042:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1042:8: branch_true: following ‘true’ branch (when ‘with_keymap_file != 0’)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1044:12: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1044:12: branch_true: following ‘true’ branch (when ‘keymap_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1046:20: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1046:20: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1051:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1057:25: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1057:25: throw: if ‘xkb_keymap_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-wayland.c:1057:25: danger: ‘file’ leaks here; was allocated at [(26)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/25)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def262]
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:649:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘file’
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:455:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:579:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:579:39: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:581:12: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:583:28: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:584:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:598:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:601:9: branch_false: following ‘false’ branch (when the strings are non-equal)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:605:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:606:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:618:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:623:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:624:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:630:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:634:8: branch_true: following ‘true’ branch (when ‘with_keymap_file != 0’)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:636:12: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:636:12: branch_true: following ‘true’ branch (when ‘keymap_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:638:20: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:638:20: acquire_resource: opened here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:643:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:649:25: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:649:25: throw: if ‘xkb_keymap_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:649:25: danger: ‘file’ leaks here; was opened at [(26)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/25)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def263]
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:649:25: warning[-Wanalyzer-malloc-leak]: leak of ‘file’
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:455:1: enter_function: entry to ‘main’
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:579:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:579:39: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:581:12: branch_false: following ‘false’ branch (when ‘keymap_path’ is NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:583:28: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:584:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:598:9: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:601:9: branch_false: following ‘false’ branch (when the strings are non-equal)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:605:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:606:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:618:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:623:11: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:624:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:630:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:634:8: branch_true: following ‘true’ branch (when ‘with_keymap_file != 0’)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:636:12: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:636:12: branch_true: following ‘true’ branch (when ‘keymap_path’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:638:20: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:638:20: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:643:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:649:25: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:649:25: throw: if ‘xkb_keymap_new_from_file’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/tools/interactive-x11.c:649:25: danger: ‘file’ leaks here; was allocated at [(26)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/25)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def264]
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:290:5: warning[-Wanalyzer-null-argument]: use of NULL ‘parent2_node.item’ where non-null expected
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:329:1: enter_function: entry to ‘print_dot_included_sections’
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:340:21: release_memory: ‘parent2_node.item’ is NULL
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:341:21: release_memory: ‘parent2_node.item’ is NULL
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:343:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:344:17: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:345:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:345:22: call_function: calling ‘print_dot_node’ from ‘print_dot_included_sections’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def265]
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:295:9: warning[-Wanalyzer-malloc-leak]: leak of ‘parent2_node.item’
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:329:1: enter_function: entry to ‘print_dot_included_sections’
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:343:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:344:17: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:345:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:345:22: call_function: calling ‘print_dot_node’ from ‘print_dot_included_sections’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def266]
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:296:9: warning[-Wanalyzer-malloc-leak]: leak of ‘parent2_node.item’
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:329:1: enter_function: entry to ‘print_dot_included_sections’
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:343:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:344:17: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:345:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:345:22: call_function: calling ‘print_dot_node’ from ‘print_dot_included_sections’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def267]
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:300:9: warning[-Wanalyzer-malloc-leak]: leak of ‘parent2_node.item’
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:329:1: enter_function: entry to ‘print_dot_included_sections’
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:343:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:344:17: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:345:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:345:22: call_function: calling ‘print_dot_node’ from ‘print_dot_included_sections’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def268]
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:305:5: warning[-Wanalyzer-null-argument]: use of NULL ‘parent2_label.item’ where non-null expected
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:329:1: enter_function: entry to ‘print_dot_included_sections’
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:343:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:344:17: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:345:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:345:22: call_function: calling ‘print_dot_node’ from ‘print_dot_included_sections’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def269]
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:306:5: warning[-Wanalyzer-malloc-leak]: leak of ‘parent2_label.item’
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:329:1: enter_function: entry to ‘print_dot_included_sections’
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:343:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:344:17: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:345:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:345:22: call_function: calling ‘print_dot_node’ from ‘print_dot_included_sections’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def270]
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:312:5: warning[-Wanalyzer-malloc-leak]: leak of ‘parent2_label.item’
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:329:1: enter_function: entry to ‘print_dot_included_sections’
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:343:9: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:344:17: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:345:22: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:345:22: call_function: calling ‘print_dot_node’ from ‘print_dot_included_sections’
Error: COMPILER_WARNING (CWE-252): [#def271]
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c: scope_hint: In function ‘print_dot’
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:385:9: warning[-Wunused-result]: ignoring return value of ‘realpath’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def272]
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:408:17: warning[-Wanalyzer-null-argument]: use of NULL ‘parent_node.item’ where non-null expected
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:812:1: enter_function: entry to ‘print_sections’
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:879:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:886:39: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:892:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:898:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:909:14: call_function: calling ‘print_dot’ from ‘print_sections’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def273]
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:422:13: warning[-Wanalyzer-null-argument]: use of NULL ‘<unknown>’ where non-null expected
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:812:1: enter_function: entry to ‘print_sections’
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:879:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:886:39: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:892:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:898:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:909:14: call_function: calling ‘print_dot’ from ‘print_sections’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def274]
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:427:9: warning[-Wanalyzer-null-argument]: use of NULL ‘parent_label.item’ where non-null expected
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:812:1: enter_function: entry to ‘print_sections’
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:879:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:886:39: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:892:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:898:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:909:14: call_function: calling ‘print_dot’ from ‘print_sections’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def275]
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:448:13: warning[-Wanalyzer-double-free]: double-‘free’ of ‘<unknown>’
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:812:1: enter_function: entry to ‘print_sections’
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:879:8: branch_true: following ‘true’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:886:39: branch_true: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:892:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:898:5: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/introspection.c:909:14: call_function: calling ‘print_dot’ from ‘print_sections’
Error: CPPCHECK_WARNING (CWE-758): [#def276]
libxkbcommon-xkbcommon-1.13.1/tools/tools-common.c:486: warning[objectIndex]: The address of variable 'sym' might be accessed at non-zero index.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def277]
libxkbcommon-xkbcommon-1.13.1/tools/tools-common.c:749:28: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
libxkbcommon-xkbcommon-1.13.1/tools/tools-common.c:741:18: acquire_memory: allocated here
libxkbcommon-xkbcommon-1.13.1/tools/tools-common.c:742:8: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/tools-common.c:742:8: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/tools-common.c:750:12: branch_false: following ‘false’ branch...
libxkbcommon-xkbcommon-1.13.1/tools/tools-common.c:754:12: branch_false: ...to here
libxkbcommon-xkbcommon-1.13.1/tools/tools-common.c:764:5: throw: if ‘fseek’ throws an exception...
libxkbcommon-xkbcommon-1.13.1/tools/tools-common.c:749:28: danger: ‘tmpfile()’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-14.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | libxkbcommon-1.13.1-1.fc44 |
| store-results-to | /tmp/tmppoyznkvx/libxkbcommon-1.13.1-1.fc44.tar.xz |
| time-created | 2026-01-08 19:23:16 |
| time-finished | 2026-01-08 19:26:00 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmppoyznkvx/libxkbcommon-1.13.1-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmppoyznkvx/libxkbcommon-1.13.1-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |