linux/drivers/thunderbolt
Dan Carpenter 08fe7ae185 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: dacb12877d ("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>
2021-03-30 13:38:10 +03:00
..
Kconfig
Makefile
acpi.c
cap.c
ctl.c
ctl.h
debugfs.c
dma_port.c
dma_port.h
dma_test.c
domain.c
eeprom.c
icm.c
lc.c
nhi.c
nhi.h
nhi_ops.c
nhi_regs.h
nvm.c
path.c
property.c
quirks.c
retimer.c thunderbolt: Fix off by one in tb_port_find_retimer() 2021-03-30 13:38:10 +03:00
sb_regs.h
switch.c
tb.c
tb.h
tb_msgs.h
tb_regs.h
test.c
tmu.c
tunnel.c
tunnel.h
usb4.c
xdomain.c