linux-uconsole/drivers/thunderbolt
Kangjie Lu 495e34e62c thunderbolt: property: Fix a NULL pointer dereference
[ Upstream commit 106204b56f ]

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 thunderbolt: Add support for runtime PM 2018-07-25 10:55:29 +02:00
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 thunderbolt: Initialize after IOMMUs 2018-10-02 10:51:16 -07:00
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 thunderbolt: Take domain lock in switch sysfs attribute callbacks 2019-05-31 06:46:20 -07:00
tb_msgs.h thunderbolt: Add support for runtime PM 2018-07-25 10:55:29 +02:00
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