Files
linux/drivers
Jeff LaBundy 3e6fa9e4a7 Input: add bounds checking to input_set_capability()
[ Upstream commit 409353cbe9 ]

Update input_set_capability() to prevent kernel panic in case the
event code exceeds the bitmap for the given event type.

Suggested-by: Tomasz Moń <tomasz.mon@camlingroup.com>
Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Reviewed-by: Tomasz Moń <tomasz.mon@camlingroup.com>
Link: https://lore.kernel.org/r/20220320032537.545250-1-jeff@labundy.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-05-25 08:39:48 +02:00
..
2021-12-14 10:04:48 +01:00
2021-11-26 11:48:20 +01:00
2022-03-02 11:32:03 +01:00
2022-05-12 12:14:53 +02:00
2020-12-29 13:45:00 +01:00
2022-04-20 09:06:42 +02:00