xserver/hw
Matthieu Herrb e3e14369c6 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

(cherry picked from commit fbc034e847)

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1719>
2024-10-22 21:07:14 +00:00
..
kdrive ephyr: Fix incompatible pointer type build error 2024-05-12 08:00:00 +00:00
vfb mi: List extensions in usage message 2021-01-29 12:52:09 +00:00
xfree86 Fix a double-free on syntax error without a new line. 2024-10-22 21:07:14 +00:00
xnest Xnest: fix broken exposure events 2024-10-12 00:46:34 +00:00
xquartz Xquartz: ProcAppleDRICreatePixmap needs to use unswapped length to send reply 2024-04-03 19:35:46 +03:00
xwin mi: List extensions in usage message 2021-01-29 12:52:09 +00:00
Makefile.am Drop XWayland DDX 2021-09-15 21:49:17 +03:00
meson.build Drop XWayland DDX 2021-09-15 21:49:17 +03:00