1
0
Fork 0
alistair23-linux/drivers/input/rmi4
Christophe JAILLET 839c422736 Input: synaptics-rmi4 - fix an unchecked out of memory error path
When extending the rmi_spi buffers, we must check that no out of memory
error occurs, otherwise we may access data above the currently allocated
memory.

Propagate the error code returned by 'rmi_spi_manage_pools()' instead.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2018-04-06 15:39:18 -07:00
..
Kconfig Merge branch 'next' into for-linus 2017-02-20 15:16:02 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rmi_2d_sensor.c Input: synaptics-rmi4 - correctly swap clip values if axes are swapped 2017-01-15 15:41:00 -08:00
rmi_2d_sensor.h Input: synaptics-rmi4 - add parameters for dribble packets and palm detect gesture 2016-11-08 17:12:07 -08:00
rmi_bus.c Input: synaptics_rmi4 - remove unneeded MODULE_VERSION() usage 2018-01-16 16:48:20 -08:00
rmi_bus.h Input: synaptics-rmi4 - add SMBus support 2016-11-08 17:12:10 -08:00
rmi_driver.c Merge branch 'next' into for-linus 2018-02-01 00:37:30 -08:00
rmi_driver.h Input: synaptics_rmi4 - remove unneeded MODULE_VERSION() usage 2018-01-16 16:48:20 -08:00
rmi_f01.c Revert "Input: synaptics_rmi4 - use devm_device_add_group() for attributes in F01" 2018-01-24 14:44:05 -08:00
rmi_f03.c Input: synaptics-rmi4 - log when we create a guest serio port 2018-01-22 16:27:40 -08:00
rmi_f11.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2016-12-17 16:45:00 -08:00
rmi_f12.c Input: synaptics-rmi4 - change F12 clip to inactive border debug 2017-04-14 14:52:31 -07:00
rmi_f30.c Input: synaptics-rmi4 - limit the range of what GPIOs are buttons 2017-10-27 15:15:59 -07:00
rmi_f34.c Input: synaptic_rmi4 - remove duplicate include in F34 2018-01-05 09:29:09 -08:00
rmi_f34.h Input: synaptics-rmi4 - enable IRQ operation in F34 V7 2017-04-14 14:52:32 -07:00
rmi_f34v7.c Input: synaptics-rmi4 - use %phN to form F34 configuration ID 2017-06-01 22:11:23 -07:00
rmi_f54.c Input: synaptics-rmi4 - make array rmi_f54_report_type_names static 2017-10-09 20:53:36 -07:00
rmi_f55.c Input: synaptics-rmi4 - propagate correct number of rx and tx electrodes to F54 2016-11-22 17:59:25 -08:00
rmi_i2c.c Input: synaptics_rmi4 - remove unneeded MODULE_VERSION() usage 2018-01-16 16:48:20 -08:00
rmi_smbus.c Input: synaptics-rmi4 - RMI4 can also use SMBUS version 3 2017-11-07 17:45:07 -08:00
rmi_spi.c Input: synaptics-rmi4 - fix an unchecked out of memory error path 2018-04-06 15:39:18 -07:00