diff options
author | Johan Hovold <[email protected]> | 2020-01-10 11:55:47 -0800 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2020-01-10 14:42:53 -0800 |
commit | bcfcb7f9b480dd0be8f0df2df17340ca92a03b98 (patch) | |
tree | 872b828eb54f28c09c7ebc093349cc5db4459147 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 97e24b095348a15ec08c476423c3b3b939186ad7 (diff) |
Input: pegasus_notetaker - fix endpoint sanity check
The driver was checking the number of endpoints of the first alternate
setting instead of the current one, something which could be used by a
malicious device (or USB descriptor fuzzer) to trigger a NULL-pointer
dereference.
Fixes: 1afca2b66aac ("Input: add Pegasus Notetaker tablet driver")
Signed-off-by: Johan Hovold <[email protected]>
Acked-by: Martin Kepplinger <[email protected]>
Acked-by: Vladis Dronov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions