Re: [Linuxwacom-devel] [PATCH linuxwacom 3/5] Fix length parameter to EVIOCGBIT ioctl

2017-04-17 Thread Peter Hutterer
On Tue, Apr 11, 2017 at 01:20:33PM -0700, Jason Gerecke wrote: > Use of 'sizeof(keys)' is incorrect here since we don't care about the > length of the pointer itself, but rather of the array it points to. > Update function definitions to pass around a length parameter as needed. > > Signed-off-by:

[Linuxwacom-devel] [PATCH linuxwacom 3/5] Fix length parameter to EVIOCGBIT ioctl

2017-04-11 Thread Jason Gerecke
Use of 'sizeof(keys)' is incorrect here since we don't care about the length of the pointer itself, but rather of the array it points to. Update function definitions to pass around a length parameter as needed. Signed-off-by: Jason Gerecke --- src/xdrv/wcmConfig.c | 4 ++-- src/xdrv/wcmU