diff options
| author | Devarjya Purkayastha <unseentactician27062006@gmail.com> | 2026-10-30 23:01:08 +0530 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-11-20 14:59:25 +0100 |
| commit | 7220fddb3fc17cef19351cc9d12b6c9bc37a3b50 (patch) | |
| tree | 5686e00ebad6282d1278f09c3b904b78624585af /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 107274055fd9726f8f077529ae8c0da09237ad3e (diff) | |
HID: wacom: Prevent NULL dereference in wireless work
wacom_wireless_work() assumes that the active USB configuration has
three interfaces and unconditionally accesses interface[1] and
interface[2].
A malformed configuration with fewer interfaces can therefore cause a
NULL pointer dereference in the wireless workqueue. Return early unless
the configuration has at least three interfaces.
Reported-by: Indrath <indrathftw@gmail.com>
Signed-off-by: Devarjya Purkayastha <unseentactician27062006@gmail.com>
Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
