xorg-x11-server-Xwayland-23.2.4-3.fc40
List of Findings
Error: CLANG_WARNING: [#def1]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/geext.c:195:10: warning[deadcode.DeadStores]: Although the value stored to 'extEntry' is used in the enclosing expression, the value is never actually read from 'extEntry'
Error: CLANG_WARNING: [#def2]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:441:15: warning[deadcode.DeadStores]: Value stored to 'pScreen' during its initialization is never read
Error: GCC_ANALYZER_WARNING (CWE-476): [#def3]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c: scope_hint: In function ‘PanoramiXMaybeAddDepth’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:752:30: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘PanoramiXDepths’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c: scope_hint: In function ‘PanoramiXConsolidate’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:824:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘root’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:826:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘defmap’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def6]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:828:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘saver’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def7]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:842:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*root.info[0].id’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:49: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.h:74:25: note: in expansion of macro ‘FOR_NSCREENS_FORWARD’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:830:5: note: in expansion of macro ‘FOR_NSCREENS’
Error: CLANG_WARNING: [#def8]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:842:5: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
Error: CLANG_WARNING: [#def9]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:1130:17: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'src')
Error: GCC_ANALYZER_WARNING (CWE-476): [#def10]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c: scope_hint: In function ‘CopyBits’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:1130:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:1116:23: note: in definition of macro ‘SHIFT_L’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.h:74:25: note: in expansion of macro ‘FOR_NSCREENS_FORWARD’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:1174:5: note: in expansion of macro ‘FOR_NSCREENS’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.h:74:25: note: in expansion of macro ‘FOR_NSCREENS_FORWARD’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:1174:5: note: in expansion of macro ‘FOR_NSCREENS’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/region.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/window.h:51: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:52: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:39: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c: scope_hint: In function ‘CopyBits’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:1116:23: note: in definition of macro ‘SHIFT_L’
Error: CLANG_WARNING: [#def11]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:1250:43: warning[core.NullDereference]: Array access (from variable 'ScratchMem') results in a null pointer dereference
Error: GCC_ANALYZER_WARNING (CWE-688): [#def12]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c: scope_hint: In function ‘XineramaGetImageData’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:1257:33: warning[-Wanalyzer-null-argument]: use of NULL ‘ScratchMem’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.h:74:25: note: in expansion of macro ‘FOR_NSCREENS_FORWARD’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:1174:5: note: in expansion of macro ‘FOR_NSCREENS’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.h:74:25: note: in expansion of macro ‘FOR_NSCREENS_FORWARD’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:1174:5: note: in expansion of macro ‘FOR_NSCREENS’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c: scope_hint: In function ‘XineramaGetImageData’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def13]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:1257:33: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def14]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:1280:25: warning[-Wanalyzer-null-argument]: use of NULL ‘ScratchMem’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.h:74:25: note: in expansion of macro ‘FOR_NSCREENS_FORWARD’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:1174:5: note: in expansion of macro ‘FOR_NSCREENS’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c: scope_hint: In function ‘XineramaGetImageData’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:1274:25: note: in expansion of macro ‘BitsPerPixel’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def15]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.c:1280:25: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
Error: CLANG_WARNING: [#def16]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1114:38: warning[core.NullDereference]: Access to field 'depth' results in a dereference of an undefined pointer value
Error: CLANG_WARNING: [#def17]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1137:13: warning[core.NullDereference]: Access to field 'graphicsExposures' results in a dereference of an undefined pointer value (loaded from variable 'pGC')
Error: GCC_ANALYZER_WARNING (CWE-457): [#def18]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c: scope_hint: In function ‘PanoramiXCopyArea’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1137:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pGC’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h:151: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/pixmapstr.h:52: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:51: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:35: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1061:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:45: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1068:17: note: in expansion of macro ‘IS_SHARED_PIXMAP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1075:17: note: in expansion of macro ‘IS_SHARED_PIXMAP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1121:9: note: in expansion of macro ‘FOR_NSCREENS_BACKWARD’
Error: CLANG_WARNING: [#def19]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1246:13: warning[core.NullDereference]: Access to field 'graphicsExposures' results in a dereference of a null pointer (loaded from variable 'pGC')
Error: CLANG_WARNING: [#def20]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1358:9: warning[core.NullDereference]: Access to field 'graphicsExposures' results in a dereference of a null pointer (loaded from variable 'pGC')
Error: GCC_ANALYZER_WARNING (CWE-688): [#def21]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c: scope_hint: In function ‘PanoramiXPolyPoint’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1399:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘origPts’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1380:5: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1387:9: note: in expansion of macro ‘IS_SHARED_PIXMAP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:119: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/window.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1398:19: note: in expansion of macro ‘xallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1398:19: note: in expansion of macro ‘xallocarray’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def22]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c: scope_hint: In function ‘PanoramiXPolyLine’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1464:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘origPts’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1445:5: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1452:9: note: in expansion of macro ‘IS_SHARED_PIXMAP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1460:14: note: in expansion of macro ‘IS_ROOT_DRAWABLE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1463:19: note: in expansion of macro ‘xallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1463:19: note: in expansion of macro ‘xallocarray’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def23]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c: scope_hint: In function ‘PanoramiXPolySegment’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1533:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘origSegs’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1510:5: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1517:9: note: in expansion of macro ‘IS_SHARED_PIXMAP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1525:14: note: in expansion of macro ‘IS_ROOT_DRAWABLE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1532:20: note: in expansion of macro ‘xallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1532:20: note: in expansion of macro ‘xallocarray’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def24]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c: scope_hint: In function ‘PanoramiXPolyRectangle’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1601:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘origRecs’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1578:5: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1585:9: note: in expansion of macro ‘IS_SHARED_PIXMAP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1593:14: note: in expansion of macro ‘IS_ROOT_DRAWABLE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1600:20: note: in expansion of macro ‘xallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1600:20: note: in expansion of macro ‘xallocarray’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def25]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c: scope_hint: In function ‘PanoramiXPolyArc’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1668:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘origArcs’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1645:5: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1652:9: note: in expansion of macro ‘IS_SHARED_PIXMAP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1660:14: note: in expansion of macro ‘IS_ROOT_DRAWABLE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1667:20: note: in expansion of macro ‘xallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1667:20: note: in expansion of macro ‘xallocarray’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def26]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c: scope_hint: In function ‘PanoramiXFillPoly’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1730:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘locPts’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1710:5: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1717:9: note: in expansion of macro ‘IS_SHARED_PIXMAP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1725:14: note: in expansion of macro ‘IS_ROOT_DRAWABLE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1729:18: note: in expansion of macro ‘xallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1729:18: note: in expansion of macro ‘xallocarray’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def27]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c: scope_hint: In function ‘PanoramiXPolyFillRectangle’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1799:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘origRects’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1776:5: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1783:9: note: in expansion of macro ‘IS_SHARED_PIXMAP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1791:14: note: in expansion of macro ‘IS_ROOT_DRAWABLE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1798:21: note: in expansion of macro ‘xallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1798:21: note: in expansion of macro ‘xallocarray’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def28]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c: scope_hint: In function ‘PanoramiXPolyFillArc’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1866:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘origArcs’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1843:5: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1850:9: note: in expansion of macro ‘IS_SHARED_PIXMAP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1858:14: note: in expansion of macro ‘IS_ROOT_DRAWABLE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1865:20: note: in expansion of macro ‘xallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:1865:20: note: in expansion of macro ‘xallocarray’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def29]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:2015:9: warning[core.NullDereference]: Access to field 'pScreen' results in a dereference of an undefined pointer value
Error: CLANG_WARNING: [#def30]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXprocs.c:2370:20: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
Error: CLANG_WARNING: [#def31]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/saver.c:263:22: warning[core.NullDereference]: Access to field 'resource' results in a dereference of a null pointer (loaded from variable 'pEv')
Error: GCC_ANALYZER_WARNING (CWE-476): [#def32]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c:1004:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rects’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c:1194:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c:1195:5: note: in expansion of macro ‘swapl’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c:951:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:197:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c:963:18: note: in expansion of macro ‘wInputShape’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:197:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c:963:18: note: in expansion of macro ‘wInputShape’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c: scope_hint: In function ‘ProcShapeGetRectangles’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c:1000:17: note: in expansion of macro ‘xallocarray’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def33]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shm.c: scope_hint: In function ‘ShmInitScreenPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shm.c:214:34: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘screen_priv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shm.c:210:37: note: in expansion of macro ‘ShmGetScreenPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dix.h:54: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dixstruct.h:28: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shm.c:48: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shm.c: scope_hint: In function ‘ShmInitScreenPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shm.c:210:37: note: in expansion of macro ‘ShmGetScreenPriv’
Error: CLANG_WARNING: [#def34]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shm.c:870:9: warning[core.NullDereference]: Access to field 'pScreen' results in a dereference of a null pointer
Error: CLANG_WARNING: [#def35]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shm.c:1008:31: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
Error: CLANG_WARNING: [#def36]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c:892:17: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'SyncObject', which is incompatible with sizeof operand type 'SyncCounter'
Error: CLANG_WARNING: [#def37]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c:1286:27: warning[core.NullDereference]: Access to field 'counter' results in a dereference of a null pointer (loaded from variable 'walklist')
Error: CLANG_WARNING: [#def38]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c:1538:17: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer (loaded from field 'pSync')
Error: GCC_ANALYZER_WARNING (CWE-476): [#def39]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c: scope_hint: In function ‘IdleTimeQueryValue’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c:2648:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/screenint.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/scrnintstr.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c:61: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:432:25: note: in expansion of macro ‘__BUG_WARN_MSG’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c:120:5: note: in expansion of macro ‘BUG_WARN’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:421:20: note: in definition of macro ‘__BUG_WARN_MSG’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c:120:5: note: in expansion of macro ‘BUG_WARN’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c:120:15: note: in expansion of macro ‘IsSystemCounter’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def40]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c: scope_hint: In function ‘IdleTimeBlockHandler’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c:2661:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: CLANG_WARNING: [#def41]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c:2664:22: warning[deadcode.DeadStores]: Value stored to 'list' during its initialization is never read
Error: GCC_ANALYZER_WARNING (CWE-476): [#def42]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c: scope_hint: In function ‘IdleTimeWakeupHandler’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c:2751:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def43]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c: scope_hint: In function ‘IdleTimeBracketValues’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c:2784:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def44]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c: scope_hint: In function ‘init_system_idle_counter’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c:2821:48: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘priv’
Error: CLANG_WARNING: [#def45]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c:2824:53: warning[core.NullDereference]: Access to field 'private' results in a dereference of a null pointer (loaded from field 'pSysCounterInfo')
Error: GCC_ANALYZER_WARNING (CWE-401): [#def46]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/sync.c:2827:12: warning[-Wanalyzer-malloc-leak]: leak of ‘priv’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def47]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c:96:5: warning[-Wanalyzer-null-argument]: use of NULL ‘VidModeCreateMode()’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c: scope_hint: In function ‘ProcVidModeModModeLine’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c:188:13: note: in expansion of macro ‘VM_GETPRIV’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dix.h:54: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dixstruct.h:28: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c:42: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c: scope_hint: In function ‘ProcVidModeModModeLine’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c:188:13: note: in expansion of macro ‘VM_GETPRIV’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c:1835:9: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c:41: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c:1836:9: note: in expansion of macro ‘swapl’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c:188:13: note: in expansion of macro ‘VM_GETPRIV’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c: scope_hint: In function ‘ProcVidModeModModeLine’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c:188:13: note: in expansion of macro ‘VM_GETPRIV’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c:753:9: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘ProcVidModeModModeLine’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c: scope_hint: In function ‘ProcVidModeModModeLine’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c: scope_hint: In function ‘ProcVidModeModModeLine’
<built-in>: scope_hint: In function ‘ProcVidModeModModeLine’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def48]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c:934:5: warning[deadcode.DeadStores]: Value stored to 'status' is never read
Error: GCC_ANALYZER_WARNING (CWE-476): [#def49]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c: scope_hint: In function ‘ProcVidModeGetDotClocks’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c:1377:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘Clocks’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c:1983:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c:1984:5: note: in expansion of macro ‘swaps’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c:1333:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘ProcVidModeGetDotClocks’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c: scope_hint: In function ‘ProcVidModeGetDotClocks’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/vidmode.c: scope_hint: In function ‘ProcVidModeGetDotClocks’
Error: GCC_ANALYZER_WARNING (CWE-590): [#def50]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c:139:9: warning[-Wanalyzer-free-of-non-heap]: ‘free’ of ‘it’ which points to memory on the stack
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c:1065:5: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c:14: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c:1066:5: note: in expansion of macro ‘swapl’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c:1067:5: note: in expansion of macro ‘REQUEST_FIXED_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c:957:5: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dix.h:91:16: note: in definition of macro ‘REQUEST_FIXED_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c:960:5: note: in expansion of macro ‘REQUEST_FIXED_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h:152: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dix.h:54: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/resource.h:96:41: note: in expansion of macro ‘RESOURCE_CLIENT_BITS’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/resource.h:98:33: note: in expansion of macro ‘RESOURCE_CLIENT_MASK’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/resource.h:100:30: note: in expansion of macro ‘CLIENT_BITS’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c:916:25: note: in expansion of macro ‘CLIENT_ID’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c:137:5: note: in expansion of macro ‘xorg_list_for_each_entry_safe’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c: scope_hint: In function ‘DestroyFragments’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def51]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c: scope_hint: In function ‘ProcXResQueryClients.part.0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c:231:42: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘current_clients’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:119: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c:226:23: note: in expansion of macro ‘xallocarray’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def52]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xselinux_ext.c: scope_hint: In function ‘SELinuxPopulateItem’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xselinux_ext.c:319:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘i’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dix.h:54: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dixstruct.h:28: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/selection.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xselinux_ext.c:24: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xselinux_ext.c: scope_hint: In function ‘SELinuxPopulateItem’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xselinux_ext.c: scope_hint: In function ‘SELinuxPopulateItem’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def53]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xselinux_ext.c: scope_hint: In function ‘SELinuxFreeItems’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xselinux_ext.c:333:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘items’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xselinux_ext.c: scope_hint: In function ‘SELinuxFreeItems’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xselinux_ext.c: scope_hint: In function ‘SELinuxFreeItems’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def54]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xselinux_ext.c: scope_hint: In function ‘SELinuxSendItemsToClient’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xselinux_ext.c:355:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xselinux_ext.c: scope_hint: In function ‘SELinuxSendItemsToClient’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xselinux_ext.c: scope_hint: In function ‘SELinuxSendItemsToClient’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def55]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xselinux_label.c: scope_hint: In function ‘SELinuxAtomToSID’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xselinux_label.c:141:18: warning[-Wanalyzer-malloc-leak]: leak of ‘rec’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:77: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/resource.h:49: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/registry.h:20: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xselinux_label.c:26: included_from: Included from here.
Error: CLANG_WARNING: [#def56]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xselinux_label.c:142:20: warning[unix.Malloc]: Potential leak of memory pointed to by 'rec'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xtest.c: scope_hint: In function ‘ProcXTestFakeInput’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xtest.c:383:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dev’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def58]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xtest.c:395:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dev’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def59]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xtest.c:426:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dev’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def60]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xtest.c:440:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dev’
Error: CLANG_WARNING: [#def61]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xvdisp.c:1782:21: warning[core.uninitialized.Branch]: Branch condition evaluates to a garbage value
Error: GCC_ANALYZER_WARNING (CWE-457): [#def62]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xvdisp.c: scope_hint: In function ‘XineramifyXv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xvdisp.c:1787:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*port.info[0].id’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/scrnintstr.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xvdisp.c:33: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xvdisp.c: scope_hint: In function ‘XineramifyXv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xvdisp.c:52: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xvdisp.c:1770:9: note: in expansion of macro ‘FOR_NSCREENS_FORWARD_SKIP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xvdisp.c: scope_hint: In function ‘XineramifyXv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xvdisp.c:1770:9: note: in expansion of macro ‘FOR_NSCREENS_FORWARD_SKIP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xvdisp.c: scope_hint: In function ‘XineramifyXv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xvdisp.c:1770:9: note: in expansion of macro ‘FOR_NSCREENS_FORWARD_SKIP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.h:74:25: note: in expansion of macro ‘FOR_NSCREENS_FORWARD’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xvdisp.c:1781:13: note: in expansion of macro ‘FOR_NSCREENS’
Error: CLANG_WARNING: [#def63]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xvdisp.c:1787:13: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
Error: CLANG_WARNING: [#def64]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xvmc.c:565:17: warning[core.NullDereference]: Access to field 'xvimage_ids' results in a dereference of a null pointer (loaded from field 'compatible_subpictures')
Error: CLANG_WARNING: [#def65]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:490:37: warning[core.NullDereference]: Access to field 'xkbInfo' results in a dereference of a null pointer (loaded from field 'key')
Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c: scope_hint: In function ‘DeepCopyKeyboardClasses’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:490:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*to.key’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/input.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/inputstr.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:85: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:2392:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:2393:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:2394:5: note: in expansion of macro ‘BUG_RETURN_VAL’
Error: CLANG_WARNING: [#def67]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:523:13: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
Error: CLANG_WARNING: [#def68]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:1043:37: warning[core.NullDereference]: Access to field 'inputClients' results in a dereference of a null pointer
Error: CLANG_WARNING: [#def69]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:1097:5: warning[deadcode.DeadStores]: Value stored to 'err' is never read
Error: CLANG_WARNING: [#def70]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:1389:36: warning[core.NullDereference]: Access to field 'inputClients' results in a dereference of a null pointer
Error: CLANG_WARNING: [#def71]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:1403:36: warning[core.NullDereference]: Access to field 'inputClients' results in a dereference of a null pointer
Error: CLANG_WARNING: [#def72]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:1447:13: warning[deadcode.DeadStores]: Value stored to 'xi2mask' is never read
Error: CLANG_WARNING: [#def73]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:1448:13: warning[deadcode.DeadStores]: Value stored to 'client' is never read
Error: CLANG_WARNING: [#def74]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:2243:5: warning[deadcode.DeadStores]: Value stored to 'err' is never read
Error: CLANG_WARNING: [#def75]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:2291:42: warning[core.NullDereference]: Access to field 'inputClients' results in a dereference of a null pointer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def76]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c: scope_hint: In function ‘SelectForWindow’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:2680:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:92: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:190:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:2680:23: note: in expansion of macro ‘wOtherInputMasks’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c: scope_hint: In function ‘MakeInputMasks’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:2768:32: warning[-Wanalyzer-malloc-leak]: leak of ‘imasks’
Error: CLANG_WARNING: [#def78]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:2953:26: warning[core.NullDereference]: Array access (via field 'dontPropagateMask') results in a null pointer dereference
Error: CLANG_WARNING: [#def79]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:3242:22: warning[core.NullDereference]: Access to field 'resource' results in a dereference of a null pointer (loaded from field 'inputClients')
Error: GCC_ANALYZER_WARNING (CWE-476): [#def80]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c: scope_hint: In function ‘DeviceEventSuppressForWindow’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:3242:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘inputMasks’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:190:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:3237:22: note: in expansion of macro ‘wOtherInputMasks’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def81]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c: scope_hint: In function ‘XISetEventMask’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:3336:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c: scope_hint: In function ‘XISetEventMask’
/usr/include/X11/extensions/XI2proto.h:61: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/inputstr.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:190:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:3336:18: note: in expansion of macro ‘wOtherInputMasks’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:190:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:3336:18: note: in expansion of macro ‘wOtherInputMasks’
Error: CLANG_WARNING: [#def82]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/exevents.c:3336:18: warning[core.NullDereference]: Access to field 'inputClients' results in a dereference of a null pointer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def83]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/getprop.c: scope_hint: In function ‘ClassFromMask’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/getprop.c:163:32: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dixstruct.h:28: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/inputstr.h:55: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/getprop.c:57: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/getprop.c:102:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/getprop.c:58: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:190:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/getprop.c:116:19: note: in expansion of macro ‘wOtherInputMasks’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:190:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/getprop.c:116:19: note: in expansion of macro ‘wOtherInputMasks’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:119: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/input.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/inputstr.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/getprop.c:121:19: note: in expansion of macro ‘xallocarray’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def84]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/listdev.c: scope_hint: In function ‘CopySwapDevice’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/listdev.c:171:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dev’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dixstruct.h:28: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/inputstr.h:55: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/listdev.c:59: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/listdev.c:343:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def85]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/xibarriers.c:125:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘pbd’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/xibarriers.c:124:5: note: in expansion of macro ‘xorg_list_for_each_entry_safe’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/xibarriers.c:124:5: note: in expansion of macro ‘xorg_list_for_each_entry_safe’
Error: CLANG_WARNING: [#def86]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/xibarriers.c:480:18: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'nevents')
Error: CLANG_WARNING: [#def87]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/xibarriers.c:514:18: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'nevents')
Error: GCC_ANALYZER_WARNING (CWE-476): [#def88]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/xibarriers.c: scope_hint: In function ‘add_master_func’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/xibarriers.c:716:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘AllocBarrierDevice()’
Error: CLANG_WARNING: [#def89]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/xichangecursor.c:93:21: warning[core.NullDereference]: Dereference of null pointer
Error: CLANG_WARNING: [#def90]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/xiquerydevice.c:127:9: warning[deadcode.DeadStores]: Value stored to 'info' is never read
Error: CLANG_WARNING: [#def91]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/xiquerydevice.c:546:20: warning[unix.Malloc]: Use of memory allocated with size zero
Error: CLANG_WARNING: [#def92]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/xiquerydevice.c:619:9: warning[deadcode.DeadStores]: Value stored to 'any' is never read
Error: CLANG_WARNING: [#def93]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compext.c:309:49: warning[core.NullDereference]: Dereference of null pointer
Error: CLANG_WARNING: [#def94]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compext.c:755:14: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
Error: CLANG_WARNING: [#def95]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compext.c:756:20: warning[unix.Malloc]: Potential leak of memory pointed to by 'newPix'
Error: CLANG_WARNING: [#def96]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compext.c:829:23: warning[core.NullDereference]: Dereference of null pointer
Error: CLANG_WARNING: [#def97]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compext.c:845:9: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
Error: CLANG_WARNING: [#def98]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/cursor.c:435:13: warning[core.NullDereference]: Access to field 'refcnt' results in a dereference of a null pointer (loaded from variable 'sourcefont')
Error: CLANG_WARNING: [#def99]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/devices.c:402:11: warning[deadcode.DeadStores]: Although the value stored to 'ret' is used in the enclosing expression, the value is never actually read from 'ret'
Error: CLANG_WARNING: [#def100]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/devices.c:1665:9: warning[deadcode.DeadStores]: Value stored to 'num_axes' is never read
Error: GCC_ANALYZER_WARNING (CWE-476): [#def101]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/devices.c: scope_hint: In function ‘GetPairedDevice’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/devices.c:2728:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dev’
Error: CLANG_WARNING: [#def102]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dispatch.c:371:65: warning[core.NullDereference]: Access to field 'index' results in a dereference of a null pointer (loaded from variable 'best')
Error: CLANG_WARNING: [#def103]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dispatch.c:3699:5: warning[deadcode.DeadStores]: Value stored to 'numScreens' is never read
Error: CLANG_WARNING: [#def104]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:443:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'c'
Error: CLANG_WARNING: [#def105]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:542:9: warning[deadcode.DeadStores]: Value stored to 'i' is never read
Error: CLANG_WARNING: [#def106]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:573:9: warning[deadcode.DeadStores]: Value stored to 'err' is never read
Error: CLANG_WARNING: [#def107]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:593:22: warning[unix.Malloc]: Potential leak of memory pointed to by 'resolved'
Error: CLANG_WARNING: [#def108]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:674:17: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
Error: CLANG_WARNING: [#def109]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:674:17: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
Error: CLANG_WARNING: [#def110]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:684:25: warning[deadcode.DeadStores]: Value stored to 'err' is never read
Error: CLANG_WARNING: [#def111]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:864:9: warning[deadcode.DeadStores]: Value stored to 'err' is never read
Error: CLANG_WARNING: [#def112]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:923:21: warning[deadcode.DeadStores]: Value stored to 'err' is never read
Error: CLANG_WARNING: [#def113]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:930:34: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
Error: CLANG_WARNING: [#def114]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:932:47: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
Error: CLANG_WARNING: [#def115]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:954:13: warning[deadcode.DeadStores]: Value stored to 'err' is never read
Error: CLANG_WARNING: [#def116]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:972:21: warning[deadcode.DeadStores]: Value stored to 'err' is never read
Error: GCC_ANALYZER_WARNING (CWE-476): [#def117]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c: scope_hint: In function ‘doPolyText’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:1315:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘origGC’
Error: CLANG_WARNING: [#def118]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:1345:9: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
Error: GCC_ANALYZER_WARNING (CWE-457): [#def119]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:1345:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*c.data’
Error: GCC_ANALYZER_WARNING (CWE-590): [#def120]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:1346:9: warning[-Wanalyzer-free-of-non-heap]: ‘free’ of ‘c’ which points to memory on the stack
Error: CLANG_WARNING: [#def121]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:1444:18: warning[deadcode.DeadStores]: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err'
Error: GCC_ANALYZER_WARNING (CWE-590): [#def122]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c: scope_hint: In function ‘doImageText’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:1492:9: warning[-Wanalyzer-free-of-non-heap]: ‘free’ of ‘c’ which points to memory on the stack
Error: CLANG_WARNING: [#def123]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:1492:9: warning[unix.Malloc]: Argument to free() is the address of the local variable 'local_closure', which is not memory allocated by malloc()
Error: GCC_ANALYZER_WARNING (CWE-457): [#def124]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c: scope_hint: In function ‘SetFontPath’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:1690:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘bad’
Error: CLANG_WARNING: [#def125]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:1690:28: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
Error: CLANG_WARNING: [#def126]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/dixfonts.c:1776:9: warning[unix.Malloc]: Attempt to free released memory
Error: GCC_ANALYZER_WARNING (CWE-476): [#def127]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/enterleave.c: scope_hint: In function ‘DeviceFocusEvent’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/enterleave.c:777:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xi2event’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def128]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/eventconvert.c: scope_hint: In function ‘eventToDeviceEvent’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/eventconvert.c:687:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*xi’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/eventconvert.c: scope_hint: In function ‘eventToDeviceEvent’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def129]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/eventconvert.c: scope_hint: In function ‘eventToTouchOwnershipEvent’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/eventconvert.c:755:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*xi’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def130]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/eventconvert.c: scope_hint: In function ‘eventToRawEvent’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/eventconvert.c:785:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*xi’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/eventconvert.c: scope_hint: In function ‘eventToRawEvent’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def131]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/eventconvert.c: scope_hint: In function ‘eventToBarrierEvent’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/eventconvert.c:820:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*xi’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def132]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/eventconvert.c: scope_hint: In function ‘eventToGesturePinchEvent’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/eventconvert.c:849:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*xi’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def133]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/eventconvert.c: scope_hint: In function ‘eventToGestureSwipeEvent’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/eventconvert.c:891:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*xi’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def134]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/events.c: scope_hint: In function ‘CheckPhysLimits’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/events.c:771:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pScreen’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h:151: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/pixmapstr.h:52: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:51: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/events.c:112: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/events.c:5110:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/events.c:110: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/resource.h:98:27: note: in definition of macro ‘CLIENT_BITS’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/events.c:5132:10: note: in expansion of macro ‘SameClient’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def135]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/extension.c: scope_hint: In function ‘ProcListExtensions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/extension.c:295:23: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dixstruct.h:28: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/extension.c:54: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/extension.c:264:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/extension.c:295:23: note: write of 1 byte to beyond the end of the region
Error: CLANG_WARNING: [#def136]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/extension.c:295:23: warning[unix.Malloc]: Use of memory allocated with size zero
Error: GCC_ANALYZER_WARNING (CWE-476): [#def137]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/gc.c: scope_hint: In function ‘CreateScratchGC’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/gc.c:814:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pGC’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/gc.c:66: included_from: Included from here.
Error: CLANG_WARNING: [#def138]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/gc.c:814:28: warning[core.NullDereference]: Access to field 'graphicsExposures' results in a dereference of a null pointer (loaded from variable 'pGC')
Error: CLANG_WARNING: [#def139]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/getevents.c:830:9: warning[core.NullDereference]: Dereference of null pointer
Error: CLANG_WARNING: [#def140]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/inpututils.c:789:9: warning[core.NullDereference]: Array access (via field 'map') results in a null pointer dereference
Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/privates.c: scope_hint: In function ‘dixAllocatePrivates’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/privates.c:522:5: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h:18: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/pixmapstr.h:52: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:51: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/privates.c:56: included_from: Included from here.
Error: CLANG_WARNING: [#def142]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/privates.c:522:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'p'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def143]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c: scope_hint: In function ‘dixChangeWindowProperty’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c:283:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘data’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/pixmapstr.h:52: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:51: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c:275:17: note: in expansion of macro ‘dixAllocateObjectWithPrivates’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def144]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c:297:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*pWin.optional’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h:151: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c:213:5: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c:231:5: note: in expansion of macro ‘REQUEST_FIXED_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:192:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c:98:18: note: in expansion of macro ‘wUserProps’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c:275:17: note: in expansion of macro ‘dixAllocateObjectWithPrivates’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def145]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c:318:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘data’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:192:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c:98:18: note: in expansion of macro ‘wUserProps’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:192:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c:98:18: note: in expansion of macro ‘wUserProps’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c: scope_hint: In function ‘ProcListProperties’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c:597:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘temppAtoms’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c:580:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:192:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c:585:18: note: in expansion of macro ‘wUserProps’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:192:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c:585:18: note: in expansion of macro ‘wUserProps’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:192:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c:585:18: note: in expansion of macro ‘wUserProps’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:192:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c:593:18: note: in expansion of macro ‘wUserProps’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:192:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/property.c:593:18: note: in expansion of macro ‘wUserProps’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def147]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/ptrveloc.c: scope_hint: In function ‘InitPredictableAccelerationScheme’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/ptrveloc.c:146:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def148]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/ptrveloc.c:151:32: warning[-Wanalyzer-malloc-leak]: leak of ‘schemeData’
Error: GCC_ANALYZER_WARNING (CWE-590): [#def149]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/region.c: scope_hint: In function ‘RegionBreak’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/region.c:172:62: warning[-Wanalyzer-free-of-non-heap]: ‘free’ of ‘&RegionEmptyData’ which points to memory not on the heap
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/region.c:338:5: note: in expansion of macro ‘xfreeData’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/region.c:82: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/region.c:338:5: note: in expansion of macro ‘xfreeData’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/region.c:338:5: note: in expansion of macro ‘xfreeData’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/region.c:338:5: note: in expansion of macro ‘xfreeData’
Error: CLANG_WARNING: [#def150]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/region.c:338:5: warning[unix.Malloc]: Argument to free() is the address of the global variable 'RegionEmptyData', which is not memory allocated by malloc()
Error: CLANG_WARNING: [#def151]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/region.c:1310:9: warning[unix.Malloc]: Argument to free() is the address of the global variable 'RegionBrokenData', which is not memory allocated by malloc()
Error: GCC_ANALYZER_WARNING (CWE-131): [#def152]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/swaprep.c: scope_hint: In function ‘CopySwap32Write’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/swaprep.c:99:22: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
Error: GCC_ANALYZER_WARNING (CWE-131): [#def153]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/swaprep.c: scope_hint: In function ‘CopySwap16Write’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/swaprep.c:146:22: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
Error: GCC_ANALYZER_WARNING (CWE-476): [#def154]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/window.c: scope_hint: In function ‘ChangeWindowDeviceCursor’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/window.c:3495:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pNewNode’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def155]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dri3/dri3_screen.c: scope_hint: In function ‘dri3_fd_from_pixmap’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dri3/dri3_screen.c:143:13: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/scrnintstr.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dri3/dri3_priv.h:28: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘dri3_fd_from_pixmap’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dri3/dri3_screen.c: scope_hint: In function ‘dri3_fd_from_pixmap’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dri3/dri3_screen.c: scope_hint: In function ‘dri3_fd_from_pixmap’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dri3/dri3_screen.c:143:13: note: read of 4 bytes from after the end of ‘fds’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dri3/dri3_screen.c:143:13: note: valid subscripts for ‘fds’ are ‘[0]’ to ‘[3]’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def156]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dri3/dri3_screen.c: scope_hint: In function ‘cache_formats_and_modifiers’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dri3/dri3_screen.c:186:8: warning[-Wanalyzer-malloc-leak]: leak of ‘((struct dri3_screen_priv)**screen.devPrivates).formats’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘cache_formats_and_modifiers’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dri3/dri3_screen.c: scope_hint: In function ‘cache_formats_and_modifiers’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dri3/dri3_screen.c: scope_hint: In function ‘cache_formats_and_modifiers’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def157]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.c: scope_hint: In function ‘glamor_close_screen’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.c:944:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/pixmapstr.h:55: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.h:33: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h:32: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.c:37: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.c:927:27: note: in expansion of macro ‘GetPictureScreenIfSet’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/scrnintstr.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.h:32: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_close_screen’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.c: scope_hint: In function ‘glamor_close_screen’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.c: scope_hint: In function ‘glamor_close_screen’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def158]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.c: scope_hint: In function ‘_glamor_fds_from_pixmap’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.c:1017:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.c: scope_hint: In function ‘_glamor_fds_from_pixmap’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘_glamor_fds_from_pixmap’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.c: scope_hint: In function ‘_glamor_fds_from_pixmap’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.c: scope_hint: In function ‘_glamor_fds_from_pixmap’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def159]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.c: scope_hint: In function ‘glamor_name_from_pixmap’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.c:1094:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.c: scope_hint: In function ‘glamor_name_from_pixmap’
Error: CLANG_WARNING: [#def160]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_composite_glyphs.c:431:59: warning[core.NullDereference]: Access to field 'serial' results in a dereference of a null pointer (loaded from variable 'glyph_atlas')
Error: GCC_ANALYZER_WARNING (CWE-476): [#def161]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_composite_glyphs.c: scope_hint: In function ‘glamor_composite_glyphs’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_composite_glyphs.c:431:70: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘glyph_atlas’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_composite_glyphs’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h: scope_hint: In function ‘glamor_composite_glyphs’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_composite_glyphs.c: scope_hint: In function ‘glamor_composite_glyphs’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_composite_glyphs’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_composite_glyphs.c: scope_hint: In function ‘glamor_composite_glyphs’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_composite_glyphs.c: scope_hint: In function ‘glamor_composite_glyphs’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def162]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_core.c: scope_hint: In function ‘glamor_get_drawable_location’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_core.c:44:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_core.c: scope_hint: In function ‘glamor_get_drawable_location’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def163]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_fbo.c:287:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_fbo.c: scope_hint: In function ‘glamor_pixmap_attach_fbo’
Error: CLANG_WARNING: [#def164]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_fbo.c:355:12: warning[unix.Malloc]: Potential leak of memory pointed to by 'fbo'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def165]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_fbo.c: scope_hint: In function ‘glamor_pixmap_exchange_fbos’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_fbo.c:366:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_fbo.c: scope_hint: In function ‘glamor_pixmap_exchange_fbos’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def166]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_fbo.c:367:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_pixmap_exchange_fbos’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_fbo.c: scope_hint: In function ‘glamor_pixmap_exchange_fbos’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_fbo.c: scope_hint: In function ‘glamor_pixmap_exchange_fbos’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_fbo.c: scope_hint: In function ‘glamor_pixmap_exchange_fbos’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def167]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘__glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c:130:43: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/scrnintstr.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.h:32: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h:32: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘__glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘__glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘__glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘__glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘__glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘__glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘__glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘__glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘__glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘__glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘__glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘__glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘__glamor_compute_clipped_regions’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def168]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_compute_clipped_regions_ext’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c:235:38: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_compute_clipped_regions_ext’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_compute_clipped_regions_ext’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_compute_clipped_regions_ext’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_compute_clipped_regions_ext’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_compute_clipped_regions_ext’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_compute_clipped_regions_ext’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_compute_clipped_regions_ext’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_compute_clipped_regions_ext’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_compute_clipped_regions_ext’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_compute_clipped_regions_ext’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_compute_clipped_regions_ext’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_compute_clipped_regions_ext’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_compute_clipped_regions_ext’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_compute_clipped_regions_ext’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def169]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘_glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c:365:35: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘_glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘_glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘_glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘_glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘_glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘_glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘_glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘_glamor_compute_clipped_regions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘_glamor_compute_clipped_regions’
Error: CLANG_WARNING: [#def170]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c:1133:12: warning[core.NullDereference]: Access to field 'transform' results in a dereference of a null pointer (loaded from variable 'mask')
Error: GCC_ANALYZER_WARNING (CWE-476): [#def171]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_composite_largepixmap_region’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c:1175:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘source_pixmap_priv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_composite_largepixmap_region’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_composite_largepixmap_region’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_composite_largepixmap_region’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_composite_largepixmap_region’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_composite_largepixmap_region’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_composite_largepixmap_region’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_composite_largepixmap_region’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_composite_largepixmap_region’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_composite_largepixmap_region’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_composite_largepixmap_region’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_composite_largepixmap_region’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_composite_largepixmap_region’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_composite_largepixmap_region’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_composite_largepixmap_region’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_largepixmap.c: scope_hint: In function ‘glamor_composite_largepixmap_region’
Error: CLANG_WARNING: [#def172]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_picture.c:333:9: warning[deadcode.DeadStores]: Value stored to 'stride' is never read
Error: GCC_ANALYZER_WARNING (CWE-476): [#def173]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_prepare.c: scope_hint: In function ‘glamor_prep_drawable_box’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_prepare.c:44:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_prepare.c: scope_hint: In function ‘glamor_prep_drawable_box’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def174]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_render.c:35: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h: scope_hint: In function ‘glamor_pixmap_drm_only’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h:431:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h: scope_hint: In function ‘glamor_pixmap_drm_only’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def175]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_composite_glyphs.c:25: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h: scope_hint: In function ‘glamor_pixmap_is_memory’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h:442:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/Xprintf.h:29: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_composite_glyphs.c:23: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h: scope_hint: In function ‘glamor_pixmap_is_memory’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def176]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h: scope_hint: In function ‘glamor_pixmap_has_fbo’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h:475:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/scrnintstr.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.h:32: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h:32: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_pixmap_has_fbo’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h: scope_hint: In function ‘glamor_pixmap_has_fbo’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_composite_glyphs.c: scope_hint: In function ‘glamor_pixmap_has_fbo’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_pixmap_has_fbo’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_composite_glyphs.c: scope_hint: In function ‘glamor_pixmap_has_fbo’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_composite_glyphs.c: scope_hint: In function ‘glamor_pixmap_has_fbo’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h: scope_hint: In function ‘glamor_pixmap_has_fbo’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def177]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h: scope_hint: In function ‘glamor_pixmap_fbo_at’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h:490:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘priv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_pixmap_fbo_at’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h: scope_hint: In function ‘glamor_pixmap_fbo_at’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_composite_glyphs.c: scope_hint: In function ‘glamor_pixmap_fbo_at’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_pixmap_fbo_at’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_composite_glyphs.c: scope_hint: In function ‘glamor_pixmap_fbo_at’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_composite_glyphs.c: scope_hint: In function ‘glamor_pixmap_fbo_at’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_composite_glyphs.c: scope_hint: In function ‘glamor_pixmap_fbo_at’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_composite_glyphs.c: scope_hint: In function ‘glamor_pixmap_fbo_at’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def178]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h:18: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/scrnintstr.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.h:32: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h:32: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_transform.c:23: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h: scope_hint: In function ‘glamor_pixmap_box_at’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h:497:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘priv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_transform.c: scope_hint: In function ‘glamor_pixmap_box_at’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def179]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h:510:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_dash.c: scope_hint: In function ‘glamor_dash_loop’
/usr/include/epoxy/gl.h:89: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h:40: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_dash.c: scope_hint: In function ‘glamor_dash_loop’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_dash.c:213:5: note: in expansion of macro ‘glamor_pixmap_loop’
Error: CLANG_WARNING: [#def180]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_render.c:245:17: warning[deadcode.DeadStores]: Value stored to 'mask_fetch' during its initialization is never read
Error: CLANG_WARNING: [#def181]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_render.c:1045:9: warning[deadcode.DeadStores]: Value stored to 'mask_needs_upload' is never read
Error: CLANG_WARNING: [#def182]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_render.c:1079:27: warning[core.NullDereference]: Access to field 'format' results in a dereference of a null pointer (loaded from variable 'mask')
Error: CLANG_WARNING: [#def183]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_render.c:1314:36: warning[core.UndefinedBinaryOperatorResult]: The right operand of '+' is a garbage value
Error: CLANG_WARNING: [#def184]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_transform.c:127:16: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
Error: GCC_ANALYZER_WARNING (CWE-476): [#def185]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h:953: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_core.c: scope_hint: In function ‘glamor_validate_gc’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_utils.h:573:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_core.c:204:19: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_core.c: scope_hint: In function ‘glamor_validate_gc’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_core.c:204:19: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_core.c:204:19: note: in expansion of macro ‘GLAMOR_PIXMAP_PRIV_HAS_FBO’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def186]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h:953: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_fbo.c:31: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_utils.h: scope_hint: In function ‘glamor_pixmap_attach_fbo’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_utils.h:671:42: warning[-Wanalyzer-malloc-leak]: leak of ‘glamor_create_fbo(glamor_get_screen_private(*pixmap.drawable.pScreen), pixmap, (int)*pixmap.drawable.width, (int)*pixmap.drawable.height, flag)’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/scrnintstr.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.h:32: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h:32: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_pixmap_attach_fbo’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_fbo.c: scope_hint: In function ‘glamor_pixmap_attach_fbo’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_fbo.c: scope_hint: In function ‘glamor_pixmap_attach_fbo’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_pixmap_attach_fbo’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_fbo.c: scope_hint: In function ‘glamor_pixmap_attach_fbo’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_fbo.c: scope_hint: In function ‘glamor_pixmap_attach_fbo’
Error: CLANG_WARNING: [#def187]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.c:37: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h:953: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_utils.h:673:9: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
Error: CLANG_WARNING: [#def188]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_xv.c:342:5: warning[deadcode.DeadStores]: Value stored to 'gamma' is never read
Error: CLANG_WARNING: [#def189]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_xv.c:382:34: warning[core.NullDereference]: Access to field 'fbo' results in a dereference of a null pointer
Error: CLANG_WARNING: [#def190]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_xv.c:389:34: warning[core.NullDereference]: Access to field 'fbo' results in a dereference of a null pointer
Error: GCC_ANALYZER_WARNING (CWE-457): [#def191]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_xv.c: scope_hint: In function ‘glamor_xv_render’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_xv.c:389:49: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘src_pixmap_priv[1]’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/scrnintstr.h:51: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.h:32: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h:32: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_xv.c: scope_hint: In function ‘glamor_xv_render’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_xv.c:321:18: note: in expansion of macro ‘REGION_RECTS’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_xv.c: scope_hint: In function ‘glamor_xv_render’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_xv.c:322:16: note: in expansion of macro ‘REGION_NUM_RECTS’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_xv.c: scope_hint: In function ‘glamor_xv_render’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/scrnintstr.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘glamor_xv_render’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_xv.c: scope_hint: In function ‘glamor_xv_render’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_xv.c: scope_hint: In function ‘glamor_xv_render’
Error: CLANG_WARNING: [#def192]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_xv.c:508:5: warning[deadcode.DeadStores]: Value stored to 's2offset' is never read
Error: CLANG_WARNING: [#def193]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_xv.c:508:16: warning[deadcode.DeadStores]: Although the value stored to 's3offset' is used in the enclosing expression, the value is never actually read from 's3offset'
Error: CLANG_WARNING: [#def194]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_xv.c:508:27: warning[deadcode.DeadStores]: Although the value stored to 'srcPitch2' is used in the enclosing expression, the value is never actually read from 'srcPitch2'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def195]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/createcontext.c: scope_hint: In function ‘__glXDisp_CreateContextAttribsARB’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/createcontext.c:174:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: CLANG_WARNING: [#def196]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/glxcmds.c:126:9: warning[core.NullDereference]: Access to field 'class' results in a dereference of a null pointer (loaded from variable 'pVisual')
Error: GCC_ANALYZER_WARNING (CWE-476): [#def197]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/glxcmds.c: scope_hint: In function ‘validGlxFBConfigForWindow’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/glxcmds.c:126:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pVisual’
Error: CLANG_WARNING: [#def198]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/glxcmds.c:1001:13: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
Error: CLANG_WARNING: [#def199]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/glxcmds.c:1125:13: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
Error: CLANG_WARNING: [#def200]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/glxcmds.c:1702:9: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
Error: CLANG_WARNING: [#def201]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/glxcmds.c:1946:9: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
Error: GCC_ANALYZER_WARNING (CWE-476): [#def202]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/glxdricommon.c: scope_hint: In function ‘createModeFromConfig’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/glxdricommon.c:142:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘config’
Error: CLANG_WARNING: [#def203]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/indirect_dispatch.c:71:5: warning[deadcode.DeadStores]: Value stored to 'pc' is never read
Error: CLANG_WARNING: [#def204]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/indirect_dispatch.c:91:19: warning[deadcode.DeadStores]: Value stored to 'lists' during its initialization is never read
Error: CLANG_WARNING: [#def205]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/indirect_dispatch.c:1588:5: warning[deadcode.DeadStores]: Value stored to 'pc' is never read
Error: CLANG_WARNING: [#def206]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/indirect_dispatch_swap.c:175:5: warning[deadcode.DeadStores]: Value stored to 'pc' is never read
Error: CLANG_WARNING: [#def207]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/indirect_dispatch_swap.c:1789:5: warning[deadcode.DeadStores]: Value stored to 'pc' is never read
Error: CLANG_WARNING: [#def208]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/single2.c:174:13: warning[deadcode.DeadStores]: Value stored to 'nitems' is never read
Error: CLANG_WARNING: [#def209]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/single2.c:315:13: warning[unix.Malloc]: Potential leak of memory pointed to by 'combo_string'
Error: CLANG_WARNING: [#def210]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glx/single2swap.c:185:13: warning[deadcode.DeadStores]: Value stored to 'nitems' is never read
Error: GCC_ANALYZER_WARNING (CWE-476): [#def211]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/vfb/InitOutput.c: scope_hint: In function ‘vfbInstallColormap.part.0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/vfb/InitOutput.c:413:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ppix’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:119: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/screenint.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/scrnintstr.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/vfb/InitOutput.c:40: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/vfb/InitOutput.c:408:16: note: in expansion of macro ‘xallocarray’
Error: CLANG_WARNING: [#def212]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-drm-lease.c:144:13: warning[core.NullDereference]: Access to field 'drm_lease_device' results in a dereference of a null pointer (loaded from variable 'lease_device')
Error: GCC_ANALYZER_WARNING (CWE-476): [#def213]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-drm-lease.c: scope_hint: In function ‘xwl_screen_add_drm_lease_device’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-drm-lease.c:424:35: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘device_data’
Error: CLANG_WARNING: [#def214]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-glamor.c:955:10: warning[core.NullDereference]: Access to field 'class' results in a dereference of a null pointer (loaded from variable 'window_visual')
Error: GCC_ANALYZER_WARNING (CWE-476): [#def215]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-glamor.c: scope_hint: In function ‘xwl_avoid_implicit_redirect’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-glamor.c:955:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘window_visual’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def216]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-input.c: scope_hint: In function ‘xwl_pointer_warp_emulator_lock’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-input.c:3196:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘warp_emulator’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def217]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-input.c:3197:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘xwl_seat’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-input.c: scope_hint: In function ‘xwl_pointer_warp_emulator_lock’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def218]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-input.c: scope_hint: In function ‘xwl_seat_create_pointer_warp_emulator’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-input.c:3323:1: warning[-Wanalyzer-malloc-leak]: leak of ‘*xwl_seat.pointer_warp_emulator’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-input.c: scope_hint: In function ‘xwl_seat_create_pointer_warp_emulator’
Error: CLANG_WARNING: [#def219]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-output.c:407:13: warning[core.NullDereference]: Array access (via field 'modes') results in a null pointer dereference
Error: GCC_ANALYZER_WARNING (CWE-476): [#def220]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-screen.c: scope_hint: In function ‘xwl_cursor_warped_to’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-screen.c:260:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘xwl_seat’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/scrnintstr.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.h:32: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-screen.c:33: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘xwl_cursor_warped_to’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-screen.c: scope_hint: In function ‘xwl_cursor_warped_to’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-screen.c: scope_hint: In function ‘xwl_cursor_warped_to’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-screen.c: scope_hint: In function ‘xwl_cursor_warped_to’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def221]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-screen.c: scope_hint: In function ‘registry_global.part.0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-screen.c:452:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘queued’
Error: CLANG_WARNING: [#def222]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-window-buffers.c:185:16: warning[unix.Malloc]: Use of memory after it is freed
Error: GCC_ANALYZER_WARNING (CWE-476): [#def223]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-xtest.c: scope_hint: In function ‘setup_ei’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-xtest.c:360:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xwl_ei_client’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dix.h:54: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dixstruct.h:28: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/inputstr.h:55: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-xtest.c:28: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h: scope_hint: In function ‘setup_ei’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-xtest.c: scope_hint: In function ‘setup_ei’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-xtest.c: scope_hint: In function ‘setup_ei’
Error: CLANG_WARNING: [#def224]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/hw/xwayland/xwayland-xtest.c:790:21: warning[unix.Malloc]: Use of memory after it is freed
Error: GCC_ANALYZER_WARNING (CWE-401): [#def225]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c: scope_hint: In function ‘ProcRRGetCrtcGamma’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dix.h:73:19: warning[-Wanalyzer-malloc-leak]: leak of ‘extra’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1686:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1686:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1687:5: note: in expansion of macro ‘VERIFY_RR_CRTC’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1687:5: note: in expansion of macro ‘VERIFY_RR_CRTC’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1686:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def226]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h:151: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/scrnintstr.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compint.h:52: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compext.c:48: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compext.c: scope_hint: In function ‘PanoramiXCompositeNameWindowPixmap’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dix.h:73:19: warning[-Wanalyzer-malloc-leak]: leak of ‘newPix’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compext.c:712:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compext.c:712:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compext.c:720:5: note: in expansion of macro ‘LEGAL_NEW_RESOURCE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compext.c:720:5: note: in expansion of macro ‘LEGAL_NEW_RESOURCE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiXsrv.h:9: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compext.c:592: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/panoramiX.h:74:25: note: in expansion of macro ‘FOR_NSCREENS_FORWARD’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compext.c:729:5: note: in expansion of macro ‘FOR_NSCREENS’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compext.c:743:14: note: in expansion of macro ‘GetCompWindow’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compext.c:743:14: note: in expansion of macro ‘GetCompWindow’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compext.c: scope_hint: In function ‘PanoramiXCompositeNameWindowPixmap’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compext.c:743:14: note: in expansion of macro ‘GetCompWindow’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/composite/compext.c:712:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def227]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h:151: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/pixmapstr.h:52: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:51: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c:37: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c: scope_hint: In function ‘ProcShapeGetRectangles’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dix.h:73:19: warning[-Wanalyzer-malloc-leak]: leak of ‘rects’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c:951:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c:1194:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c:35: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c:1195:5: note: in expansion of macro ‘swapl’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c:951:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:197:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c:963:18: note: in expansion of macro ‘wInputShape’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:197:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c:963:18: note: in expansion of macro ‘wInputShape’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:119: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c: scope_hint: In function ‘ProcShapeGetRectangles’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c:1000:17: note: in expansion of macro ‘xallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/shape.c:951:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def228]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/list.h:135:16: warning[-Wanalyzer-malloc-leak]: leak of ‘AllocBarrierDevice()’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/xibarriers.c: scope_hint: In function ‘CreatePointerBarrierClient’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/xibarriers.c:569:10: note: in expansion of macro ‘GetBarrierScreen’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dix.h:54: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/xibarriers.c: scope_hint: In function ‘CreatePointerBarrierClient’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/xibarriers.c:569:10: note: in expansion of macro ‘GetBarrierScreen’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/list.h:387:30: note: in definition of macro ‘nt_list_for_each_entry’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def229]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/input.h:58: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dix.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dixstruct.h:28: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c:16: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c: scope_hint: In function ‘DestroyFragments’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/list.h:325:10: warning[-Wanalyzer-infinite-loop]: infinite loop
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c:137:5: note: in expansion of macro ‘xorg_list_for_each_entry_safe’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c:137:5: note: in expansion of macro ‘xorg_list_for_each_entry_safe’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c:137:5: note: in expansion of macro ‘xorg_list_for_each_entry_safe’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c: scope_hint: In function ‘DestroyFragments’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c:137:5: note: in expansion of macro ‘xorg_list_for_each_entry_safe’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xext/xres.c:137:5: note: in expansion of macro ‘xorg_list_for_each_entry_safe’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def230]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/input.h:58: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/inputstr.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/gestures.c:30: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/gestures.c: scope_hint: In function ‘GestureAddRegularListener’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/list.h:387:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/gestures.c:235:9: note: in expansion of macro ‘nt_list_for_each_entry’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/gestures.c:39: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:190:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/gestures.c:232:18: note: in expansion of macro ‘wOtherInputMasks’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:190:33: note: in expansion of macro ‘wUseDefault’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/gestures.c:232:18: note: in expansion of macro ‘wOtherInputMasks’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/gestures.c:235:9: note: in expansion of macro ‘nt_list_for_each_entry’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/dix/gestures.c:235:9: note: in expansion of macro ‘nt_list_for_each_entry’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def231]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/glyph.c:31: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/glyph.c: scope_hint: In function ‘ResizeGlyphHash’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:107:14: warning[-Wanalyzer-malloc-leak]: leak of ‘newHash.table’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/glyph.c:412:16: note: in expansion of macro ‘TRUE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/glyph.c: scope_hint: In function ‘ResizeGlyphHash’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/glyph.c:412:16: note: in expansion of macro ‘TRUE’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def232]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/screenint.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/scrnintstr.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor.h:32: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_priv.h:32: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_compositerects.c:30: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_compositerects.c: scope_hint: In function ‘_pixman_region_init_clipped_rectangles’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:108:15: warning[-Wanalyzer-malloc-leak]: leak of ‘boxes’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_compositerects.c:62:20: note: in expansion of macro ‘FALSE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:119: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_compositerects.c:60:17: note: in expansion of macro ‘xallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_compositerects.c:60:17: note: in expansion of macro ‘xallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/glamor/glamor_compositerects.c:62:20: note: in expansion of macro ‘FALSE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def233]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/input.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/inputstr.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/getfctl.c:57: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/getfctl.c: scope_hint: In function ‘CopySwapKbdFeedback’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:361:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*k2.led_values’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/getfctl.c:108:9: note: in expansion of macro ‘swapl’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dixstruct.h:28: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/inputstr.h:55: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/getfctl.c:292:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/getfctl.c:104:9: note: in expansion of macro ‘swaps’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/Xi/getfctl.c:108:9: note: in expansion of macro ‘swapl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def234]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:64: warning[-Wanalyzer-malloc-leak]: leak of ‘rmlvo_dflts.layout’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:528:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:528:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:529:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:530:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:531:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:528:5: note: in expansion of macro ‘BUG_RETURN_VAL’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def235]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:64: warning[-Wanalyzer-malloc-leak]: leak of ‘rmlvo_dflts.model’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:528:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:528:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:529:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:530:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:531:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:528:5: note: in expansion of macro ‘BUG_RETURN_VAL’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def236]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:42: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c: scope_hint: In function ‘InitKeyboardDeviceStructInternal’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:64: warning[-Wanalyzer-malloc-leak]: leak of ‘rmlvo_dflts.options’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:528:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:528:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:529:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:530:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:531:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:528:5: note: in expansion of macro ‘BUG_RETURN_VAL’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def237]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:64: warning[-Wanalyzer-malloc-leak]: leak of ‘rmlvo_dflts.rules’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:528:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:528:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:529:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:530:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:531:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:528:5: note: in expansion of macro ‘BUG_RETURN_VAL’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def238]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:64: warning[-Wanalyzer-malloc-leak]: leak of ‘rmlvo_dflts.variant’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:528:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:528:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:529:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:530:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:441:18: note: in definition of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:531:5: note: in expansion of macro ‘BUG_RETURN_VAL’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:528:5: note: in expansion of macro ‘BUG_RETURN_VAL’
Error: CLANG_WARNING: [#def239]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrpointer.c:23: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/randrstr.h:40: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dixstruct.h:28: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dix.h:54: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/privates.h:123:21: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'privates')
Error: GCC_ANALYZER_WARNING (CWE-126): [#def240]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/regionstr.h:74:18: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c: scope_hint: In function ‘fbOverlayCopyWindow’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c:32: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/scrnintstr.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c: scope_hint: In function ‘fbOverlayCopyWindow’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c: scope_hint: In function ‘fbOverlayCopyWindow’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c: scope_hint: In function ‘fbOverlayCopyWindow’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/regionstr.h:74:18: note: read of 8 bytes from after the end of ‘layerRgn’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/regionstr.h:74:18: note: valid subscripts for ‘layerRgn’ are ‘[0]’ to ‘[1]’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def241]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/regionstr.h: scope_hint: In function ‘RegionUninit’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/regionstr.h:165:16: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c: scope_hint: In function ‘RegionUninit’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c: scope_hint: In function ‘RegionUninit’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c: scope_hint: In function ‘RegionUninit’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c: scope_hint: In function ‘RegionUninit’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/regionstr.h:165:16: note: read of 8 bytes from after the end of ‘layerRgn’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/regionstr.h:165:16: note: valid subscripts for ‘layerRgn’ are ‘[0]’ to ‘[1]’
Error: CLANG_WARNING: [#def242]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miexpose.c:83: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/regionstr.h:165:26: warning[unix.Malloc]: Use of memory after it is freed
Error: GCC_ANALYZER_WARNING (CWE-590): [#def243]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/scrnintstr.h:51: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c:30: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/regionstr.h: scope_hint: In function ‘RegionUninit’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/regionstr.h:166:9: warning[-Wanalyzer-free-of-non-heap]: ‘free’ of ‘&RegionEmptyData’ which points to memory not on the heap
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c:42: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damagestr.h:102:32: note: in expansion of macro ‘damageGetGCPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c:363:5: note: in expansion of macro ‘damageGCPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c:1417:5: note: in expansion of macro ‘DAMAGE_GC_OP_PROLOGUE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/scrnintstr.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c: scope_hint: In function ‘RegionUninit’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damagestr.h:102:32: note: in expansion of macro ‘damageGetGCPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c:363:5: note: in expansion of macro ‘damageGCPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c:1417:5: note: in expansion of macro ‘DAMAGE_GC_OP_PROLOGUE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c: scope_hint: In function ‘RegionUninit’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damagestr.h:87:36: note: in expansion of macro ‘damageGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c:137:5: note: in expansion of macro ‘damageScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c: scope_hint: In function ‘RegionUninit’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damagestr.h:87:36: note: in expansion of macro ‘damageGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c:137:5: note: in expansion of macro ‘damageScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c:116:27: note: in expansion of macro ‘getDrawableDamage’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c:138:5: note: in expansion of macro ‘drawableDamage’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c:109:12: note: in expansion of macro ‘getPixmapDamageRef’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c: scope_hint: In function ‘RegionUninit’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c:109:12: note: in expansion of macro ‘getPixmapDamageRef’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c:116:27: note: in expansion of macro ‘getDrawableDamage’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c:138:5: note: in expansion of macro ‘drawableDamage’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/miext/damage/damage.c: scope_hint: In function ‘RegionUninit’
Error: CLANG_WARNING: [#def244]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/micopy.c:27: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mi.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/region.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/regionstr.h:166:9: warning[unix.Malloc]: Argument to free() is the address of the global variable 'RegionEmptyData', which is not memory allocated by malloc()
Error: GCC_ANALYZER_WARNING (CWE-121): [#def245]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/regionstr.h:167:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c: scope_hint: In function ‘RegionUninit’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c:193:36: note: in expansion of macro ‘fbOverlayGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c: scope_hint: In function ‘RegionUninit’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c: scope_hint: In function ‘RegionUninit’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/fb/fboverlay.c: scope_hint: In function ‘RegionUninit’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/regionstr.h:167:23: note: write of 8 bytes to beyond the end of ‘layerRgn’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/regionstr.h:167:23: note: valid subscripts for ‘layerRgn’ are ‘[0]’ to ‘[1]’
Error: CLANG_WARNING: [#def246]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:395:5: warning[deadcode.DeadStores]: Value stored to 'y' is never read
Error: CLANG_WARNING: [#def247]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:814:25: warning[core.UndefinedBinaryOperatorResult]: The right operand of '+' is a garbage value
Error: GCC_ANALYZER_WARNING (CWE-457): [#def248]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c: scope_hint: In function ‘miFillWideEllipse’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:814:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*span.lx’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:63: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:398:5: note: in expansion of macro ‘MIWIDEARCSETUP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:398:5: note: in expansion of macro ‘MIWIDEARCSETUP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:398:5: note: in expansion of macro ‘MIWIDEARCSETUP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:398:5: note: in expansion of macro ‘MIWIDEARCSETUP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:402:9: note: in expansion of macro ‘MIWIDEARCSETUP’
Error: CLANG_WARNING: [#def249]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:834:25: warning[core.UndefinedBinaryOperatorResult]: The right operand of '+' is a garbage value
Error: GCC_ANALYZER_WARNING (CWE-457): [#def250]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:834:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*span.lx’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:398:5: note: in expansion of macro ‘MIWIDEARCSETUP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:398:5: note: in expansion of macro ‘MIWIDEARCSETUP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:398:5: note: in expansion of macro ‘MIWIDEARCSETUP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:398:5: note: in expansion of macro ‘MIWIDEARCSETUP’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def251]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:853:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*span.rw’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:398:5: note: in expansion of macro ‘MIWIDEARCSETUP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:398:5: note: in expansion of macro ‘MIWIDEARCSETUP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:398:5: note: in expansion of macro ‘MIWIDEARCSETUP’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:398:5: note: in expansion of macro ‘MIWIDEARCSETUP’
Error: CLANG_WARNING: [#def252]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:868:13: warning[deadcode.DeadStores]: Value stored to 'wids' is never read
Error: CLANG_WARNING: [#def253]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:1130:17: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
Error: GCC_ANALYZER_WARNING (CWE-787): [#def254]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c: scope_hint: In function ‘miComputeArcs’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:2157:36: warning[-Wanalyzer-out-of-bounds]: buffer over-read
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:119: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:56: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:1901:12: note: in expansion of macro ‘xallocarray’
Error: CLANG_WARNING: [#def255]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:2518:5: warning[deadcode.DeadStores]: Value stored to 'x0' is never read
Error: CLANG_WARNING: [#def256]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:2519:5: warning[deadcode.DeadStores]: Value stored to 'x1' is never read
Error: CLANG_WARNING: [#def257]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:2520:5: warning[deadcode.DeadStores]: Value stored to 'y0' is never read
Error: CLANG_WARNING: [#def258]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miarc.c:3431:23: warning[core.BitwiseShift]: Right operand is negative in left shift
Error: CLANG_WARNING: [#def259]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mibitblt.c:139:16: warning[deadcode.DeadStores]: Although the value stored to 'ppt' is used in the enclosing expression, the value is never actually read from 'ppt'
Error: CLANG_WARNING: [#def260]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mibitblt.c:140:19: warning[deadcode.DeadStores]: Although the value stored to 'pwidth' is used in the enclosing expression, the value is never actually read from 'pwidth'
Error: CLANG_WARNING: [#def261]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mibitblt.c:671:1: warning[unix.Malloc]: Potential memory leak
Error: GCC_ANALYZER_WARNING (CWE-787): [#def262]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/micmap.c: scope_hint: In function ‘miInitVisuals’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/micmap.c:480:16: warning[-Wanalyzer-out-of-bounds]: buffer overflow
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/micmap.c:281:24: note: in expansion of macro ‘_RZ’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/micmap.c:331:19: note: in expansion of macro ‘_RM’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:119: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/screenint.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/scrnintstr.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/micmap.c:36: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/micmap.c:461:13: note: in expansion of macro ‘xallocarray’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def263]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/micmap.c:503:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vid’
Error: CLANG_WARNING: [#def264]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/micmap.c:503:32: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'vid')
Error: CLANG_WARNING: [#def265]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/midash.c:78:21: warning[core.DivideZero]: Division by zero
Error: CLANG_WARNING: [#def266]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mieq.c:503:9: warning[core.NullDereference]: Dereference of null pointer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def267]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miexpose.c: scope_hint: In function ‘miPaintWindow’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miexpose.c:553:47: warning[-Wanalyzer-malloc-leak]: leak of ‘prect’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:119: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miexpose.c:82: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miexpose.c:538:13: note: in expansion of macro ‘xallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miexpose.c: scope_hint: In function ‘miPaintWindow’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miexpose.c: scope_hint: In function ‘miPaintWindow’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def268]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miexpose.c:563:5: warning[-Wanalyzer-malloc-leak]: leak of ‘prect’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miexpose.c:538:13: note: in expansion of macro ‘xallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miexpose.c: scope_hint: In function ‘miPaintWindow’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miexpose.c: scope_hint: In function ‘miPaintWindow’
Error: CLANG_WARNING: [#def269]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mifillarc.c:566:9: warning[deadcode.DeadStores]: Value stored to 'slw' is never read
Error: CLANG_WARNING: [#def270]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mifillarc.c:610:9: warning[deadcode.DeadStores]: Value stored to 'slw' is never read
Error: GCC_ANALYZER_WARNING (CWE-416): [#def271]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miinitext.c: scope_hint: In function ‘InitExtensions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miinitext.c:267:16: warning[-Wanalyzer-use-after-free]: use after ‘reallocarray’ of ‘ext’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miinitext.c: scope_hint: In function ‘InitExtensions’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miinitext.c: scope_hint: In function ‘InitExtensions’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def272]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miinitext.c: scope_hint: In function ‘NewExtensionModuleList’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miinitext.c:288:27: warning[-Wanalyzer-double-free]: double-‘reallocarray’ of ‘save’
Error: CLANG_WARNING: [#def273]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mioverlay.c:1733:10: warning[core.NullDereference]: Access to field 'firstChild' results in a dereference of a null pointer (loaded from variable 'parent')
Error: CLANG_WARNING: [#def274]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mipoly.c:629:32: warning[core.NullDereference]: Dereference of null pointer
Error: CLANG_WARNING: [#def275]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mipoly.c:645:45: warning[core.NullDereference]: Access to field 'ymax' results in a dereference of a null pointer (loaded from variable 'pAET')
Error: GCC_ANALYZER_WARNING (CWE-476): [#def276]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mipoly.c:646:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pWETE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:137:28: note: in definition of macro ‘max’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mipoly.c:645:25: note: in expansion of macro ‘EVALUATEEDGEWINDING’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mipoly.c:645:25: note: in expansion of macro ‘EVALUATEEDGEWINDING’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mipoly.c:645:25: note: in expansion of macro ‘EVALUATEEDGEWINDING’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mipoly.c:645:25: note: in expansion of macro ‘EVALUATEEDGEWINDING’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def277]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mipoly.c:61: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mipoly.c: scope_hint: In function ‘miFillGeneralPoly’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mipoly.h:162:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pAET’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mipoly.c:593:17: note: in expansion of macro ‘EVALUATEEDGEEVENODD’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/window.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/windowstr.h:50: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mipoly.c:56: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:137:28: note: in definition of macro ‘max’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mipoly.c:592:17: note: in expansion of macro ‘EVALUATEEDGEEVENODD’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mipoly.c:592:17: note: in expansion of macro ‘EVALUATEEDGEEVENODD’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mipoly.c:592:17: note: in expansion of macro ‘EVALUATEEDGEEVENODD’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mipoly.c:592:17: note: in expansion of macro ‘EVALUATEEDGEEVENODD’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mipoly.c:593:17: note: in expansion of macro ‘EVALUATEEDGEEVENODD’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/mipoly.c:593:17: note: in expansion of macro ‘EVALUATEEDGEEVENODD’
Error: CLANG_WARNING: [#def278]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/mi/miwideline.c:1411:8: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
Error: CLANG_WARNING: [#def279]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/access.c:941:11: warning[deadcode.DeadStores]: Value stored to 'hostname' during its initialization is never read
Error: CLANG_WARNING: [#def280]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/access.c:1088:13: warning[deadcode.DeadStores]: Value stored to 'family' is never read
Error: CLANG_WARNING: [#def281]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/access.c:1446:32: warning[core.NullDereference]: Access to field 'errorValue' results in a dereference of a null pointer (loaded from variable 'client')
Error: CLANG_WARNING: [#def282]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/access.c:1452:28: warning[core.NullDereference]: Access to field 'errorValue' results in a dereference of a null pointer (loaded from variable 'client')
Error: GCC_ANALYZER_WARNING (CWE-401): [#def283]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/io.c: scope_hint: In function ‘FlushClient’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/io.c:838:16: warning[-Wanalyzer-malloc-leak]: leak of ‘obuf’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/io.c: scope_hint: In function ‘FlushClient’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/io.c:869:16: note: in definition of macro ‘InsertIOV’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/io.c:76: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/osdep.h:70:23: note: in definition of macro ‘ETEST’
Error: CLANG_WARNING: [#def284]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/log.c:837:29: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value due to array index out of bounds
Error: GCC_ANALYZER_WARNING (CWE-775): [#def285]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/osinit.c: scope_hint: In function ‘OsInit’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/osinit.c:325:1: warning[-Wanalyzer-file-leak]: leak of FILE ‘err’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def286]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/osinit.c:325:1: warning[-Wanalyzer-malloc-leak]: leak of ‘err’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def287]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/ospoll.c: scope_hint: In function ‘ospoll_create’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/ospoll.c:228:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ospoll’
Error: CLANG_WARNING: [#def288]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/ospoll.c:421:9: warning[deadcode.DeadStores]: Value stored to 'pos' during its initialization is never read
Error: GCC_ANALYZER_WARNING (CWE-476): [#def289]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/utils.c: scope_hint: In function ‘set_font_authorizations’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/utils.c:1116:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def290]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/utils.c: scope_hint: In function ‘Fopen’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/utils.c:1604:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(file, type)’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/utils.c:69: included_from: Included from here.
/usr/include/stdio.h:184:12: note: argument 1 of ‘fclose’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-762): [#def291]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/utils.c: scope_hint: In function ‘xstrtokenize’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/utils.c:2071:17: warning[-Wanalyzer-mismatching-deallocation]: ‘list’ should have been deallocated with ‘free’ but was deallocated with ‘reallocarray’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def292]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/xdmcp.c: scope_hint: In function ‘get_mcast_options’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/xdmcp.c:1511:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mcastinfo’
Error: COMPILER_WARNING (CWE-477): [#def293]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/xsha1.c: scope_hint: In function ‘x_sha1_init’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/xsha1.c:270:5: warning[-Wdeprecated-declarations]: ‘SHA1_Init’ is deprecated: Since OpenSSL 3.0
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/xsha1.c:260: included_from: Included from here.
/usr/include/openssl/sha.h:49:27: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def294]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/xsha1.c: scope_hint: In function ‘x_sha1_update’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/xsha1.c:284:5: warning[-Wdeprecated-declarations]: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0
/usr/include/openssl/sha.h:50:27: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def295]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/xsha1.c: scope_hint: In function ‘x_sha1_final’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/os/xsha1.c:296:5: warning[-Wdeprecated-declarations]: ‘SHA1_Final’ is deprecated: Since OpenSSL 3.0
/usr/include/openssl/sha.h:51:27: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def296]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/present/present_notify.c: scope_hint: In function ‘present_create_notifies’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/present/present_notify.c:83:19: warning[-Wanalyzer-malloc-leak]: leak of ‘notifies’
Error: CLANG_WARNING: [#def297]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/present/present_notify.c:95:12: warning[unix.Malloc]: Potential leak of memory pointed to by 'notifies'
Error: CLANG_WARNING: [#def298]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/randr.c:587:9: warning[deadcode.DeadStores]: Value stored to 'primary' is never read
Error: CLANG_WARNING: [#def299]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:195:5: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
Error: CLANG_WARNING: [#def300]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:195:5: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def301]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c: scope_hint: In function ‘RRCrtcSet’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:750:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘outputs’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dixstruct.h:28: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/randrstr.h:40: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:24: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1307:5: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1310:5: note: in expansion of macro ‘VERIFY_RR_CRTC’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1387:16: note: in expansion of macro ‘rrGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dix.h:54: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c: scope_hint: In function ‘RRCrtcSet’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1387:16: note: in expansion of macro ‘rrGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/randrstr.h:438:52: note: in expansion of macro ‘rrGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:746:5: note: in expansion of macro ‘rrScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c: scope_hint: In function ‘RRCrtcSet’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/randrstr.h:438:52: note: in expansion of macro ‘rrGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:746:5: note: in expansion of macro ‘rrScrPriv’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def302]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:764:10: warning[-Wanalyzer-null-argument]: use of NULL ‘outputs’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1307:5: note: in expansion of macro ‘REQUEST_AT_LEAST_SIZE’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1310:5: note: in expansion of macro ‘VERIFY_RR_CRTC’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1387:16: note: in expansion of macro ‘rrGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c: scope_hint: In function ‘RRCrtcSet’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1387:16: note: in expansion of macro ‘rrGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/randrstr.h:438:52: note: in expansion of macro ‘rrGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:746:5: note: in expansion of macro ‘rrScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c: scope_hint: In function ‘RRCrtcSet’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/randrstr.h:438:52: note: in expansion of macro ‘rrGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:746:5: note: in expansion of macro ‘rrScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/os.h:56: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:119: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/randrstr.h:38: included_from: Included from here.
/usr/include/string.h:64:12: note: argument 2 of ‘memcmp’ must be non-null
Error: CLANG_WARNING: [#def303]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:764:10: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
Error: CLANG_WARNING: [#def304]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1246:24: warning[core.NullDereference]: Array access (from variable 'outputs') results in a null pointer dereference
Error: CLANG_WARNING: [#def305]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1255:37: warning[core.NullDereference]: Array access (from variable 'possible') results in a null pointer dereference
Error: CLANG_WARNING: [#def306]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1392:9: warning[deadcode.DeadStores]: Value stored to 'time' is never read
Error: CLANG_WARNING: [#def307]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1600:9: warning[deadcode.DeadStores]: Value stored to 'time' is never read
Error: GCC_ANALYZER_WARNING (CWE-688): [#def308]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1714:9: warning[-Wanalyzer-null-argument]: use of NULL ‘extra’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1686:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1687:5: note: in expansion of macro ‘VERIFY_RR_CRTC’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1687:5: note: in expansion of macro ‘VERIFY_RR_CRTC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def309]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrcrtc.c:1876:5: warning[deadcode.DeadStores]: Value stored to 'extra' is never read
Error: CLANG_WARNING: [#def310]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrmonitor.c:170:19: warning[unix.Malloc]: Use of memory allocated with size zero
Error: CLANG_WARNING: [#def311]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:153:5: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
Error: CLANG_WARNING: [#def312]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:190:5: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def313]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c: scope_hint: In function ‘RROutputSetCrtcs’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:285:5: warning[-Wanalyzer-null-argument]: use of NULL ‘newCrtcs’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def314]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:285:5: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def315]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:540:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:466:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:467:5: note: in expansion of macro ‘VERIFY_RR_OUTPUT’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:467:5: note: in expansion of macro ‘VERIFY_RR_OUTPUT’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:472:16: note: in expansion of macro ‘rrGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c: scope_hint: In function ‘ProcRRGetOutputInfo’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:472:16: note: in expansion of macro ‘rrGetScrPriv’
Error: CLANG_WARNING: [#def316]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:540:22: warning[core.NullDereference]: Array access (from variable 'crtcs') results in a null pointer dereference
Error: CLANG_WARNING: [#def317]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:546:26: warning[core.NullDereference]: Array access (from variable 'modes') results in a null pointer dereference
Error: CLANG_WARNING: [#def318]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:548:26: warning[core.NullDereference]: Array access (from variable 'modes') results in a null pointer dereference
Error: CLANG_WARNING: [#def319]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:553:23: warning[core.NullDereference]: Array access (from variable 'clones') results in a null pointer dereference
Error: GCC_ANALYZER_WARNING (CWE-688): [#def320]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:558:5: warning[-Wanalyzer-null-argument]: use of NULL ‘name’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:466:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:467:5: note: in expansion of macro ‘VERIFY_RR_OUTPUT’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:467:5: note: in expansion of macro ‘VERIFY_RR_OUTPUT’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:472:16: note: in expansion of macro ‘rrGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c: scope_hint: In function ‘ProcRRGetOutputInfo’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:472:16: note: in expansion of macro ‘rrGetScrPriv’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def321]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rroutput.c:558:5: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def322]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrproperty.c: scope_hint: In function ‘RRConfigureOutputProperty’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrproperty.c:385:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘new_values’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:119: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/randrstr.h:38: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrproperty.c:23: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrproperty.c:378:18: note: in expansion of macro ‘xallocarray’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def323]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrprovider.c:113:9: warning[core.NullDereference]: Array access (from variable 'providers') results in a null pointer dereference
Error: CLANG_WARNING: [#def324]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrprovider.c:115:13: warning[core.NullDereference]: Array access (from variable 'providers') results in a null pointer dereference
Error: CLANG_WARNING: [#def325]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrprovider.c:201:18: warning[core.NullDereference]: Array access (from variable 'crtcs') results in a null pointer dereference
Error: CLANG_WARNING: [#def326]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrprovider.c:207:20: warning[core.NullDereference]: Array access (from variable 'outputs') results in a null pointer dereference
Error: CLANG_WARNING: [#def327]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrprovider.c:214:22: warning[core.NullDereference]: Array access (from variable 'providers') results in a null pointer dereference
Error: CLANG_WARNING: [#def328]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrprovider.c:223:22: warning[core.NullDereference]: Array access (from variable 'providers') results in a null pointer dereference
Error: CLANG_WARNING: [#def329]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrprovider.c:234:22: warning[core.NullDereference]: Array access (from variable 'providers') results in a null pointer dereference
Error: CLANG_WARNING: [#def330]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrprovider.c:247:5: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def331]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrproviderproperty.c: scope_hint: In function ‘RRConfigureProviderProperty’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrproviderproperty.c:360:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘new_values’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:119: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/randrstr.h:38: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrproviderproperty.c:23: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrproviderproperty.c:353:18: note: in expansion of macro ‘xallocarray’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def332]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrproviderproperty.c: scope_hint: In function ‘ProcRRListProviderProperties’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrproviderproperty.c:419:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘temppAtoms’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dixstruct.h:28: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/randrstr.h:40: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrproviderproperty.c:396:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrproviderproperty.c:398:5: note: in expansion of macro ‘VERIFY_RR_PROVIDER’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrproviderproperty.c:398:5: note: in expansion of macro ‘VERIFY_RR_PROVIDER’
Error: CLANG_WARNING: [#def333]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:449:18: warning[core.NullDereference]: Array access (from variable 'crtcs') results in a null pointer dereference
Error: CLANG_WARNING: [#def334]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:454:5: warning[core.NullDereference]: Array access (from variable 'crtcs') results in a null pointer dereference
Error: CLANG_WARNING: [#def335]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:454:5: warning[core.NullDereference]: Array access (from variable 'modeinfos') results in a null pointer dereference
Error: CLANG_WARNING: [#def336]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:454:5: warning[core.NullDereference]: Array access (from variable 'outputs') results in a null pointer dereference
Error: CLANG_WARNING: [#def337]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:462:9: warning[core.NullDereference]: Array access (from variable 'crtcs') results in a null pointer dereference
Error: CLANG_WARNING: [#def338]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:462:9: warning[core.NullDereference]: Array access (from variable 'modeinfos') results in a null pointer dereference
Error: CLANG_WARNING: [#def339]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:462:9: warning[core.NullDereference]: Array access (from variable 'outputs') results in a null pointer dereference
Error: CLANG_WARNING: [#def340]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:577:22: warning[core.NullDereference]: Array access (from variable 'crtcs') results in a null pointer dereference
Error: CLANG_WARNING: [#def341]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:588:36: warning[core.NullDereference]: Array access (from variable 'crtcs') results in a null pointer dereference
Error: CLANG_WARNING: [#def342]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:594:24: warning[core.NullDereference]: Array access (from variable 'outputs') results in a null pointer dereference
Error: CLANG_WARNING: [#def343]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:602:26: warning[core.NullDereference]: Array access (from variable 'modeinfos') results in a null pointer dereference
Error: GCC_ANALYZER_WARNING (CWE-476): [#def344]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c: scope_hint: In function ‘ProcRRGetScreenInfo’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:848:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘size’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dixstruct.h:28: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/randrstr.h:40: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:23: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:767:5: note: in expansion of macro ‘REQUEST_SIZE_MATCH’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:773:16: note: in expansion of macro ‘rrGetScrPriv’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/cursor.h:53: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/dix.h:54: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c: scope_hint: In function ‘ProcRRGetScreenInfo’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:773:16: note: in expansion of macro ‘rrGetScrPriv’
Error: CLANG_WARNING: [#def345]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:848:33: warning[core.NullDereference]: Access to field 'widthInPixels' results in a dereference of a null pointer (loaded from variable 'size')
Error: CLANG_WARNING: [#def346]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:946:9: warning[deadcode.DeadStores]: Value stored to 'time' is never read
Error: CLANG_WARNING: [#def347]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/randr/rrscreen.c:955:9: warning[deadcode.DeadStores]: Value stored to 'time' is never read
Error: CLANG_WARNING: [#def348]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/record/record.c:889:25: warning[core.NullDereference]: Access to field 'requestVector' results in a dereference of a null pointer (loaded from variable 'pClient')
Error: CLANG_WARNING: [#def349]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/record/record.c:2214:43: warning[core.NullDereference]: Dereference of null pointer
Error: GCC_ANALYZER_WARNING (CWE-688): [#def350]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/record/set.c: scope_hint: In function ‘IntervalListCreateSet’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/record/set.c:355:5: warning[-Wanalyzer-null-argument]: use of NULL ‘stackIntervals’ where non-null expected
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def351]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/record/set.c:355:5: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def352]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/filter.c: scope_hint: In function ‘SetPicturePictFilter’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/filter.c:348:36: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new_params’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:119: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/filter.c:27: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/filter.c:339:30: note: in expansion of macro ‘xallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/filter.c:339:30: note: in expansion of macro ‘xallocarray’
Error: CLANG_WARNING: [#def353]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/glyph.c:130:21: warning[core.DivideZero]: Division by zero
Error: GCC_ANALYZER_WARNING (CWE-476): [#def354]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/glyph.c: scope_hint: In function ‘AllocateGlyphHash’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/glyph.c:389:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hashSet’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/glyph.c: scope_hint: In function ‘AllocateGlyphHash’
Error: CLANG_WARNING: [#def355]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/miindex.c:99:12: warning[deadcode.DeadStores]: Although the value stored to 'gray' is used in the enclosing expression, the value is never actually read from 'gray'
Error: CLANG_WARNING: [#def356]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/miindex.c:157:59: warning[core.DivideZero]: Division by zero
Error: CLANG_WARNING: [#def357]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/picture.c:259:9: warning[deadcode.DeadStores]: Value stored to 'format' is never read
Error: CLANG_WARNING: [#def358]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/picture.c:1011:24: warning[core.NullDereference]: Access to field 'myNum' results in a dereference of a null pointer (loaded from variable 'screen')
Error: CLANG_WARNING: [#def359]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/render.c:1021:5: warning[deadcode.DeadStores]: Value stored to 'err' is never read
Error: CLANG_WARNING: [#def360]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/render.c:1619:26: warning[core.UndefinedBinaryOperatorResult]: The left operand of '>>' is a garbage value
Error: CLANG_WARNING: [#def361]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/render.c:1622:26: warning[core.UndefinedBinaryOperatorResult]: The left operand of '>>' is a garbage value
Error: CLANG_WARNING: [#def362]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/render/render.c:3252:20: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
Error: COMPILER_WARNING (CWE-252): [#def363]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/test/bigreq/request-length.c: scope_hint: In function ‘main’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/test/bigreq/request-length.c:65:5: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def364]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/test/damage/primitives.c: scope_hint: In function ‘compute_expected_damage’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/test/damage/primitives.c:68:48: warning[-Wanalyzer-malloc-leak]: leak of ‘get_image(setup, *setup.d)’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/test/damage/primitives.c:37: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/test/damage/primitives.c:364:5: note: in expansion of macro ‘test’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def365]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/test/damage/primitives.c: scope_hint: In function ‘get_image’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/test/damage/primitives.c:80:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘result’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CPPCHECK_WARNING (CWE-562): [#def366]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/test/damage/primitives.c:185: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def367]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/test/damage/primitives.c:186: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: COMPILER_WARNING (CWE-252): [#def368]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/test/simple-xinit.c: scope_hint: In function ‘handle_sigchld’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/test/simple-xinit.c:69:5: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def369]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/XKBAlloc.c: scope_hint: In function ‘SrvXkbAllocNames’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/XKBAlloc.c:141:20: warning[-Wanalyzer-malloc-leak]: leak of ‘*type.level_names’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def370]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/XKBGAlloc.c: scope_hint: In function ‘SrvXkbAddGeomProperty’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/XKBGAlloc.c:557:25: warning[-Wanalyzer-malloc-leak]: leak of ‘*prop.value’
Error: COMPILER_WARNING: [#def371]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/XKBMAlloc.c:664:21: warning[-Wuse-after-free]: pointer may be used after ‘reallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/XKBMAlloc.c:660:41: note: call to ‘reallocarray’ here
Error: COMPILER_WARNING: [#def372]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/XKBMAlloc.c:685:21: warning[-Wuse-after-free]: pointer may be used after ‘reallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/XKBMAlloc.c:681:36: note: call to ‘reallocarray’ here
Error: COMPILER_WARNING: [#def373]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/XKBMAlloc.c:708:21: warning[-Wuse-after-free]: pointer may be used after ‘reallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/XKBMAlloc.c:704:42: note: call to ‘reallocarray’ here
Error: COMPILER_WARNING: [#def374]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/XKBMAlloc.c:730:21: warning[-Wuse-after-free]: pointer may be used after ‘reallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/XKBMAlloc.c:726:41: note: call to ‘reallocarray’ here
Error: COMPILER_WARNING: [#def375]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/XKBMAlloc.c:752:21: warning[-Wuse-after-free]: pointer may be used after ‘reallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/XKBMAlloc.c:748:40: note: call to ‘reallocarray’ here
Error: COMPILER_WARNING: [#def376]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/XKBMAlloc.c:774:17: warning[-Wuse-after-free]: pointer may be used after ‘reallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/XKBMAlloc.c:771:32: note: call to ‘reallocarray’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def377]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/ddxLoad.c: scope_hint: In function ‘XkbDDXLoadKeymapByNames’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/ddxLoad.c:388:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘keybd’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def378]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/maprules.c: scope_hint: In function ‘InputLineAddChar’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/maprules.c:93:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘reallocarray(0, (long unsigned int)*line.sz_line, 2)’ where non-null expected
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/maprules.c:141:21: note: in expansion of macro ‘ADD_CHAR’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/maprules.c:141:21: note: in expansion of macro ‘ADD_CHAR’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/maprules.c:141:21: note: in expansion of macro ‘ADD_CHAR’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/maprules.c:141:21: note: in expansion of macro ‘ADD_CHAR’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/include/misc.h:119: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/maprules.c:45: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/maprules.c:92:26: note: in expansion of macro ‘xallocarray’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/maprules.c:92:26: note: in expansion of macro ‘xallocarray’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def379]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/maprules.c:167:25: warning[deadcode.DeadStores]: Value stored to 'inComment' is never read
Error: GCC_ANALYZER_WARNING (CWE-476): [#def380]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbActions.c: scope_hint: In function ‘_XkbFilterLatchState’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbActions.c:239:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pAction’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbActions.c:40: included_from: Included from here.
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbActions.c:1462:1: note: in expansion of macro ‘XkbLatchGroup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def381]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbActions.c: scope_hint: In function ‘_XkbNextFreeFilter’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbActions.c:1146:30: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*((struct _XkbSrvInfo *)xkbi).filters’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbActions.c:1462:1: note: in expansion of macro ‘XkbLatchGroup’
Error: CLANG_WARNING: [#def382]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:543:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'rmlvo_dflts.layout'
Error: CLANG_WARNING: [#def383]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:543:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'rmlvo_dflts.model'
Error: CLANG_WARNING: [#def384]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:543:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'rmlvo_dflts.options'
Error: CLANG_WARNING: [#def385]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:543:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'rmlvo_dflts.rules'
Error: CLANG_WARNING: [#def386]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbInit.c:543:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'rmlvo_dflts.variant'
Error: CLANG_WARNING: [#def387]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbLEDs.c:390:9: warning[deadcode.DeadStores]: Value stored to 'affect' is never read
Error: CLANG_WARNING: [#def388]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbLEDs.c:506:11: warning[core.NullDereference]: Access to field 'desc' results in a dereference of a null pointer (loaded from field 'xkbInfo')
Error: CLANG_WARNING: [#def389]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbLEDs.c:506:11: warning[core.NullDereference]: Access to field 'xkbInfo' results in a dereference of a null pointer (loaded from field 'key')
Error: CLANG_WARNING: [#def390]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbLEDs.c:649:17: warning[core.NullDereference]: Array access (via field 'names') results in a null pointer dereference
Error: CLANG_WARNING: [#def391]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:77:9: warning[deadcode.DeadStores]: Value stored to 'rc' during its initialization is never read
Error: GCC_ANALYZER_WARNING (CWE-688): [#def392]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c: scope_hint: In function ‘_XkbCopyClientMap’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:955:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def393]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:955:13: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def394]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:973:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def395]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:973:13: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def396]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:1149:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def397]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:1149:13: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def398]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c: scope_hint: In function ‘_XkbCopyServerMap’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:1185:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def399]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:1185:13: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def400]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:1201:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def401]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:1201:13: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def402]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:1219:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def403]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:1219:13: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def404]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:1235:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def405]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:1235:13: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def406]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:1253:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def407]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:1253:13: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def408]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c: scope_hint: In function ‘_XkbCopyNames’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:1290:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CLANG_WARNING: [#def409]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:1290:13: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
Error: CLANG_WARNING: [#def410]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbUtils.c:2112:10: warning[deadcode.DeadStores]: Value stored to 'nG' is never read
Error: CLANG_WARNING: [#def411]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbfmisc.c:291:13: warning[deadcode.DeadStores]: Value stored to 'wantNames' is never read
Error: CLANG_WARNING: [#def412]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkbout.c:750:31: warning[core.NullDereference]: Access to field 'top' results in a dereference of a null pointer (loaded from variable 'row')
Error: GCC_ANALYZER_WARNING (CWE-823): [#def413]
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkmread.c: scope_hint: In function ‘XkmGetCountedString’
xorg-x11-server-Xwayland-23.2.4-build/xwayland-23.2.4/xkb/xkmread.c:152:20: warning[-Wanalyzer-tainted-offset]: use of attacker-controlled value as offset without upper-bounds checking
Scan Properties
| analyzer-version-clang | 18.1.8 |
| analyzer-version-clippy | 1.80.1 |
| analyzer-version-cppcheck | 2.15.0 |
| analyzer-version-gcc | 14.2.1 |
| analyzer-version-gcc-analyzer | 14.2.1 |
| analyzer-version-shellcheck | 0.10.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clang, clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-8.us-west-2.compute.internal |
| mock-config | fedora-rawhide-x86_64 |
| project-name | xorg-x11-server-Xwayland-23.2.4-3.fc40 |
| store-results-to | /tmp/tmpaj91upmx/xorg-x11-server-Xwayland-23.2.4-3.fc40.tar.xz |
| time-created | 2024-09-05 13:55:29 |
| time-finished | 2024-09-05 14:01:13 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,clang,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpaj91upmx/xorg-x11-server-Xwayland-23.2.4-3.fc40.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmpaj91upmx/xorg-x11-server-Xwayland-23.2.4-3.fc40.src.rpm' |
| tool-version | csmock-3.6.1-1.el9 |