Skip to content
Commit affff077 authored by Chengguang Xu's avatar Chengguang Xu Committed by Ilya Dryomov
Browse files

libceph: check kstrndup() return value



Should check result of kstrndup() in case of memory allocation failure.

Signed-off-by: default avatarChengguang Xu <cgxu519@icloud.com>
Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent e30ee581
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment