Skip to content
Commit 1c5d4221 authored by Lee Jones's avatar Lee Jones Committed by Jiri Kosina
Browse files

HID: uhid: Over-ride the default maximum data buffer value with our own



The default maximum data buffer size for this interface is UHID_DATA_MAX
(4k).  When data buffers are being processed, ensure this value is used
when ensuring the sanity, rather than a value between the user provided
value and HID_MAX_BUFFER_SIZE (16k).

Signed-off-by: default avatarLee Jones <lee@kernel.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent b1a37ed0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment