summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBenjamin Tissoires <bentiss@kernel.org>2026-04-10 16:03:07 +0200
committerJiri Kosina <jkosina@suse.com>2026-04-10 17:23:02 +0200
commit8b9a097eb2fc37b486afd81388c693bf3ab44466 (patch)
treeccd42c9d3daa11f31b6bdb15b514b2fdb939424c /tools/perf/scripts/python/stackcollapse.py
parente2aaf2d3ad92ac4a8afa6b69ad4c38e7747d3d6e (diff)
HID: logitech-dj: fix wrong detection of bad DJ_SHORT output report
commit b6a57912854e ("HID: logitech-dj: Prevent REPORT_ID_DJ_SHORT related user initiated OOB write") assumed that all HID devices attached to the logitech-dj driver was having an output report of DJ_SHORT. However, on the receiver itself, we have 2 other HID device we attach here: the mouse emulation and the keyboard emulation. For those devices the value of rep is NULL and we are triggered a segfault here. This is doubly required because logitech-dj also handles non DJ devices that might not have the DJ collection. Fixes: b6a57912854e ("HID: logitech-dj: Prevent REPORT_ID_DJ_SHORT related user initiated OOB write") Signed-off-by: Benjamin Tissoires <bentiss@kernel.org> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions