diff options
| author | Even Xu <even.xu@intel.com> | 2026-09-22 10:54:36 +0800 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-09-23 18:50:01 +0200 |
| commit | 48c72318ef1e9017b6c34cf73eed453d0dc9c2d4 (patch) | |
| tree | 1352a99ecd3a4648a7666227b1bae4b8c160d012 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | fe2ec83746e501645709761605c2464a44fd2929 (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 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
