xserver/hw
Matthieu Herrb fbc034e847 Fix a double-free on syntax error without a new line.
$ echo "#foo\nfoo" > custom_config $ X -config custom_config

will trigger the double free because the contents of xf86_lex_val.str
have been realloc()ed aready  when free is called in read.c:209.

This copies the lex token and adds all the necessary free() calls to
avoid leaking it

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1176>
2024-09-01 23:28:20 +00:00
..
kdrive dix: unexport TellLostMap() 2024-09-01 22:06:49 +00:00
vfb dix: unexport QueryColors() 2024-09-01 22:06:50 +00:00
xfree86 Fix a double-free on syntax error without a new line. 2024-09-01 23:28:20 +00:00
xnest dix: unexport CreateColormap() 2024-09-01 22:06:49 +00:00
xquartz fix missing includes of <X11/Xfuncproto.h> 2024-07-20 17:18:38 +00:00
xwayland include: move private definitions out of input.h 2024-09-01 17:59:23 +00:00
xwin dix: move colormap flags into colormap_priv.h and rename them 2024-09-01 22:06:50 +00:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00