kernel_optimize_test/drivers/input
Elias Vanderstuyft daf6cd0c18 Input: uinput - sanity check on ff_effects_max and EV_FF
Currently the user can set ff_effects_max to zero with the EV_FF bit (and
the FF_GAIN and/or FF_AUTOCENTER bits) set, in this case the uninitialized
methods ff->set_gain and/or ff->set_autocenter can be dereferenced,
resulting in a kernel oops.

Check in uinput_create_device() and print a helpful message and return
-EINVAL in case the check fails.

Signed-off-by: Elias Vanderstuyft <elias.vds@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2015-12-18 17:48:52 -08:00
..
gameport
joystick remove abs64() 2015-11-09 15:11:24 -08:00
keyboard Input: snvs_pwrkey - remove duplicated semicolon 2015-10-26 17:28:34 -07:00
misc Input: uinput - sanity check on ff_effects_max and EV_FF 2015-12-18 17:48:52 -08:00
mouse Merge branch 'psmouse-passthrough' into next 2015-12-17 15:25:10 -08:00
serio Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2015-11-13 21:41:14 -08:00
tablet
touchscreen Input: add touchscreen support for TS-4800 2015-12-16 14:00:51 -08:00
apm-power.c
evbug.c
evdev.c Input: evdev - fix bug in checking duplicate clock change request 2015-10-31 10:35:02 -07:00
ff-core.c Input: document and check on implicitly defined FF_MAX_EFFECTS 2015-10-16 15:32:16 -07:00
ff-memless.c
input-compat.c
input-compat.h
input-leds.c
input-mt.c
input-polldev.c
input.c Input: improve autorepeat initialization 2015-10-13 23:30:31 -07:00
joydev.c Input: joydev - fix possible ERR_PTR() dereferencing 2015-10-06 16:38:40 -07:00
Kconfig
Makefile
matrix-keymap.c
mousedev.c
sparse-keymap.c