Files
linux/drivers
Christophe JAILLET 176ebf4df9 Input: synaptics-rmi4 - fix an unchecked out of memory error path
[ Upstream commit 839c422736 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-21 04:02:40 +09:00
..
2018-05-16 10:10:29 +02:00
2018-06-16 09:45:18 +02:00
2018-06-16 09:45:14 +02:00
2018-06-11 22:49:19 +02:00
2017-12-29 17:53:46 +01:00
2018-01-17 09:45:27 +01:00
2018-05-30 07:52:37 +02:00