diff options
author | Denis Efremov <[email protected]> | 2019-10-02 20:18:11 +0300 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2019-10-04 16:46:43 +0300 |
commit | f170d44bc4ec2feae5f6206980e7ae7fbf0432a0 (patch) | |
tree | 16cf847d8ebbe6e6e35e34e191e42b7a91107704 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 60b5b49f6a6ed3a5dd5e1b4b72b8c792387a0f8c (diff) |
rsi: fix potential null dereference in rsi_probe()
The id pointer can be NULL in rsi_probe(). It is checked everywhere except
for the else branch in the idProduct condition. The patch adds NULL check
before the id dereference in the rsi_dbg() call.
Fixes: 54fdb318c111 ("rsi: add new device model for 9116")
Cc: Amitkumar Karwar <[email protected]>
Cc: Siva Rebbagondla <[email protected]>
Cc: Kalle Valo <[email protected]>
Signed-off-by: Denis Efremov <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions