Skip to content
Commit 2572c7fb authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Jon Mason
Browse files

ntb: fix possible NULL dereference



kmalloc can fail and we should check for NULL before using the pointer
returned by kmalloc.

Signed-off-by: default avatarSudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Acked-by: default avatarDave Jiang <dave.jiang@intel.com>
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
parent ee5f750f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment