Re: [PATCH v2] HID: mcp2221: validate report size in raw_event handler
From: Jiri Kosina
Date: Thu Apr 09 2026 - 14:33:55 EST
On Tue, 24 Mar 2026, Sebastian Josue Alba Vives wrote:
> MCP2221 devices use 64-byte HID reports.
> Add a check at the top of the handler to reject any report shorter than
> expected, and log a warning to aid debugging.
Similarly to ft260 -- where is the claim that the device can't send
shorter reports coming from, please?
Thanks,
--
Jiri Kosina
SUSE Labs