Skip to content
Commit 55c1fc0a authored by Kangjie Lu's avatar Kangjie Lu Committed by Dan Williams
Browse files

libnvdimm/namespace: Fix a potential NULL pointer dereference



In case kmemdup fails, the fix goes to blk_err to avoid NULL
pointer dereference.

Signed-off-by: default avatarKangjie Lu <kjlu@umn.edu>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 351f339f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment