diff options
| author | 2026-09-22 10:54:36 +0800 | |
|---|---|---|
| committer | 2026-09-23 18:50:01 +0200 | |
| commit | 48c72318ef1e9017b6c34cf73eed453d0dc9c2d4 (patch) | |
| tree | 1352a99ecd3a4648a7666227b1bae4b8c160d012 /scripts/Makefile.thinlto | |
| parent | Merge tag 'hid-for-linus-2026092202' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (diff) | |
HID: Intel-thc-hid: Intel-quicki2c: Use hid_safe_input_report()
Replace the deprecated hid_input_report() with
hid_safe_input_report(), which takes the allocated size of the input
report buffer and allows hid-core to validate the reported data length
against the actual buffer size.
Track the allocated size of qcdev->input_buf in the new input_len
field and pass it through quicki2c_hid_send_report() to
hid_safe_input_report() to prevent potential out-of-bounds reads.
Fixes: 0a3fe972a7cb ("HID: core: Mitigate potential OOB by removing bogus memset()")
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
