qemu-e2k/tools/virtiofsd
Haotian Li 7632b56c8f virtiofsd: check whether strdup lo.source return NULL in main func
In main func, strdup lo.source may fail. So check whether strdup
lo.source return NULL before using it.

Signed-off-by: Haotian Li <lihaotian9@huawei.com>
Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
Message-Id: <f1e48ca8-d6de-d901-63c8-4f4024bda518@huawei.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2020-11-12 16:25:38 +00:00
..
50-qemu-virtiofsd.json.in virtiofsd: add vhost-user.json file 2020-01-23 16:41:36 +00:00
buffer.c tools/virtiofsd/buffer.c: check whether buf is NULL in fuse_bufvec_advance func 2020-11-12 16:25:23 +00:00
fuse_common.h virtiofsd: Check FUSE_SUBMOUNTS 2020-11-02 19:22:06 +00:00
fuse_i.h tools/virtiofsd: add support for --socket-group 2020-10-12 12:39:38 +01:00
fuse_log.c virtiofsd: Fix common header and define for QEMU builds 2020-01-23 16:41:36 +00:00
fuse_log.h
fuse_lowlevel.c virtiofsd: Add attr_flags to fuse_entry_param 2020-11-02 19:22:48 +00:00
fuse_lowlevel.h virtiofsd: Add attr_flags to fuse_entry_param 2020-11-02 19:22:48 +00:00
fuse_misc.h virtiofsd: support nanosecond resolution for file timestamp 2020-01-23 16:41:37 +00:00
fuse_opt.c virtiofsd: Fix common header and define for QEMU builds 2020-01-23 16:41:36 +00:00
fuse_opt.h
fuse_signals.c virtiofsd: convert more fprintf and perror to use fuse log infra 2020-01-23 16:41:37 +00:00
fuse_virtio.c tools/virtiofsd: Check vu_init() return value (CID 1435958) 2020-11-02 18:32:41 +00:00
fuse_virtio.h virtiofsd: cleanup allocated resource in se 2020-01-23 16:41:37 +00:00
helper.c virtiofsd: Announce sub-mount points 2020-11-02 19:22:51 +00:00
meson.build meson: vhost-user-gpu/virtiofsd: use absolute path 2020-11-03 09:42:53 -05:00
passthrough_helpers.h
passthrough_ll.c virtiofsd: check whether strdup lo.source return NULL in main func 2020-11-12 16:25:38 +00:00
passthrough_seccomp.c virtiofsd: Add mount ID to the lo_inode key 2020-11-02 19:22:50 +00:00
passthrough_seccomp.h tools/virtiofsd: convert to Meson 2020-08-21 06:30:09 -04:00