diff options
| author | Anastasia Belova <[email protected]> | 2022-11-11 12:55:11 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2022-11-14 22:56:52 +0000 |
| commit | d180b6496143cd360c5d5f58ae4b9a8229c1f344 (patch) | |
| tree | c892b4806ab23ca0f5ff58d1a0c90450056101b6 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch V 10 (diff) | |
| download | kernel-d180b6496143cd360c5d5f58ae4b9a8229c1f344.tar.gz kernel-d180b6496143cd360c5d5f58ae4b9a8229c1f344.zip | |
HID: hid-lg4ff: Add check for empty lbuf
If an empty buf is received, lbuf is also empty. So lbuf is
accessed by index -1.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: f31a2de3fe36 ("HID: hid-lg4ff: Allow switching of Logitech gaming wheels between compatibility modes")
Signed-off-by: Anastasia Belova <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
