commit | affff07739392920d3d2095212c72af220481b95 | [log] [tgz] |
---|---|---|
author | Chengguang Xu <cgxu519@icloud.com> | Fri Jan 26 14:54:43 2018 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Jan 29 18:36:12 2018 +0100 |
tree | 87fc485fb0897e6c97e191b01f9e0885a86d2276 | |
parent | e30ee58121e34831b9665934d70dbc72ab0fe2fb [diff] |
libceph: check kstrndup() return value Should check result of kstrndup() in case of memory allocation failure. Signed-off-by: Chengguang Xu <cgxu519@icloud.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>