diff options
| author | 2026-09-22 10:46:37 +0800 | |
|---|---|---|
| committer | 2026-09-23 18:48:30 +0200 | |
| commit | 5e5c3b9db1c5910d6a9175c97b76a95566e4dc32 (patch) | |
| tree | 1ec628947bad133948a78633b74e44b4bf74a5e6 /scripts/Makefile.thinlto | |
| parent | HID: universal-pidff: Add support for Turtle Beach VelocityOne Race (diff) | |
HID: Intel-thc-hid: Intel-quicki2c: Fix buffer overflow
The input and output buffers are used to store complete HID-over-I2C
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
