diff options
| author | Even Xu <even.xu@intel.com> | 2026-09-22 10:46:38 +0800 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-09-23 18:48:30 +0200 |
| commit | a1cdd72371270640bd357bd3e3b2ec0be17c9536 (patch) | |
| tree | 6ff6ddf1945b4efb3ef05bddec3e13184d0f99e0 /tools/lib/python | |
| parent | 5e5c3b9db1c5910d6a9175c97b76a95566e4dc32 (diff) | |
| download | linux-next-a1cdd72371270640bd357bd3e3b2ec0be17c9536.tar.gz linux-next-a1cdd72371270640bd357bd3e3b2ec0be17c9536.zip | |
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 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
