diff options
| author | Kangjie Lu <kjlu@umn.edu> | 2019-03-12 03:33:28 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-31 06:46:31 -0700 |
| commit | 495e34e62c3be4e1f4c53892db8aec62832fe6b5 (patch) | |
| tree | e3886f307da41ea024b424e988be2c9755e0b900 /kernel/livepatch/Makefile | |
| parent | 70611b1b81c4ec8ce99d3c00107e89697ec1f495 (diff) | |
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>
Diffstat (limited to 'kernel/livepatch/Makefile')
0 files changed, 0 insertions, 0 deletions
