diff options
author | Aditya Pakki <pakki001@umn.edu> | 2019-03-25 22:55:27 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-03-27 18:08:55 +0100 |
commit | 486fa92df4707b5df58d6508728bdb9321a59766 (patch) | |
tree | 866f674f33e865b0ce8e199890a10efe4f1e563e /tools/testing | |
parent | libnvdimm/namespace: Fix a potential NULL pointer dereference (diff) | |
download | linux-486fa92df4707b5df58d6508728bdb9321a59766.tar.xz linux-486fa92df4707b5df58d6508728bdb9321a59766.zip |
libnvdimm/btt: Fix a kmemdup failure check
In case kmemdup fails, the fix releases resources and returns to
avoid the NULL pointer dereference.
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions