aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorJeff LaBundy <[email protected]>2022-03-20 21:55:27 -0700
committerDmitry Torokhov <[email protected]>2022-03-20 21:59:42 -0700
commit409353cbe9fe48f6bc196114c442b1cff05a39bc (patch)
tree943674074c63d4dc8c72512007b10e22abde3017 /lib/mpi/mpiutil.c
parent07fc21b486081d8974239143089723f05e552157 (diff)
Input: add bounds checking to input_set_capability()
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ń <[email protected]> Signed-off-by: Jeff LaBundy <[email protected]> Reviewed-by: Tomasz Moń <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions