xf86-input-keyboard: Changes to 'master'

Peter Hutterer whot at kemper.freedesktop.org
Wed May 7 21:51:36 PDT 2014


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

New commits:
commit d0c9619675d26284f03ef428ff76cc09bdd4ace3
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Tue Apr 29 16:23:32 2014 +1000

    Init LEDs to zero before querying the value
    
    This way if the ioctl fails we don't set any unintended LEDs, but really this
    patch is more to silence valgrind:
    
    ==7129== Conditional jump or move depends on uninitialised value(s)
    ==7129==    at 0x8DF99A1: GetKbdLeds (lnx_kbd.c:79)
    ==7129==    by 0x8DF8853: InitKBD (kbd.c:291)
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list