summaryrefslogtreecommitdiff
path: root/hw/xfree86/drivers/modesetting
diff options
context:
space:
mode:
authorMichal Srb <msrb@suse.com>2017-07-27 11:54:26 +0200
committerAdam Jackson <ajax@redhat.com>2017-10-04 15:09:13 -0400
commit3094c4c6d879215923f2183ecd048b4f5429b182 (patch)
treea161e88d1bced5f3e5e2412612f948dbbca1c28a /hw/xfree86/drivers/modesetting
parenta510fb811100bc27f0bfafe5d073998551161819 (diff)
xkb: Escape non-printable characters correctly.
XkbStringText escapes non-printable characters using octal numbers. Such escape sequence would be at most 5 characters long ("\0123"), so it reserves 5 bytes in the buffer. Due to char->unsigned int conversion, it would print much longer string for negative numbers. Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Julien Cristau <jcristau@debian.org> (cherry picked from commit eaf1f72ed8994b708d94ec2de7b1a99f5c4a39b8)
Diffstat (limited to 'hw/xfree86/drivers/modesetting')
0 files changed, 0 insertions, 0 deletions