aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2016-01-19 12:34:58 +0100
committerMoyster <oysterized@gmail.com>2016-11-17 12:13:08 +0100
commit86db20b3afcaee0b7173da2c32d654108ef938ce (patch)
treef4de152d309fa7ba5ce6e0ac8e1f904d0b1f2e6c /kernel
parent0ea52f30e65f9016d1cd9794ff6a8c7ce8439c2e (diff)
HID: core: prevent out-of-bound readings
Plugging a Logitech DJ receiver with KASAN activated raises a bunch of out-of-bound readings. The fields are allocated up to MAX_USAGE, meaning that potentially, we do not have enough fields to fit the incoming values. Add checks and silence KASAN. Change-Id: I11d44957b450a3eda258c05f9e833c71a079e83c Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions