diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-07-11 13:26:18 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-07-18 15:38:52 +1000 |
commit | cdcd552041fc1325a2a81e3374fadb0dd15950dc (patch) | |
tree | 7ff9841904616bcf3f8650387d84218f4fca2641 /xkbcomp.h | |
parent | 1cd5c50c54b06de2238d6d7675d0a3c65a21414d (diff) |
Always terminate the scanBuf string (#66345)
If a key name exceeds 4 characters, the content of scanBuf is not
null-terminated, giving error messages like
syntax error: line 7 of test.xkb
last scanned symbol is: FOOBARm
Errors encountered in test.xkb; not compiled.
(last character of the preceding 'maximum' statement in this case)
X.Org Bug 66345 <http://bugs.freedesktop.org/show_bug.cgi?id=66345>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'xkbcomp.h')
0 files changed, 0 insertions, 0 deletions