diff options
author | Kees Cook <kees.cook@canonical.com> | 2009-01-13 15:40:37 -0800 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-01-15 09:58:45 +1000 |
commit | dd9514fe714d81b881a1bd6bd88d4287adc5fc7e (patch) | |
tree | 839caeb9ce2bce231812954f9c406da1298ba7b2 /src/xkbmisc.c | |
parent | e695be2ab7eb1361b204f98c3da872eff58ad6b5 (diff) |
Fix static buffer overflow in "xkbcomp -C :0"
This patch uses dynamically allocated strings instead of the fixed-length
buffers to avoid stack overflows.
https://bugs.freedesktop.org/show_bug.cgi?id=19490
https://bugs.launchpad.net/ubuntu/+source/x11-xkb-utils/+bug/309013
Signed-off-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/xkbmisc.c')
0 files changed, 0 insertions, 0 deletions