Loading
blobfs: check return value of strdup in blobfs_fuse_start()
In blobfs_fuse_start(), bfuse->bdev_name and bfuse->mountpoint are allocated by calling strdup(), which may return NULL. Here, we will go to err if strdup() returns NULL. Signed-off-by:Zhiqiang Liu <liuzhiqiang26@huawei.com> Change-Id: I0599254b3436a310ddd26732312281f07a4972ec Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8303 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>