diff options
author | Dan Carpenter <[email protected]> | 2021-03-29 09:08:01 +0300 |
---|---|---|
committer | Mika Westerberg <[email protected]> | 2021-03-30 13:38:10 +0300 |
commit | 08fe7ae1857080f5075df5ac7fef2ecd4e289117 (patch) | |
tree | 3cb7e14240e814cc04379132a6c6da31a726faed /scripts/gdb/linux/genpd.py | |
parent | bec4d7c93afc07dd0454ae41c559513f858cfb83 (diff) |
thunderbolt: Fix off by one in tb_port_find_retimer()
This array uses 1-based indexing so it corrupts memory one element
beyond of the array. Fix it by making the array one element larger.
Fixes: dacb12877d92 ("thunderbolt: Add support for on-board retimers")
Cc: [email protected]
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions