libxkbcommon/test
Ran Benita ac872bdfc2 symbols: fix buffer overflow with illegal explicit group
Trying ''./test/interactive -l us:5' causes us to crash.

The <layout>:<N> syntax says to put this layout at the N'th level.
However the code (inherited from xkbcomp) doesn't check that the group
is valid, and then happily indexes keyi->groups with it, which has a
static size of XKB_NUM_GROUPS (the SetExplicitGroup function assumes the
index is valid). So any value a user might put there > 4 makes nice
things happen.

Signed-off-by: Ran Benita <ran234@gmail.com>
2012-09-17 14:30:16 +03:00
..
data keycodes: ignore explicit minimum/maximum statements 2012-09-15 02:09:34 +03:00
.gitignore test: add rmlvo-to-kccgst tool 2012-09-03 10:31:13 +03:00
common.c Organize src/ and test/ headers 2012-09-16 15:20:18 +03:00
context.c Organize src/ and test/ headers 2012-09-16 15:20:18 +03:00
filecomp.c Organize src/ and test/ headers 2012-09-16 15:20:18 +03:00
interactive.c Organize src/ and test/ headers 2012-09-16 15:20:18 +03:00
keyseq.c keyseq: add test for repeat-shift-repeat-unshift-repeat 2012-09-16 15:59:31 +03:00
keysym.c Organize src/ and test/ headers 2012-09-16 15:20:18 +03:00
log.c Organize src/ and test/ headers 2012-09-16 15:20:18 +03:00
rmlvo-to-kccgst.c Organize src/ and test/ headers 2012-09-16 15:20:18 +03:00
rules-file.c Organize src/ and test/ headers 2012-09-16 15:20:18 +03:00
rulescomp.c symbols: fix buffer overflow with illegal explicit group 2012-09-17 14:30:16 +03:00
state.c state: fix mod_names_are_active 2012-09-02 19:17:09 +03:00
stringcomp.c Copyright updates 2012-09-12 16:58:54 +01:00
test.h Organize src/ and test/ headers 2012-09-16 15:20:18 +03:00