linux/drivers/thunderbolt
Gustavo A. R. Silva a2e373438f thunderbolt: tb: fix use after free in tb_activate_pcie_devices
Add a ̣̣continue statement in order to avoid using a previously
free'd pointer tunnel in list_add.

Addresses-Coverity-ID: 1415336
Fixes: 9d3cce0b61 ("thunderbolt: Introduce thunderbolt bus and connection manager")
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-06 18:22:33 +01:00
..
cap.c thunderbolt: Rework capability handling 2017-06-09 11:42:41 +02:00
ctl.c thunderbolt: Fix reset response_type 2017-08-28 16:21:32 +02:00
ctl.h thunderbolt: Rework control channel to be more reliable 2017-06-09 11:42:43 +02:00
dma_port.c thunderbolt: Add support for DMA configuration based mailbox 2017-06-09 11:42:43 +02:00
dma_port.h thunderbolt: Add support for DMA configuration based mailbox 2017-06-09 11:42:43 +02:00
domain.c thunderbolt: Add support for host and device NVM firmware upgrade 2017-06-09 11:42:43 +02:00
eeprom.c thunderbolt: Do not enumerate more ports from DROM than the controller has 2017-08-10 14:25:35 -07:00
icm.c Merge branches 'acpi-x86', 'acpi-soc', 'acpi-pmic' and 'acpi-apple' 2017-09-03 23:54:03 +02:00
Kconfig thunderbolt: Add support for host and device NVM firmware upgrade 2017-06-09 11:42:43 +02:00
Makefile thunderbolt: Add support for Internal Connection Manager (ICM) 2017-06-09 11:42:43 +02:00
nhi_regs.h thunderbolt: Add support for Internal Connection Manager (ICM) 2017-06-09 11:42:43 +02:00
nhi.c thunderbolt: Add support for Internal Connection Manager (ICM) 2017-06-09 11:42:43 +02:00
nhi.h thunderbolt: Add support for host and device NVM firmware upgrade 2017-06-09 11:42:43 +02:00
path.c thunderbolt: Clear hops before overwriting 2014-08-26 14:54:48 -07:00
switch.c thunderbolt: Allow clearing the key 2017-08-28 16:21:32 +02:00
tb_msgs.h thunderbolt: use uuid_t instead of uuid_be 2017-07-24 17:50:18 +02:00
tb_regs.h thunderbolt: Rework capability handling 2017-06-09 11:42:41 +02:00
tb.c thunderbolt: tb: fix use after free in tb_activate_pcie_devices 2017-11-06 18:22:33 +01:00
tb.h thunderbolt: use uuid_t instead of uuid_be 2017-07-24 17:50:18 +02:00
tunnel_pci.c thunderbolt: Introduce thunderbolt bus and connection manager 2017-06-09 11:42:41 +02:00
tunnel_pci.h thunderbolt: Add support for simple pci tunnels 2014-06-19 14:07:47 -07:00