XLibre Xserver
Go to file
Olivier Fourdan e196535abb dix: Clear device sprite after free in AttachDevice()
The code in AttachDevice() may free the dev->spriteInfo->sprite under
some circumstances and later call GetCurrentRootWindow() which uses
the same dev->spriteInfo->sprite.

While it seems unlikely that this is actually an issue, considering the
cases where one or the other get called, it still makes the code look
suspicious.

Make sure to clear set dev->spriteInfo->sprite to NULL  immediately
after it's freed to avoid any confusion, even if only to clarify the
code.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1436
2023-02-09 23:54:11 +00:00
.gitlab-ci ci: Export LP_NUM_THREADS=0 for meson test 2023-01-19 15:11:17 +01:00
Xext Xext: fix invalid event type mask in XTestSwapFakeInput 2022-12-19 10:14:47 +10:00
Xi Xi: fix potential use-after-free in DeepCopyPointerClasses 2023-02-07 10:07:18 +10:00
composite Remove autotools support 2021-10-27 13:15:40 +03:00
config config: add a quirk for Apple Silicon appledrm 2023-01-11 10:01:29 +00:00
damageext Remove autotools support 2021-10-27 13:15:40 +03:00
dbe Remove autotools support 2021-10-27 13:15:40 +03:00
dix dix: Clear device sprite after free in AttachDevice() 2023-02-09 23:54:11 +00:00
doc Remove autotools support 2021-10-27 13:15:40 +03:00
dri3 dri3: Don't compute intersection with drawable modifiers 2023-01-20 17:56:54 +00:00
exa rootless: Use screen_x and screen_y instead of pixmap pointer hacks 2023-01-20 17:10:54 +00:00
fb rootless: Use screen_x and screen_y instead of pixmap pointer hacks 2023-01-20 17:10:54 +00:00
glamor glamor: handle EXT_gpu_shader4 in dual source blend paths 2023-02-10 07:38:11 +10:00
glx GLX: Free the tag of the old context later 2022-12-09 15:10:09 +00:00
hw xwayland: wl_pointer.axis_v120 is no longer optional 2023-02-09 22:57:00 +00:00
include xwayland: wl_pointer.axis_v120 is no longer optional 2023-02-09 22:57:00 +00:00
m4 Add ax_pthread.m4 to m4/ 2016-05-29 19:20:51 -07:00
man Disallow byte-swapped clients by default 2023-01-06 11:59:37 +10:00
mi rootless: Use screen_x and screen_y instead of pixmap pointer hacks 2023-01-20 17:10:54 +00:00
miext rootless: Use screen_x and screen_y instead of pixmap pointer hacks 2023-01-20 17:10:54 +00:00
os darwin: Implement DetermineClientCmd for macOS 2023-01-26 17:51:16 +00:00
present rootless: Use screen_x and screen_y instead of pixmap pointer hacks 2023-01-20 17:10:54 +00:00
pseudoramiX Remove autotools support 2021-10-27 13:15:40 +03:00
randr randr: introduce rrCrtcGetInfo DDX function 2023-01-03 23:27:29 +07:00
record record: Fix out of bounds access in SwapCreateRegister() 2021-12-14 15:00:00 +02:00
render glamor: fix CbCr format handling 2022-12-01 08:41:57 +00:00
test glamor: make use of GL_EXT_texture_format_BGRA8888 2022-12-01 08:41:57 +00:00
xfixes xfixes: Fix out of bounds access in *ProcXFixesCreatePointerBarrier() 2021-12-14 15:00:01 +02:00
xkb xkb: reset the radio_groups pointer to NULL after freeing it 2022-12-14 11:02:40 +10:00
.appveyor.yml appveyor: Add libxcvt build dep 2021-11-04 13:03:25 +00:00
.dir-locals.el .dir-locals.el: Add missing final newline 2019-10-01 17:05:28 +00:00
.gitignore .gitignore: Add new autotools file 'test-driver' 2014-04-21 13:41:42 -07:00
.gitlab-ci.yml ci: Move dist testing to a separate job 2023-01-19 15:08:57 +01:00
.travis.yml travis: Add OSX meson build to matrix 2019-05-02 15:42:58 +00:00
COPYING modesetting: Merge modesetting's COPYING into the xserver's. 2014-09-15 12:46:02 -07:00
README.md Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
meson.build xwayland: wl_pointer.axis_v120 is no longer optional 2023-02-09 22:57:00 +00:00
meson_options.txt meson: add fontrootdir option to drop font-utils dependency 2022-11-28 22:57:56 +00:00
xorg-server.m4 xorg-server.m4: just all cflags instead of just sdkdir 2018-09-20 20:12:24 +01:00
xorg-server.pc.in xfree86: link modules against Xorg symbols on Cygwin 2012-04-05 21:57:07 -05:00
xserver.ent.in doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07: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