libxkbcommon/test
Ran Benita 5cee660f69 keysym-utf: reject out-of-range Unicode codepoints in xkb_keysym_to_utf{8,32}
It used to be UTF-8 was defined for inputs > 0x10FFFF, but nowadays
that's the maximum and a codepoint is encoded up to 4 bytes, not 6.

Fixes: https://github.com/xkbcommon/libxkbcommon/issues/58
Fixes: https://github.com/xkbcommon/libxkbcommon/issues/59
Reported-by: @andrecbarros
Signed-off-by: Ran Benita <ran234@gmail.com>
2018-06-23 22:53:42 +03:00
..
data test/data: sync with xkeyboard-config 2.22 2017-12-03 13:07:21 +02:00
.gitignore test: Add interactive-wayland 2016-04-12 12:15:04 +01:00
atom.c Fix sign-compare warnings 2014-02-08 00:54:53 +02:00
buffercomp.c keymap: add xkb_keymap_new_from_buffer() 2013-04-01 18:04:06 +01:00
common.c build: use top_srcdir consistently 2017-07-31 15:55:48 +03:00
compose.c compose: correctly parse modifier syntax 2015-03-24 16:49:47 +02:00
context.c atom: really work with non-NUL-terminated strings 2013-07-22 11:02:20 +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 keycodes: fix keymap compilation with no aliases and malloc(0)==NULL 2014-09-10 13:44:33 +03:00
interactive-evdev.c x11/keymap,test/interactive-evdev: fix a couple of clang-analyzer warnings 2017-07-31 15:55:48 +03:00
interactive-wayland.c test/interactive-wayland: replace tabs with spaces 2018-01-27 20:42:44 +02:00
interactive-x11.c test/interactive-x11: handle NULL from xcb_wait_for_event 2017-04-28 09:33:25 +03:00
keymap.c keymap: add xkb_keymap_key_by_name(), xkb_keymap_key_get_name(), tests 2016-01-20 23:17:10 +02:00
keyseq.c test/data: sync with xkeyboard-config 2.22 2017-12-03 13:07:21 +02:00
keysym.c keysym-utf: reject out-of-range Unicode codepoints in xkb_keysym_to_utf{8,32} 2018-06-23 22:53:42 +03:00
log.c test: Use test_get_context() in log.c 2013-03-19 10:34:28 +00:00
print-compiled-keymap.c test: Add flags argument to test_get_context() 2013-03-19 10:28:23 +00:00
rmlvo-to-kccgst.c build: remove unneeded preprocessor include flags 2017-07-31 15:55:48 +03:00
rules-file.c build: remove unneeded preprocessor include flags 2017-07-31 15:55:48 +03:00
rulescomp.c Move benchmarks from tests to their own files in bench/ 2014-10-02 22:03:28 +03:00
state.c state: add GTK consumed modifiers mode 2016-10-31 12:52:28 +02:00
stringcomp.c xkbcomp: escape the section names before storing them in the keymap 2013-07-18 14:50:21 +03:00
symbols-leak-test.bash test/symbols-leak-test.bash: make it easier to read 2017-08-03 13:38:14 +03:00
test.h state: allow different modes for calculating consumed modifiers 2016-10-31 12:52:26 +02:00
utf8.c keysym-utf: reject out-of-range Unicode codepoints in xkb_keysym_to_utf{8,32} 2018-06-23 22:53:42 +03:00
x11.c test/x11: properly clean up also when skipping test 2017-12-12 15:58:32 +02:00
x11comp.c test/x11comp: fix compiler warnings 2017-07-31 15:55:48 +03:00