diff options
author | Kangjie Lu <kjlu@umn.edu> | 2019-03-25 21:23:08 +0100 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2019-03-28 09:30:47 +0100 |
commit | 6183d5a51866f3acdeeb66b75e87d44025b01a55 (patch) | |
tree | deb7832ddcc320a2e31509df57b4e86308b12061 /drivers/ras | |
parent | thunderbolt: xdomain: Fix to check return value of kmemdup (diff) | |
download | linux-6183d5a51866f3acdeeb66b75e87d44025b01a55.tar.xz linux-6183d5a51866f3acdeeb66b75e87d44025b01a55.zip |
thunderbolt: property: Fix a missing check of kzalloc
No check is enforced for the return value of kzalloc,
which may lead to NULL-pointer dereference.
The patch fixes this issue.
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/ras')
0 files changed, 0 insertions, 0 deletions