Spdk/lib/blobfs
Zhiqiang Liu 2ef4855e83 blobfs: check return value of strdup in spdk_fs_create_file_async()
In spdk_fs_create_file_async(), file->name is set to strdup(name).
We should check whether file->name is equal to NULL.

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
Change-Id: I2219cc353eb4711290aee2599505f57af9088bb2
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8302
Community-CI: Mellanox Build Bot
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2021-06-16 08:53:36 +00:00
..
blobfs.c blobfs: check return value of strdup in spdk_fs_create_file_async() 2021-06-16 08:53:36 +00:00
Makefile so_ver: increase all major versions 2021-02-05 14:43:47 +00:00
spdk_blobfs.map lib/blobfs: add a map file. 2020-04-22 09:21:55 +00:00
tree.c lib/blobfs: remove legacy config support 2020-10-20 02:42:16 +00:00
tree.h lib/blobfs: remove legacy config support 2020-10-20 02:42:16 +00:00