XLibre Xserver
Go to file
Enrico Weigelt, metux IT consult 1fff8fc432 (!1970) Xext: sync: protect from NULL pointer dereference
> ../Xext/sync.c: In function ‘IdleTimeQueryValue’:
> ../Xext/sync.c:2654:18: warning: dereference of NULL ‘priv’ [CWE-476] [-Wanalyzer-null-dereference]
>  2654 |         deviceid = priv->deviceid;
>       |         ~~~~~~~~~^~~~~~~~~~~~~~~~

> ../Xext/sync.c: In function ‘IdleTimeBlockHandler’:
> ../Xext/sync.c:2666:14: warning: dereference of NULL ‘priv’ [CWE-476] [-Wanalyzer-null-dereference]
>  2666 |     int64_t *less = priv->value_less;
>       |              ^~~~

> ../Xext/sync.c:2773:9: warning: dereference of NULL ‘priv’ [CWE-476] [-Wanalyzer-null-dereference]
>  2773 |     if (LastEventTimeWasReset(priv->deviceid)) {
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

> ../Xext/sync.c: In function ‘IdleTimeBracketValues’:
> ../Xext/sync.c:2791:14: warning: dereference of NULL ‘priv’ [CWE-476] [-Wanalyzer-null-dereference]
>  2791 |     int64_t *less = priv->value_less;
>       |              ^~~~

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 11:37:31 +02:00
.gitlab-ci ci: Install XCB dependencies for meson tests 2025-02-26 09:57:07 +01:00
Xext (!1970) Xext: sync: protect from NULL pointer dereference 2025-06-03 11:37:31 +02:00
Xi (!1981) Xi: exevents: extra asserts on NULL pointers 2025-06-03 11:37:31 +02:00
composite (!1989) panoramix: replace FOR_NSCREENS() by FOR_NSCREENS_BACKWARD(i) 2025-06-03 11:37:30 +02:00
config
damageext os: unexport SetCriticalOutputPending() 2025-02-23 17:39:18 +00:00
dbe dbe: fix byte swapping in SProcDbeSwapBuffers() 2025-02-24 16:24:53 +01:00
dix (!1986) XI: unexport XIPropToInt() and XIPropToFloat() 2025-06-03 11:37:30 +02:00
doc (!2007) dix: unexport and document ClientSignal() 2025-06-03 11:37:29 +02:00
dri3
exa
fb
glamor (!1975) glamor: fix segfault on calloc() failure 2025-06-03 11:37:31 +02:00
glx
hw (!1974) os: drop self-limiting resources 2025-06-03 11:37:31 +02:00
include (!1982) include: don't install propertyst.h 2025-06-03 11:37:31 +02:00
man (!1974) os: drop self-limiting resources 2025-06-03 11:37:31 +02:00
mi (!1980) mi: miwideline: fix uninitialized fields in miWideLine() 2025-06-03 11:37:31 +02:00
miext
os (!1973) os: don't ever try to mess with stderr / fd 2 2025-06-03 11:37:31 +02:00
present (!1985) randr: unexport and document RRCrtcExists() 2025-06-03 11:37:30 +02:00
pseudoramiX
randr (!1972) randr: add BUG_* checks for possible NULL pointer issue 2025-06-03 11:37:31 +02:00
record (!2007) dix: rename IsMaster to InputDevIsMaster() 2025-06-03 11:37:29 +02:00
render (!2007) dix: rename IsFloating() to InputDevIsFloating() 2025-06-03 11:37:29 +02:00
test (!2003) dix: unexport InitAtoms() and FreeAllAtoms() 2025-06-03 11:37:29 +02:00
xfixes (!2007) dix: rename IsMaster to InputDevIsMaster() 2025-06-03 11:37:29 +02:00
xkb (!1976) xkb: fix uninitialized variables in XkmReadFile() 2025-06-03 11:37:31 +02:00
.appveyor.yml
.dir-locals.el
.git-blame-ignore-revs
.gitignore
.gitlab-ci.yml ci: fix missing runner tag on FreeBSD jobs after gitlab migration 2025-04-01 18:02:55 +00:00
.mailmap Update mailmap for Peter Harris 2025-04-15 13:49:13 -04:00
.travis.yml
COPYING
README.md
meson.build meson.build: print a summary of the DDX to build 2025-03-24 03:05:35 +00:00
meson_options.txt
xorg-server.m4
xorg-server.pc.in pkgconfig files: Add URL 2025-03-09 07:32:28 +00:00
xserver.ent.in

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