libxkbfile: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 24 22:42:30 UTC 2020


 src/xkbtext.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 81e8b72daf3ad0a3f36e4ae0ef6b38e427e251b5
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Fri Jun 19 14:34:51 2020 +1000

    Escape non-printable characters correctly
    
    This is the equivalent patch to xserver commit
    eaf1f72ed8994b708d94ec2de7b1a99f5c4a39b8:
    
     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.
    
    Fixes https://gitlab.freedesktop.org/xorg/lib/libxkbfile/-/issues/8
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>



More information about the xorg-commit mailing list