diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-03-29 09:08:01 +0300 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2021-03-30 13:38:10 +0300 |
commit | 08fe7ae1857080f5075df5ac7fef2ecd4e289117 (patch) | |
tree | 3cb7e14240e814cc04379132a6c6da31a726faed /fs/xfs/xfs_quotaops.c | |
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: stable@vger.kernel.org
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'fs/xfs/xfs_quotaops.c')
0 files changed, 0 insertions, 0 deletions