Files
Even Xu a1cdd72371 HID: Intel-thc-hid: Intel-quickspi: Fix buffer overflow
The input buffers are used to store complete HID-over-SPI packets,
including their protocol headers. However, their sizes are
currently calculated from the payload length only.

Allocate enough space for both the payload and the packet header to
prevent a buffer overflow when the payload reaches its maximum size.

Signed-off-by: Even Xu <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
2026-09-23 18:48:30 +02:00
..
2026-01-07 15:09:07 +01:00