diff options
| author | Aditya Pakki <pakki001@umn.edu> | 2019-03-26 00:55:27 +0300 |
|---|---|---|
| committer | Dan Williams <dan.j.williams@intel.com> | 2019-03-27 20:08:55 +0300 |
| commit | 486fa92df4707b5df58d6508728bdb9321a59766 (patch) | |
| tree | 866f674f33e865b0ce8e199890a10efe4f1e563e /lib/test-string_helpers.c | |
| parent | 55c1fc0af29a6c1b92f217b7eb7581a882e0c07c (diff) | |
| download | linux-486fa92df4707b5df58d6508728bdb9321a59766.tar.xz | |
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 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
