summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorJiancheng Huang <jchuang@seu.edu.cn>2026-07-24 20:19:17 +0800
committerJiri Kosina <jkosina@suse.com>2026-08-03 21:24:06 +0200
commitbe00988cce4ed44db1e61231d0ab71a64bab44cd (patch)
tree30dced827923559501160043c0a750a76c14021d /tools/perf/scripts
parenteb51c9f8cb4f064981d9c6cae13de8eda280785d (diff)
HID: lg4ff: validate report length before fixed offsets
lg4ff_raw_event() rewrites fixed report offsets when combined pedals are enabled. It currently assumes that each product report contains every source and destination byte used by the rewrite. Return without rewriting a short report before each product-specific access. Apply the same bound to the computed offset path. Fixes: c832f86effbc ("HID: hid-logitech: Add combined pedal support Logitech wheels") Signed-off-by: Jiancheng Huang <jchuang@seu.edu.cn> Assisted-by: Codex:gpt-5.6-luna Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions