linux/drivers/input
Dmitry Torokhov 92fbac528f Input: uinput - fix undefined behavior in uinput_validate_absinfo()
commit d77651a227 upstream.

An integer overflow may arise in uinput_validate_absinfo() if "max - min"
can't be represented by an "int". We should check for overflow before
trying to use the result.

Reported-by: Kyungtae Kim <kt0755@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-31 08:14:37 +01:00
..
gameport
joystick Input: xpad - add support for SteelSeries Stratus Duo 2019-01-31 08:14:37 +01:00
keyboard Input: omap-keypad - fix idle configuration to not block SoC idle states 2019-01-13 09:50:58 +01:00
misc Input: uinput - fix undefined behavior in uinput_validate_absinfo() 2019-01-31 08:14:37 +01:00
mouse Input: synaptics - enable SMBus for HP EliteBook 840 G4 2019-01-13 09:51:03 +01:00
rmi4
serio Input: hyper-v - fix wakeup from suspend-to-idle 2018-12-21 14:15:12 +01:00
tablet
touchscreen Input: atmel_mxt_ts - don't try to free unallocated kernel memory 2019-01-09 17:38:41 +01:00
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-leds.c
input-mt.c
input-polldev.c
input.c
joydev.c
Kconfig
Makefile
matrix-keymap.c
mousedev.c
sparse-keymap.c