diff options
author | Sean Young <sean@mess.org> | 2018-07-28 05:11:15 -0400 |
---|---|---|
committer | Tao Huang <huangtao@rock-chips.com> | 2018-12-10 20:36:38 +0800 |
commit | fc9e98f3fc87077e8ca2e863e9d9faf7e9acd9ed (patch) | |
tree | 2cd42179f79a38f91a9ba679e2ba74a36d7c38c0 /include | |
parent | e0497bc4974cedd16df0be69ac495b86f3710796 (diff) |
UPSTREAM: 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>
(cherry picked from commit f5dbee6e3881b1dbfdcc36008d48bd29549ab2f4)
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions