diff options
author | Keith Packard <keithp@keithp.com> | 2017-07-27 10:08:32 -0700 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-10-04 15:09:13 -0400 |
commit | 8bd33a2db7337b2801fc630a57e36b6aeea219d9 (patch) | |
tree | 32ca56427f25985e95903c66d9dbdee40598c20e /hw/xfree86/drivers/modesetting/present.c | |
parent | 3094c4c6d879215923f2183ecd048b4f5429b182 (diff) |
xkb: Handle xkb formated string output safely (CVE-2017-13723)
Generating strings for XKB data used a single shared static buffer,
which offered several opportunities for errors. Use a ring of
resizable buffers instead, to avoid problems when strings end up
longer than anticipated.
Reviewed-by: Michal Srb <msrb@suse.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Julien Cristau <jcristau@debian.org>
(cherry picked from commit 94f11ca5cf011ef123bd222cabeaef6f424d76ac)
Diffstat (limited to 'hw/xfree86/drivers/modesetting/present.c')
0 files changed, 0 insertions, 0 deletions