xev: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Jul 17 16:11:54 UTC 2022


 xev.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fa66bacb97ab55840630f717406c588885637739
Author: Mikael Magnusson <mikachu at gmail.com>
Date:   Wed Jun 29 12:08:43 2022 +0200

    Fix overflow on XmbLookupString buffer
    
    The returned nmbbytes value is the length we need the buffer to be, but
    the current size is only bsize. We can't store a NUL at buf[nmbbytes]
    before the realloc, so only do this when the buffer is sized properly.
    
    Signed-off-by: Mikael Magnusson <mikachu at gmail.com>
    [ismael at iodev.co.uk: Moved string termination out of the loop]
    Signed-off-by: Ismael Luceno <ismael at iodev.co.uk>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list