xserver/hw
Matthieu Herrb bb36aa5ae1 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-10-31 15:39:06 +01:00
..
kdrive (submit/unexport-ddx-callbacks) os: rename ddx.h to ddx_priv.h 2024-08-29 20:51:22 +02:00
vfb (submit/unexport-ddx-callbacks) os: rename ddx.h to ddx_priv.h 2024-08-29 20:51:22 +02:00
xfree86 Fix a double-free on syntax error without a new line. 2024-10-31 15:39:06 +01:00
xnest include: dixfontstr.h: drop silent dependency on libxfont2 2024-10-31 15:28:48 +01:00
xquartz (submit/unexport-ddx-callbacks) os: rename ddx.h to ddx_priv.h 2024-08-29 20:51:22 +02:00
xwayland (submit/unexport-ddx-callbacks) os: rename ddx.h to ddx_priv.h 2024-08-29 20:51:22 +02:00
xwin (submit/drop-cygwin) drop remains of cygwin support 2024-08-29 20:51:22 +02:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00