Alan Coopersmith 3cd7892e91 randr: handle -Wanalyzer-null-dereference in ProcRRGetOutputInfo()
Reported in #1817:
xwayland-24.1.6/redhat-linux-build/../randr/rroutput.c:540:13:
 warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’

The NULL dereference was only theoretically possible if the sum of
the sizes wrapped around to 0, but this ensures a NULL dereference
won't happen even in that case.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2165>
2026-04-04 16:10:16 +00:00
2026-03-03 06:50:01 -03:00
2026-03-03 06:50:01 -03:00
2026-03-03 06:50:01 -03:00
2026-03-03 06:50:01 -03:00
2026-03-03 06:50:01 -03:00
2026-03-03 06:50:01 -03:00
2026-03-14 16:52:19 +00:00
2021-11-04 13:03:25 +00:00
2024-01-12 00:50:24 +00:00
2026-01-25 10:40:01 -08:00
2020-07-05 13:07:33 -07:00
2026-01-25 10:40:03 -08:00
2026-01-25 10:40:01 -08:00

X Server

The X server accepts requests from client applications to create windows, which are (normally rectangular) "virtual screens" that the client program can draw into.

Windows are then composed on the actual screen by the X server (or by a separate composite manager) as directed by the window manager, which usually communicates with the user via graphical controls such as buttons and draggable titlebars and borders.

For a comprehensive overview of X Server and X Window System, consult the following article: https://en.wikipedia.org/wiki/X_server

All questions regarding this software should be directed at the Xorg mailing list:

https://lists.freedesktop.org/mailman/listinfo/xorg

The primary development code repository can be found at:

https://gitlab.freedesktop.org/xorg/xserver

For patch submission instructions, see:

https://www.x.org/wiki/Development/Documentation/SubmittingPatches

As with other projects hosted on freedesktop.org, X.Org follows its Code of Conduct, based on the Contributor Covenant. Please conduct yourself in a respectful and civilized manner when using the above mailing lists, bug trackers, etc:

https://www.freedesktop.org/wiki/CodeOfConduct

Description
Truly free fork of the XOrg project.
Readme 75 MiB
Languages
C 96.4%
Roff 1.1%
Objective-C 1%
Meson 0.9%
Shell 0.2%
Other 0.2%