summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorEven Xu <even.xu@intel.com>2026-09-22 10:54:37 +0800
committerJiri Kosina <jkosina@suse.com>2026-09-23 18:50:01 +0200
commit291f4f310cc18ff8f5addbc3c9fbe33877283ec7 (patch)
treedf4ed1c56c92e5889b97c55418bb586f3851a7a8 /tools/perf/scripts/python/bin/stackcollapse-report
parent48c72318ef1e9017b6c34cf73eed453d0dc9c2d4 (diff)
HID: Intel-thc-hid: Intel-quickspi: 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 qsdev->input_buf in the new input_len field and pass it through quickspi_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