xserver/hw/dmx/input
Adam Jackson 176f26e96a dmx: Clean up some argument parsing code
This threw:

../hw/dmx/input/dmxarg.c: In function ‘dmxArgParse’:
../hw/dmx/input/dmxarg.c:128:5: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
     strncpy(tmp, string, len);
     ^~~~~~~~~~~~~~~~~~~~~~~~~
../hw/dmx/input/dmxarg.c:126:11: note: length computed here
     len = strlen(string) + 2;
           ^~~~~~~~~~~~~~

This code predates xstrtokenize, but that's no excuse.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Acked-by: Keith Packard <keithp@keithp.com>
2018-04-05 14:18:41 -04:00
..
ChkNotMaskEv.c
ChkNotMaskEv.h
Makefile.am
atKeynames.h
dmxarg.c dmx: Clean up some argument parsing code 2018-04-05 14:18:41 -04:00
dmxarg.h
dmxbackend.c
dmxbackend.h
dmxcommon.c
dmxcommon.h
dmxconsole.c
dmxconsole.h
dmxdetach.c
dmxdummy.c
dmxdummy.h
dmxevents.c
dmxevents.h
dmxinputinit.c dmx: warning fix 2018-02-14 17:21:43 -05:00
dmxinputinit.h
dmxmap.c
dmxmap.h
dmxmotion.c
dmxmotion.h
dmxxinput.c
meson.build
usb-common.c
usb-common.h
usb-keyboard.c dmx: Silence an unused-result warning 2017-06-20 16:39:23 -04:00
usb-keyboard.h
usb-mouse.c
usb-mouse.h
usb-other.c
usb-other.h
usb-private.h