diff options
| author | 2026-09-22 10:46:38 +0800 | |
|---|---|---|
| committer | 2026-09-23 18:48:30 +0200 | |
| commit | a1cdd72371270640bd357bd3e3b2ec0be17c9536 (patch) | |
| tree | 6ff6ddf1945b4efb3ef05bddec3e13184d0f99e0 /scripts/Makefile.thinlto | |
| parent | HID: Intel-thc-hid: Intel-quicki2c: Fix buffer overflow (diff) | |
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 <even.xu@intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
