Skip to content
Commit 8b708b73 authored by Keith Packard's avatar Keith Packard Committed by Julien Cristau
Browse files

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: default avatarMichal Srb <msrb@suse.com>
Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
Signed-off-by: default avatarJulien Cristau <jcristau@debian.org>
(cherry picked from commit 94f11ca5)
parent 75fa4a51
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment