diff options
| author | 2026-02-28 20:10:09 +0100 | |
|---|---|---|
| committer | 2026-03-10 18:01:19 +0100 | |
| commit | 7253091766ded0fd81fe8d8be9b8b835495b06e8 (patch) | |
| tree | 8a6972b27d6b322a7d8253185c83a4babe9cc245 /tools/perf/scripts/python/stackcollapse.py | |
| parent | HID: asus: simplify and improve asus_kbd_set_report() (diff) | |
HID: asus: do not abort probe when not necessary
In order to avoid dereferencing a NULL pointer asus_probe is aborted early
and control of some asus devices is transferred over hid-generic after
erroring out even when such NULL dereference cannot happen: only early
abort when the NULL dereference can happen.
Also make the code shorter and more adherent to coding standards
removing square brackets enclosing single-line if-else statements.
Fixes: d3af6ca9a8c3 ("HID: asus: fix UAF via HID_CLAIMED_INPUT validation")
Signed-off-by: Denis Benato <denis.benato@linux.dev>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
