HID: Intel-thc-hid: Fix potential buffer overflow
Status from this message: Applied to hid.git#for-7.3/upstream-fixes, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | HID: Intel-thc-hid: Intel-quicki2c: Fix buffer overflowdrivers/ | +4 | 0 replies | |
| 2/2 | HID: Intel-thc-hid: Intel-quickspi: Fix buffer overflowdrivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] HID: Intel-thc-hid: Fix potential buffer overflow
This patch set allocate enough space for both the payload and the packet header for quicki2c and quickspi input and output buffers to prevent a buffer overflow when the payload reaches its maximum size, as their sizes are currently calculated from the payload length only.
Even Xu (2):
HID: Intel-thc-hid: Intel-quicki2c: Fix buffer overflow
HID: Intel-thc-hid: Intel-quickspi: Fix buffer overflow
drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c | 6 ++++-- drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-)
Signature · 1 line
2.43.0