diff options
author | Sean Young <sean@mess.org> | 2018-07-28 05:11:15 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-07-30 08:19:53 -0400 |
commit | f5dbee6e3881b1dbfdcc36008d48bd29549ab2f4 (patch) | |
tree | 0c40f47cfe5fd713d664009851b11b0439f094ad /drivers/media/platform | |
parent | 92cab799bbc6fa1fca84bd1692285a5f926c17e9 (diff) |
media: rc: read out of bounds if bpf reports high protocol number
The repeat period is read from a static array. If a keydown event is
reported from bpf with a high protocol number, we read out of bounds. This
is unlikely to end up with a reasonable repeat period at the best of times,
in which case no timely key up event is generated.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform')
0 files changed, 0 insertions, 0 deletions