Lee Jones cf6939a8f6 HID: uhid: Over-ride the default maximum data buffer value with our own
commit 1c5d4221240a233df2440fe75c881465cdf8da07 upstream.

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: Lee Jones <lee@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-22 13:27:12 +01:00
..
2023-03-03 11:40:07 +01:00
2022-05-01 17:00:38 +02:00
2023-03-11 16:31:53 +01:00
2022-04-15 14:15:00 +02:00
2023-03-11 16:31:48 +01:00
2023-03-22 13:27:12 +01:00
2022-08-25 11:15:43 +02:00