xserver-multidpi/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
..
atKeynames.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
ChkNotMaskEv.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
ChkNotMaskEv.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxarg.c dmx: Clean up some argument parsing code 2018-04-05 14:18:41 -04:00
dmxarg.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxbackend.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
dmxbackend.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
dmxcommon.c dmx: Eliminate use of AddEnabledDevice [v2] 2016-07-18 15:27:42 -04:00
dmxcommon.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
dmxconsole.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
dmxconsole.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
dmxdetach.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxdummy.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxdummy.h Death to RCS tags. 2007-06-29 14:06:52 -04:00
dmxevents.c dix: Update some comments to reflect the new non-SIGIO input model 2016-06-08 11:36:32 -04:00
dmxevents.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxinputinit.c dmx: warning fix 2018-02-14 17:21:43 -05:00
dmxinputinit.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
dmxmap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxmap.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxmotion.c Convert hw/dmx to new *allocarray functions 2015-04-21 16:58:08 -07:00
dmxmotion.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxxinput.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Makefile.am dmx: Remove non-evdev hardware input drivers 2017-01-19 18:06:38 -05:00
meson.build Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
usb-common.c dix: Update some comments to reflect the new non-SIGIO input model 2016-06-08 11:36:32 -04:00
usb-common.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
usb-keyboard.c dmx: Silence an unused-result warning 2017-06-20 16:39:23 -04:00
usb-keyboard.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
usb-mouse.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
usb-mouse.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
usb-other.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
usb-other.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
usb-private.h dmx: provide enough space for axis mappings 2013-09-25 03:52:54 +10:00