diff options
author | Rodrigo Rivas Costa <[email protected]> | 2020-06-16 18:44:18 +0200 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2020-06-19 09:21:21 +0200 |
commit | 2d3f53a80e4eed078669853a178ed96d88f74143 (patch) | |
tree | 66100db26fb77704f9a1abb88aaddfc904a7f8e6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6363d2065cd399cf9d6dc9d08c437f8658831100 (diff) |
HID: steam: fixes race in handling device list.
Using uhid and KASAN this driver crashed because it was getting
several connection events where it only expected one. Then the
device was added several times to the static device list and it got
corrupted.
This patch checks if the device is already in the list before adding
it.
Signed-off-by: Rodrigo Rivas Costa <[email protected]>
Tested-by: Siarhei Vishniakou <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions