qemu-patch-raspberry4/tools/virtiofsd
Philippe Mathieu-Daudé 2693026042 tools/virtiofsd: Check vu_init() return value (CID 1435958)
Since commit 6f5fd83788, vu_init() can fail if malloc() returns NULL.

This fixes the following Coverity warning:

  CID 1435958 (#1 of 1): Unchecked return value (CHECKED_RETURN)

Fixes: 6f5fd83788 ("libvhost-user: support many virtqueues")
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20201102092339.2034297-1-philmd@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2020-11-02 18:32:41 +00:00
..
50-qemu-virtiofsd.json.in virtiofsd: add vhost-user.json file 2020-01-23 16:41:36 +00:00
buffer.c virtiofsd: use fuse_buf_writev to replace fuse_buf_write for better performance 2020-01-23 16:41:37 +00:00
fuse_common.h Revert series: virtiofsd: Announce submounts to the guest 2020-10-28 13:17:32 +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 virtiofsd: Format imported files to qemu style 2020-01-23 16:41:36 +00:00
fuse_lowlevel.c Revert series: virtiofsd: Announce submounts to the guest 2020-10-28 13:17:32 +00:00
fuse_lowlevel.h Revert series: virtiofsd: Announce submounts to the guest 2020-10-28 13:17:32 +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 virtiofsd: Format imported files to qemu style 2020-01-23 16:41:36 +00:00
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 Revert series: virtiofsd: Announce submounts to the guest 2020-10-28 13:17:32 +00:00
meson.build configure: move directory options from config-host.mak to meson 2020-10-26 07:08:38 -04:00
passthrough_helpers.h virtiofsd: Format imported files to qemu style 2020-01-23 16:41:36 +00:00
passthrough_ll.c Revert series: virtiofsd: Announce submounts to the guest 2020-10-28 13:17:32 +00:00
passthrough_seccomp.c virtiofsd: Seccomp: Add 'send' for syslog 2020-11-02 18:29:54 +00:00
passthrough_seccomp.h tools/virtiofsd: convert to Meson 2020-08-21 06:30:09 -04:00