wayland-utils-1.3.0-2.fc44
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
wayland-utils-1.3.0/redhat-linux-build/wayland-info/drm-lease-v1-client-protocol.h:462:16: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 48)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2309:1: enter_function: entry to ‘drm_lease_device_connector’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2314:44: call_function: inlined call to ‘zalloc’ from ‘drm_lease_device_connector’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2314:44: call_function: inlined call to ‘fail_on_null’ from ‘drm_lease_device_connector’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2316:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:2318:9: call_function: inlined call to ‘wp_drm_lease_connector_v1_add_listener’ from ‘drm_lease_device_connector’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
wayland-utils-1.3.0/wayland-info/wayland-info.c:392:12: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 24)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1553:1: enter_function: entry to ‘handle_tablet_v2_tablet_path’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1557:44: call_function: inlined call to ‘zalloc’ from ‘handle_tablet_v2_tablet_path’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1557:44: call_function: inlined call to ‘fail_on_null’ from ‘handle_tablet_v2_tablet_path’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1558:27: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1558:27: call_function: inlined call to ‘fail_on_null’ from ‘handle_tablet_v2_tablet_path’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
wayland-utils-1.3.0/wayland-info/wayland-info.c:435:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3109:1: enter_function: entry to ‘add_global_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3112:38: call_function: inlined call to ‘fail_on_null’ from ‘add_global_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3114:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:3114:9: call_function: calling ‘init_global_info’ from ‘add_global_info’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
wayland-utils-1.3.0/wayland-info/wayland-info.c:435:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 48)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3109:1: enter_function: entry to ‘add_global_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3112:38: call_function: inlined call to ‘zalloc’ from ‘add_global_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3112:38: call_function: inlined call to ‘fail_on_null’ from ‘add_global_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3114:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:3114:9: call_function: calling ‘init_global_info’ from ‘add_global_info’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1360:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 56)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1352:13: enter_function: entry to ‘add_tablet_v2_tablet_tool_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1357:46: call_function: inlined call to ‘zalloc’ from ‘add_tablet_v2_tablet_tool_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1357:46: call_function: inlined call to ‘fail_on_null’ from ‘add_tablet_v2_tablet_tool_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1359:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1360:9: throw: if ‘wl_list_insert’ throws an exception...
wayland-utils-1.3.0/wayland-info/wayland-info.c:1360:9: danger: ‘calloc(1, 56)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-131): [#def6]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1399:9: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
wayland-utils-1.3.0/wayland-info/wayland-info.c:1392:1: enter_function: entry to ‘handle_tablet_v2_tablet_pad_group_buttons’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1399:25: call_function: inlined call to ‘zalloc’ from ‘handle_tablet_v2_tablet_pad_group_buttons’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1399:25: call_function: inlined call to ‘fail_on_null’ from ‘handle_tablet_v2_tablet_pad_group_buttons’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1399:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1399:9: danger: assigned to ‘int *’ here; ‘sizeof (int)’ is ‘4’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def7]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1454:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 72)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1447:1: enter_function: entry to ‘handle_tablet_v2_tablet_pad_group’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1452:47: call_function: inlined call to ‘zalloc’ from ‘handle_tablet_v2_tablet_pad_group’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1452:47: call_function: inlined call to ‘fail_on_null’ from ‘handle_tablet_v2_tablet_pad_group’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1454:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1454:9: throw: if ‘wl_list_insert’ throws an exception...
wayland-utils-1.3.0/wayland-info/wayland-info.c:1454:9: danger: ‘calloc(1, 72)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1468:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1461:1: enter_function: entry to ‘handle_tablet_v2_tablet_pad_path’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1465:44: call_function: inlined call to ‘fail_on_null’ from ‘handle_tablet_v2_tablet_pad_path’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1466:27: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1466:27: acquire_memory: allocated here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1466:27: call_function: inlined call to ‘fail_on_null’ from ‘handle_tablet_v2_tablet_pad_path’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1466:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1468:9: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1468:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 24)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1461:1: enter_function: entry to ‘handle_tablet_v2_tablet_pad_path’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1465:44: call_function: inlined call to ‘zalloc’ from ‘handle_tablet_v2_tablet_pad_path’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1465:44: call_function: inlined call to ‘fail_on_null’ from ‘handle_tablet_v2_tablet_pad_path’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1466:27: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1466:27: call_function: inlined call to ‘fail_on_null’ from ‘handle_tablet_v2_tablet_pad_path’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1466:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1468:9: danger: ‘calloc(1, 24)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1536:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 64)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1529:13: enter_function: entry to ‘add_tablet_v2_tablet_pad_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1534:44: call_function: inlined call to ‘zalloc’ from ‘add_tablet_v2_tablet_pad_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1534:44: call_function: inlined call to ‘fail_on_null’ from ‘add_tablet_v2_tablet_pad_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1536:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1536:9: throw: if ‘wl_list_init’ throws an exception...
wayland-utils-1.3.0/wayland-info/wayland-info.c:1536:9: danger: ‘calloc(1, 64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1560:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1553:1: enter_function: entry to ‘handle_tablet_v2_tablet_path’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1557:44: call_function: inlined call to ‘fail_on_null’ from ‘handle_tablet_v2_tablet_path’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1558:27: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1558:27: acquire_memory: allocated here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1558:27: call_function: inlined call to ‘fail_on_null’ from ‘handle_tablet_v2_tablet_path’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1558:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1560:9: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1560:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 24)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1553:1: enter_function: entry to ‘handle_tablet_v2_tablet_path’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1557:44: call_function: inlined call to ‘zalloc’ from ‘handle_tablet_v2_tablet_path’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1557:44: call_function: inlined call to ‘fail_on_null’ from ‘handle_tablet_v2_tablet_path’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1558:27: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1558:27: call_function: inlined call to ‘fail_on_null’ from ‘handle_tablet_v2_tablet_path’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1558:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1560:9: danger: ‘calloc(1, 24)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1613:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 64)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1607:1: enter_function: entry to ‘add_tablet_v2_tablet_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1611:43: call_function: inlined call to ‘zalloc’ from ‘add_tablet_v2_tablet_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1611:43: call_function: inlined call to ‘fail_on_null’ from ‘add_tablet_v2_tablet_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1613:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1613:9: throw: if ‘wl_list_init’ throws an exception...
wayland-utils-1.3.0/wayland-info/wayland-info.c:1613:9: danger: ‘calloc(1, 64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1631:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 80)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1627:1: enter_function: entry to ‘add_tablet_seat_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1629:48: call_function: inlined call to ‘zalloc’ from ‘add_tablet_seat_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1629:48: call_function: inlined call to ‘fail_on_null’ from ‘add_tablet_seat_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1631:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1631:9: throw: if ‘wl_list_insert’ throws an exception...
wayland-utils-1.3.0/wayland-info/wayland-info.c:1631:9: danger: ‘calloc(1, 80)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1651:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 80)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1646:1: enter_function: entry to ‘add_tablet_v2_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1649:41: call_function: inlined call to ‘zalloc’ from ‘add_tablet_v2_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1649:41: call_function: inlined call to ‘fail_on_null’ from ‘add_tablet_v2_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1651:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1651:9: throw: if ‘wl_list_init’ throws an exception...
wayland-utils-1.3.0/wayland-info/wayland-info.c:1651:9: danger: ‘calloc(1, 80)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1774:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 64)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1769:1: enter_function: entry to ‘add_xdg_output_v1_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1772:49: call_function: inlined call to ‘zalloc’ from ‘add_xdg_output_v1_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1772:49: call_function: inlined call to ‘fail_on_null’ from ‘add_xdg_output_v1_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1774:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1774:9: throw: if ‘wl_list_insert’ throws an exception...
wayland-utils-1.3.0/wayland-info/wayland-info.c:1774:9: danger: ‘calloc(1, 64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1792:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 80)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1786:1: enter_function: entry to ‘add_xdg_output_manager_v1_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1790:54: call_function: inlined call to ‘zalloc’ from ‘add_xdg_output_manager_v1_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1790:54: call_function: inlined call to ‘fail_on_null’ from ‘add_xdg_output_manager_v1_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1792:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1792:9: throw: if ‘wl_list_init’ throws an exception...
wayland-utils-1.3.0/wayland-info/wayland-info.c:1792:9: danger: ‘calloc(1, 80)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1818:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 112)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1810:1: enter_function: entry to ‘add_seat_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1812:34: call_function: inlined call to ‘zalloc’ from ‘add_seat_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1812:34: call_function: inlined call to ‘fail_on_null’ from ‘add_seat_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1816:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1818:9: call_function: calling ‘init_global_info’ from ‘add_seat_info’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1842:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 24)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1837:1: enter_function: entry to ‘shm_handle_format’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1840:41: call_function: inlined call to ‘zalloc’ from ‘shm_handle_format’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1840:41: call_function: inlined call to ‘fail_on_null’ from ‘shm_handle_format’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1842:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1842:9: throw: if ‘wl_list_insert’ throws an exception...
wayland-utils-1.3.0/wayland-info/wayland-info.c:1842:9: danger: ‘calloc(1, 24)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1869:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 72)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1865:1: enter_function: entry to ‘add_shm_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1867:32: call_function: inlined call to ‘zalloc’ from ‘add_shm_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1867:32: call_function: inlined call to ‘fail_on_null’ from ‘add_shm_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1869:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1869:9: call_function: calling ‘init_global_info’ from ‘add_shm_info’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1892:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 32)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1883:1: enter_function: entry to ‘linux_dmabuf_handle_format’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1888:12: branch_false: following ‘false’ branch...
wayland-utils-1.3.0/wayland-info/wayland-info.c:1891:33: call_function: inlined call to ‘zalloc’ from ‘linux_dmabuf_handle_format’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1891:33: call_function: inlined call to ‘fail_on_null’ from ‘linux_dmabuf_handle_format’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1892:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1892:9: throw: if ‘wl_list_insert’ throws an exception...
wayland-utils-1.3.0/wayland-info/wayland-info.c:1892:9: danger: ‘calloc(1, 32)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1902:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 32)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1897:1: enter_function: entry to ‘linux_dmabuf_handle_modifier’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1900:63: call_function: inlined call to ‘zalloc’ from ‘linux_dmabuf_handle_modifier’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1900:63: call_function: inlined call to ‘fail_on_null’ from ‘linux_dmabuf_handle_modifier’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1902:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1902:9: throw: if ‘wl_list_insert’ throws an exception...
wayland-utils-1.3.0/wayland-info/wayland-info.c:1902:9: danger: ‘calloc(1, 32)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
wayland-utils-1.3.0/wayland-info/wayland-info.c:1968:25: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 56)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1963:1: enter_function: entry to ‘linux_dmabuf_feedback_handle_tranche_done’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1966:48: call_function: inlined call to ‘zalloc’ from ‘linux_dmabuf_feedback_handle_tranche_done’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1966:48: call_function: inlined call to ‘fail_on_null’ from ‘linux_dmabuf_feedback_handle_tranche_done’
wayland-utils-1.3.0/wayland-info/wayland-info.c:1968:25: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:1968:25: danger: ‘calloc(1, 56)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
wayland-utils-1.3.0/wayland-info/wayland-info.c:2014:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 176)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2010:1: enter_function: entry to ‘add_linux_dmabuf_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2012:44: call_function: inlined call to ‘zalloc’ from ‘add_linux_dmabuf_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2012:44: call_function: inlined call to ‘fail_on_null’ from ‘add_linux_dmabuf_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2014:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:2014:9: call_function: calling ‘init_global_info’ from ‘add_linux_dmabuf_info’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
wayland-utils-1.3.0/wayland-info/wayland-info.c:2073:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(32)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2061:1: enter_function: entry to ‘output_handle_mode’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2066:36: acquire_memory: allocated here
wayland-utils-1.3.0/wayland-info/wayland-info.c:2066:36: call_function: inlined call to ‘fail_on_null’ from ‘output_handle_mode’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2068:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:2073:9: danger: ‘malloc(32)’ leaks here; was allocated at [(2)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
wayland-utils-1.3.0/wayland-info/wayland-info.c:2146:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 160)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2142:1: enter_function: entry to ‘add_output_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2144:38: call_function: inlined call to ‘zalloc’ from ‘add_output_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2144:38: call_function: inlined call to ‘fail_on_null’ from ‘add_output_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2146:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:2146:9: call_function: calling ‘init_global_info’ from ‘add_output_info’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
wayland-utils-1.3.0/wayland-info/wayland-info.c:2236:26: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 64)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2231:1: enter_function: entry to ‘add_presentation_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2233:44: call_function: inlined call to ‘zalloc’ from ‘add_presentation_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2233:44: call_function: inlined call to ‘fail_on_null’ from ‘add_presentation_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2236:26: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:2235:9: call_function: calling ‘init_global_info’ from ‘add_presentation_info’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
wayland-utils-1.3.0/wayland-info/wayland-info.c:2388:17: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 96)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2382:1: enter_function: entry to ‘add_drm_lease_device_v1_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2385:45: call_function: inlined call to ‘zalloc’ from ‘add_drm_lease_device_v1_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2385:45: call_function: inlined call to ‘fail_on_null’ from ‘add_drm_lease_device_v1_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2388:17: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:2387:9: call_function: calling ‘init_global_info’ from ‘add_drm_lease_device_v1_info’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
wayland-utils-1.3.0/wayland-info/wayland-info.c:2741:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 200)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2735:1: enter_function: entry to ‘add_color_management_output_v1_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2739:17: call_function: inlined call to ‘zalloc’ from ‘add_color_management_output_v1_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2739:17: call_function: inlined call to ‘fail_on_null’ from ‘add_color_management_output_v1_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2741:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:2741:9: throw: if ‘wl_list_insert’ throws an exception...
wayland-utils-1.3.0/wayland-info/wayland-info.c:2741:9: danger: ‘calloc(1, 200)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
wayland-utils-1.3.0/wayland-info/wayland-info.c:2916:17: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 176)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2910:1: enter_function: entry to ‘add_color_management_v1_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2913:53: call_function: inlined call to ‘zalloc’ from ‘add_color_management_v1_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2913:53: call_function: inlined call to ‘fail_on_null’ from ‘add_color_management_v1_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:2916:17: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:2915:9: call_function: calling ‘init_global_info’ from ‘add_color_management_v1_info’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
wayland-utils-1.3.0/wayland-info/wayland-info.c:3084:17: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 136)’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3077:1: enter_function: entry to ‘add_color_representation_management_v1_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3081:17: call_function: inlined call to ‘zalloc’ from ‘add_color_representation_management_v1_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3081:17: call_function: inlined call to ‘fail_on_null’ from ‘add_color_representation_management_v1_info’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3084:17: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:3083:9: call_function: calling ‘init_global_info’ from ‘add_color_representation_management_v1_info’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
wayland-utils-1.3.0/wayland-info/wayland-info.c:3223:25: warning[-Wanalyzer-malloc-leak]: leak of ‘*info.interface’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3215:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
wayland-utils-1.3.0/wayland-info/wayland-info.c:3216:33: branch_true: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:3216:20: branch_false: following ‘false’ branch...
wayland-utils-1.3.0/wayland-info/wayland-info.c:3219:28: branch_false: following ‘false’ branch...
wayland-utils-1.3.0/wayland-info/wayland-info.c:3223:55: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:3223:43: acquire_memory: allocated here
wayland-utils-1.3.0/wayland-info/wayland-info.c:3215:21: branch_true: following ‘true’ branch (when ‘i < argc’)...
wayland-utils-1.3.0/wayland-info/wayland-info.c:3216:33: branch_true: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:3216:20: branch_false: following ‘false’ branch...
wayland-utils-1.3.0/wayland-info/wayland-info.c:3219:28: branch_false: following ‘false’ branch...
wayland-utils-1.3.0/wayland-info/wayland-info.c:3223:55: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:3223:25: danger: ‘*info.interface’ leaks here; was allocated at [(7)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
wayland-utils-1.3.0/wayland-info/wayland-info.c:3223:25: warning[-Wanalyzer-malloc-leak]: leak of ‘info.interface’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3232:1: enter_function: entry to ‘main’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3236:9: call_function: calling ‘parse_cmdline’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
wayland-utils-1.3.0/wayland-info/wayland-info.c:3238:24: warning[-Wanalyzer-malloc-leak]: leak of ‘info.interface’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3232:1: enter_function: entry to ‘main’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3236:9: call_function: calling ‘parse_cmdline’ from ‘main’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3236:9: return_function: returning to ‘main’ from ‘parse_cmdline’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3238:24: throw: if ‘wl_display_connect’ throws an exception...
wayland-utils-1.3.0/wayland-info/wayland-info.c:3238:24: danger: ‘info.interface’ leaks here; was allocated at [(10)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
wayland-utils-1.3.0/wayland-info/wayland-info.c:3249:9: warning[-Wanalyzer-malloc-leak]: leak of ‘info.interface’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3232:1: enter_function: entry to ‘main’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3236:9: call_function: calling ‘parse_cmdline’ from ‘main’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3236:9: return_function: returning to ‘main’ from ‘parse_cmdline’
wayland-utils-1.3.0/wayland-info/wayland-info.c:3239:12: branch_false: following ‘false’ branch...
wayland-utils-1.3.0/wayland-info/wayland-info.c:3245:9: branch_false: ...to here
wayland-utils-1.3.0/wayland-info/wayland-info.c:3249:9: throw: if ‘wl_list_init’ throws an exception...
wayland-utils-1.3.0/wayland-info/wayland-info.c:3249:9: danger: ‘info.interface’ leaks here; was allocated at [(10)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/9)
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-29.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 | wayland-utils-1.3.0-2.fc44 |
| store-results-to | /tmp/tmp914zed06/wayland-utils-1.3.0-2.fc44.tar.xz |
| time-created | 2026-01-08 22:05:54 |
| time-finished | 2026-01-08 22:07:08 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp914zed06/wayland-utils-1.3.0-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp914zed06/wayland-utils-1.3.0-2.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |