diff options
| author | 2019-03-12 03:33:28 -0500 | |
|---|---|---|
| committer | 2019-03-20 13:37:12 +0300 | |
| commit | 106204b56f60abf1bead7dceb88f2be3e34433da (patch) | |
| tree | 6ee50978ea524c4ff0b5b0ef25772f93a78a8b35 /kernel/sysctl_binary.c | |
| parent | Linux 5.1-rc1 (diff) | |
thunderbolt: property: Fix a NULL pointer dereference
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>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
