kernel-fxtec-pro1x/drivers/thunderbolt
Kangjie Lu 495e34e62c thunderbolt: property: Fix a NULL pointer dereference
[ Upstream commit 106204b56f60abf1bead7dceb88f2be3e34433da ]

In case kzalloc fails, the fix releases resources and returns
-ENOMEM to avoid the NULL pointer dereference.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-05-31 06:46:31 -07:00
..
cap.c
ctl.c
ctl.h
dma_port.c
dma_port.h
domain.c
eeprom.c
icm.c thunderbolt: Fix to check the return value of kmemdup 2019-05-31 06:46:29 -07:00
Kconfig
Makefile
nhi.c
nhi.h
nhi_regs.h
path.c
property.c thunderbolt: property: Fix a NULL pointer dereference 2019-05-31 06:46:31 -07:00
switch.c thunderbolt: Fix to check for kmemdup failure 2019-05-31 06:46:31 -07:00
tb.c
tb.h
tb_msgs.h
tb_regs.h
tunnel_pci.c
tunnel_pci.h
xdomain.c thunderbolt: Fix to check return value of ida_simple_get 2019-05-31 06:46:31 -07:00