diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-11-04 23:52:54 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-06 18:22:33 +0100 |
commit | a2e373438f72391493a4425efc1b82030b6b4fd5 (patch) | |
tree | c7ccb397642d1f4d4f4e2bc693cff0f7166e6b46 /drivers/nvmem | |
parent | cc5284142268bbcb70cafdf110d6cf4c4f9714e5 (diff) | |
download | linux-a2e373438f72391493a4425efc1b82030b6b4fd5.tar.bz2 |
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: 9d3cce0b6136 ("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>
Diffstat (limited to 'drivers/nvmem')
0 files changed, 0 insertions, 0 deletions