Files
xserver/hw/xfree86/parser
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
..
2020-07-05 13:07:33 -07:00
2024-03-03 22:38:52 +00:00
2014-11-12 10:25:00 +10:00
2018-09-12 20:47:15 +00:00