libxkbcommon/test
Pierre Le Marre ca7aa69cc0 Disallow producing NULL character with escape sequences
NULL usually terminates the strings; allowing to produce it via escape
sequences may lead to undefined behaviour.

- Make NULL escape sequences (e.g. `\0` and `\x0`) invalid.
- Add corresponding test.
- Introduce the new message: XKB_WARNING_INVALID_ESCAPE_SEQUENCE.
2023-09-26 17:25:49 +02:00
..
data Disallow producing NULL character with escape sequences 2023-09-26 17:25:49 +02:00
atom.c test/atom: use correct format specifier for size_t 2019-12-28 14:13:52 +02:00
buffercomp.c scanner: allow for a zero terminated string as keymap 2023-05-05 09:57:23 +10:00
common.c Possible fix for non-MSVC windows compilers 2023-04-11 23:29:25 +03:00
compose.c Disallow producing NULL character with escape sequences 2023-09-26 17:25:49 +02:00
context.c test: move mkdir & mkdtemp calls to common place and fix them on MSVC 2022-09-24 12:31:53 +03:00
evdev-scancodes.h test: make most tests portable by copying linux/input.h locally 2014-09-06 11:29:15 +03:00
filecomp.c Disallow producing NULL character with escape sequences 2023-09-26 17:25:49 +02:00
keymap.c Improved tests related to keysyms 2023-07-14 09:22:24 +02:00
keyseq.c build: include config.h manually 2019-12-27 13:09:11 +02:00
keysym.c Improved tests related to keysyms 2023-07-14 09:22:24 +02:00
log.c Messages: merge macros with and without message code 2023-09-24 09:09:24 +02:00
messages.c Add xkb-check-messages tool 2023-09-19 08:49:52 +02:00
modifiers.c Add support for modmap None (#291) 2023-05-01 23:30:41 +03:00
registry.c test: move mkdir & mkdtemp calls to common place and fix them on MSVC 2022-09-24 12:31:53 +03:00
rules-file-includes.c build: include config.h manually 2019-12-27 13:09:11 +02:00
rules-file.c build: include config.h manually 2019-12-27 13:09:11 +02:00
rulescomp.c build: include config.h manually 2019-12-27 13:09:11 +02:00
state.c Replace keycode numeric offset with EVDEV_OFFSET 2023-07-04 10:59:19 +02:00
stringcomp.c build: include config.h manually 2019-12-27 13:09:11 +02:00
symbols-leak-test.py test: make the symbols-leak-test executable 2020-07-25 10:59:32 +03:00
test-keysym.py test: add a keysym tester 2021-02-22 13:43:16 +02:00
test.h Possible fix for non-MSVC windows compilers 2023-04-11 23:29:25 +03:00
tool-option-parsing.py test: show the tool exit status on failure 2022-01-24 07:56:47 +10:00
utf8.c Do not interpret nor emit invalid Unicode encoding forms 2023-05-13 22:02:46 +03:00
utils.c utils: add streq_null() for streq that allows NULL values 2020-07-06 15:15:20 +10:00
x11.c Test: Use a xvfb wrapper for x11 test 2023-09-18 16:07:09 +02:00
x11comp.c Test: Enable x11comp and use the xvfb wrapper 2023-09-18 16:07:09 +02:00
xkeyboard-config-test.py.in Use warning code in xkeyboard-config test 2023-09-19 08:49:52 +02:00
xvfb-wrapper.c Test: Catch SIGUSR1 from Xvfb for X11 tests 2023-09-18 16:07:09 +02:00
xvfb-wrapper.h Test: Use a xvfb wrapper for x11 test 2023-09-18 16:07:09 +02:00