Error: GCC_ANALYZER_WARNING (CWE-476): [#def1] xwayland-26.0.99.904/glamor/glamor.c:1032:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘offsets’ xwayland-26.0.99.904/glamor/glamor.c:1067:1: enter_function: entry to ‘glamor_fd_from_pixmap’ xwayland-26.0.99.904/glamor/glamor.c:1074:11: call_function: calling ‘_glamor_fds_from_pixmap’ from ‘glamor_fd_from_pixmap’ # 1030| if (!glamor_priv->dri3_enabled) # 1031| return 0; # 1032|-> switch (pixmap_priv->type) { # 1033| case GLAMOR_TEXTURE_DRM: # 1034| case GLAMOR_TEXTURE_ONLY: Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] xwayland-26.0.99.904/glamor/glamor_priv.h:471:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prog’ xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:373:1: enter_function: entry to ‘glamor_composite_glyphs’ xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:403:12: branch_true: following ‘true’ branch (when ‘nlist != 0’)... xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:404:14: branch_true: ...to here xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:413:16: branch_true: following ‘true’ branch... xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:423:24: branch_false: following ‘false’ branch (when ‘glyphs_queued == 0’)... xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:427:17: branch_false: ...to here xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:413:16: branch_true: following ‘true’ branch... xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:419:21: call_function: calling ‘glamor_pixmap_is_memory’ from ‘glamor_composite_glyphs’ # 469| glamor_pixmap_private *priv = glamor_get_pixmap_private(pixmap); # 470| # 471|-> return priv->type == GLAMOR_MEMORY; # 472| } # 473| Error: GCC_ANALYZER_WARNING (CWE-476): [#def3] xwayland-26.0.99.904/glamor/glamor_priv.h:504:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prog’ xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:373:1: enter_function: entry to ‘glamor_composite_glyphs’ xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:403:12: branch_true: following ‘true’ branch (when ‘nlist != 0’)... xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:404:14: branch_true: ...to here xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:413:16: branch_true: following ‘true’ branch... xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:419:21: call_function: calling ‘glamor_pixmap_is_memory’ from ‘glamor_composite_glyphs’ xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:419:21: return_function: returning to ‘glamor_composite_glyphs’ from ‘glamor_pixmap_is_memory’ xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:434:63: call_function: inlined call to ‘glamor_get_glyph_private’ from ‘glamor_composite_glyphs’ xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:434:63: call_function: inlined call to ‘glamor_get_glyph_private’ from ‘glamor_composite_glyphs’ xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:439:24: branch_true: following ‘true’ branch... xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:440:28: branch_true: ...to here xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:440:28: branch_false: following ‘false’ branch (when ‘glyphs_queued == 0’)... xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:449:25: branch_false: ...to here xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:449:24: branch_true: following ‘true’ branch... xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:450:30: branch_true: ...to here xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:460:28: branch_true: following ‘true’ branch... xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:461:29: branch_true: ...to here xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:461:29: call_function: calling ‘glamor_glyph_atlas_init’ from ‘glamor_composite_glyphs’ xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:461:29: return_function: returning to ‘glamor_composite_glyphs’ from ‘glamor_glyph_atlas_init’ xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:462:32: branch_true: following ‘true’ branch... xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:463:33: branch_true: ...to here xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:408:16: branch_true: following ‘true’ branch (when ‘n != 0’)... xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:409:31: branch_true: ...to here xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:413:16: branch_true: following ‘true’ branch... xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:419:20: branch_false: following ‘false’ branch... xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:419:21: call_function: calling ‘glamor_pixmap_is_memory’ from ‘glamor_composite_glyphs’ xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:419:21: return_function: returning to ‘glamor_composite_glyphs’ from ‘glamor_pixmap_is_memory’ xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:419:20: branch_false: following ‘false’ branch... xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:434:63: call_function: inlined call to ‘glamor_get_glyph_private’ from ‘glamor_composite_glyphs’ xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:434:63: call_function: inlined call to ‘glamor_get_glyph_private’ from ‘glamor_composite_glyphs’ xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:449:24: branch_true: following ‘true’ branch... xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:450:30: branch_true: ...to here xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:460:28: branch_true: following ‘true’ branch... xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:461:29: branch_true: ...to here xwayland-26.0.99.904/glamor/glamor_composite_glyphs.c:461:29: call_function: calling ‘glamor_glyph_atlas_init’ from ‘glamor_composite_glyphs’ # 502| glamor_pixmap_private *priv = glamor_get_pixmap_private(pixmap); # 503| # 504|-> return priv->gl_fbo == GLAMOR_FBO_NORMAL; # 505| } # 506| Error: GCC_ANALYZER_WARNING (CWE-416): [#def4] xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1269:5: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘*xwl_selection.clipboard.send_queue.next’ xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1639:1: enter_function: entry to ‘property_callback’ xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1646:8: branch_false: following ‘false’ branch... xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1651:9: branch_false: ...to here xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1651:8: branch_false: following ‘false’ branch... xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1654:9: branch_false: ...to here xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1654:8: branch_false: following ‘false’ branch... xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1657:5: branch_false: ...to here xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1676:8: branch_true: following ‘true’ branch... xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1677:9: branch_true: ...to here xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1676:9: branch_true: following ‘true’ branch... xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1678:9: branch_true: ...to here xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1678:9: call_function: calling ‘handle_send_data_reply’ from ‘property_callback’ # 1267| __FUNCTION__, ATOM_NAME_HELPER(selection), ATOM_NAME_HELPER(req->target), attrs->x11_serial); # 1268| # 1269|-> x11_deliver_selection_req(selection, req->target, # 1270| xwl_selection->bridge_window->drawable.id, # 1271| property, attrs->x11_owner_time); Error: GCC_ANALYZER_WARNING (CWE-416): [#def5] xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1269:5: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘*xwl_selection.primary.send_queue.next’ xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1639:1: enter_function: entry to ‘property_callback’ xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1646:8: branch_false: following ‘false’ branch... xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1651:9: branch_false: ...to here xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1651:8: branch_false: following ‘false’ branch... xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1654:9: branch_false: ...to here xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1654:8: branch_false: following ‘false’ branch... xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1657:5: branch_false: ...to here xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1684:8: branch_true: following ‘true’ branch... xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1685:9: branch_true: ...to here xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1684:9: branch_true: following ‘true’ branch... xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1686:9: branch_true: ...to here xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1686:9: call_function: calling ‘handle_send_data_reply’ from ‘property_callback’ # 1267| __FUNCTION__, ATOM_NAME_HELPER(selection), ATOM_NAME_HELPER(req->target), attrs->x11_serial); # 1268| # 1269|-> x11_deliver_selection_req(selection, req->target, # 1270| xwl_selection->bridge_window->drawable.id, # 1271| property, attrs->x11_owner_time); Error: GCC_ANALYZER_WARNING (CWE-416): [#def6] xwayland-26.0.99.904/include/inputstr.h:698:12: warning[-Wanalyzer-use-after-free]: use after ‘reallocarray’ of ‘*pSprite.spriteTrace’ xwayland-26.0.99.904/mi/miwindow.c:810:1: enter_function: entry to ‘miXYToWindow’ xwayland-26.0.99.904/mi/miwindow.c:813:12: call_function: calling ‘miSpriteTrace’ from ‘miXYToWindow’ # 696| { # 697| assert(sprite->spriteTraceGood > 0); # 698|-> return sprite->spriteTrace[sprite->spriteTraceGood - 1]; # 699| } # 700| Error: GCC_ANALYZER_WARNING (CWE-416): [#def7] xwayland-26.0.99.904/include/list.h:204:5: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘req’ xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1639:1: enter_function: entry to ‘property_callback’ xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1646:8: branch_false: following ‘false’ branch... xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1651:9: branch_false: ...to here xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1651:8: branch_false: following ‘false’ branch... xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1654:9: branch_false: ...to here xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1654:8: branch_false: following ‘false’ branch... xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1657:5: branch_false: ...to here xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1676:8: branch_true: following ‘true’ branch... xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1677:9: branch_true: ...to here xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1676:9: branch_true: following ‘true’ branch... xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1678:9: branch_true: ...to here xwayland-26.0.99.904/hw/xwayland/xwayland-selection.c:1678:9: call_function: calling ‘handle_send_data_reply’ from ‘property_callback’ # 202| xorg_list_del(struct xorg_list *entry) # 203| { # 204|-> __xorg_list_del(entry->prev, entry->next); # 205| xorg_list_init(entry); # 206| } Error: GCC_ANALYZER_WARNING (CWE-762): [#def8] xwayland-26.0.99.904/os/utils.c:1935:17: warning[-Wanalyzer-mismatching-deallocation]: ‘list’ should have been deallocated with ‘free’ but was deallocated with ‘reallocarray’ xwayland-26.0.99.904/os/utils.c:1926:8: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)... xwayland-26.0.99.904/os/utils.c:1928:12: branch_false: ...to here xwayland-26.0.99.904/os/utils.c:1928:12: acquire_memory: allocated here (expects deallocation with ‘free’) xwayland-26.0.99.904/os/utils.c:1929:8: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)... xwayland-26.0.99.904/os/utils.c:1931:11: branch_false: ...to here xwayland-26.0.99.904/os/utils.c:1932:8: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)... xwayland-26.0.99.904/os/utils.c:1934:16: branch_false: ...to here xwayland-26.0.99.904/os/utils.c:1934:41: branch_true: following ‘true’ branch (when ‘tok’ is non-NULL)... xwayland-26.0.99.904/os/utils.c:1935:36: branch_true: ...to here xwayland-26.0.99.904/os/utils.c:1935:17: danger: deallocated with ‘reallocarray’ here; allocation at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2) expects deallocation with ‘free’ # 1933| goto error; # 1934| for (tok = strtok(tmp, separators); tok; tok = strtok(NULL, separators)) { # 1935|-> nlist = reallocarray(list, num + 2, sizeof(*list)); # 1936| if (!nlist) # 1937| goto error; Error: GCC_ANALYZER_WARNING (CWE-401): [#def9] xwayland-26.0.99.904/randr/rrproviderproperty.c:433:1: warning[-Wanalyzer-malloc-leak]: leak of ‘pAtoms’ xwayland-26.0.99.904/randr/rrproviderproperty.c:400:5: branch_false: following ‘false’ branch... xwayland-26.0.99.904/randr/rrproviderproperty.c:402:5: branch_false: ...to here xwayland-26.0.99.904/randr/rrproviderproperty.c:402:5: branch_false: following ‘false’ branch... xwayland-26.0.99.904/randr/rrproviderproperty.c:404:25: branch_false: ...to here xwayland-26.0.99.904/randr/rrproviderproperty.c:406:8: branch_true: following ‘true’ branch (when ‘numProps != 0’)... xwayland-26.0.99.904/randr/rrproviderproperty.c:407:24: branch_true: ...to here xwayland-26.0.99.904/randr/rrproviderproperty.c:407:24: acquire_memory: allocated here xwayland-26.0.99.904/randr/rrproviderproperty.c:407:12: branch_false: following ‘false’ branch (when ‘pAtoms’ is non-NULL)... xwayland-26.0.99.904/randr/rrproviderproperty.c:412:27: branch_false: ...to here xwayland-26.0.99.904/randr/rrproviderproperty.c:422:8: branch_false: following ‘false’ branch (when ‘numProps == 0’)... xwayland-26.0.99.904/randr/rrproviderproperty.c:400:5: branch_false: ...to here xwayland-26.0.99.904/randr/rrproviderproperty.c:433:1: danger: ‘pAtoms’ leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6) # 431| } # 432| return Success; # 433|-> } # 434| # 435| int Error: GCC_ANALYZER_WARNING (CWE-401): [#def10] xwayland-26.0.99.904/xkb/XKBGAlloc.c:558:16: warning[-Wanalyzer-malloc-leak]: leak of ‘*((struct _XkbProperty *)prop).value’ xwayland-26.0.99.904/xkb/XKBGAlloc.c:552:8: branch_false: following ‘false’ branch... xwayland-26.0.99.904/xkb/XKBGAlloc.c:554:42: branch_true: following ‘true’ branch... xwayland-26.0.99.904/xkb/XKBGAlloc.c:555:13: branch_true: ...to here xwayland-26.0.99.904/xkb/XKBGAlloc.c:555:12: branch_true: following ‘true’ branch... xwayland-26.0.99.904/xkb/XKBGAlloc.c:555:30: branch_true: ...to here xwayland-26.0.99.904/xkb/XKBGAlloc.c:557:27: acquire_memory: allocated here xwayland-26.0.99.904/xkb/XKBGAlloc.c:558:16: danger: ‘*((struct _XkbProperty *)prop).value’ leaks here; was allocated at [(7)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/6) # 556| free(prop->value); # 557| prop->value = strdup(value); # 558|-> if (!prop->value) # 559| return NULL; # 560| return prop; Error: GCC_ANALYZER_WARNING (CWE-762): [#def11] xwayland-26.0.99.904/xkb/xkbActions.c:1158:22: warning[-Wanalyzer-mismatching-deallocation]: ‘*((struct _XkbSrvInfo *)xkbi).filters’ should have been deallocated with ‘free’ but was deallocated with ‘reallocarray’ xwayland-26.0.99.904/xkb/xkbActions.c:1258:1: enter_function: entry to ‘XkbActionGetFilter’ xwayland-26.0.99.904/xkb/xkbActions.c:1293:18: call_function: calling ‘_XkbNextFreeFilter’ from ‘XkbActionGetFilter’ # 1156| int newSize = xkbi->szFilters * 2; # 1157| # 1158|-> newFilters = reallocarray(xkbi->filters, # 1159| newSize, sizeof(XkbFilterRec)); # 1160| if (!newFilters)
| analyzer-version-clippy | 1.100.0 |
| analyzer-version-cppcheck | 2.22.0 |
| analyzer-version-gcc | 16.2.1 |
| analyzer-version-gcc-analyzer | 17.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.100.0 |
| diffbase-analyzer-version-cppcheck | 2.22.0 |
| diffbase-analyzer-version-gcc | 16.2.1 |
| diffbase-analyzer-version-gcc-analyzer | 17.0.0 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-132.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260813.215201.gc98a3c4.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-gcc-latest-x86_64 |
| diffbase-project-name | xorg-x11-server-Xwayland-24.1.13-2.fc45 |
| diffbase-store-results-to | /tmp/tmpfnumy92g/xorg-x11-server-Xwayland-24.1.13-2.fc45.tar.xz |
| diffbase-time-created | 2026-11-16 21:05:38 |
| diffbase-time-finished | 2026-11-16 21:09:58 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--root-override=fedora-rawhide-gcc-latest-x86_64-32a710ec-7585-491a-82d8-c364af358bcd' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpfnumy92g/xorg-x11-server-Xwayland-24.1.13-2.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpfnumy92g/xorg-x11-server-Xwayland-24.1.13-2.fc45.src.rpm' |
| diffbase-tool-version | csmock-3.8.7.20261112.190040.g4fde093-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-132.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.20260813.215201.gc98a3c4.main-1.el9.noarch |
| mock-config | fedora-rawhide-gcc-latest-x86_64 |
| project-name | xorg-x11-server-Xwayland-26.0.99.904-1.fc46 |
| store-results-to | /tmp/tmpsz20dp90/xorg-x11-server-Xwayland-26.0.99.904-1.fc46.tar.xz |
| time-created | 2026-11-16 21:10:26 |
| time-finished | 2026-11-16 21:14:42 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--root-override=fedora-rawhide-gcc-latest-x86_64-d02e3c28-48b4-4401-925f-11d76e52a081' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpsz20dp90/xorg-x11-server-Xwayland-26.0.99.904-1.fc46.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpsz20dp90/xorg-x11-server-Xwayland-26.0.99.904-1.fc46.src.rpm' |
| tool-version | csmock-3.8.7.20261112.190040.g4fde093-1.el9 |