Skip to content

virtiofsd coverity fixes

Dr. David Alan Gilbert (git) qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4virtiofsd: Remove fuse_req_getgroupstools/virtiofsd/fuse.h tools/virtiofsd/fuse_lowlevel.c tools/virtiofsd/fuse_lowlevel.h+0 -1181 reply
2/4virtiofsd: fv_create_listen_socket error path socket leaktools/virtiofsd/fuse_virtio.c+2 -01 reply
3/4virtiofsd: load_capng missing unlocktools/virtiofsd/passthrough_ll.c+1 -03 replies
4/4virtiofsd: do_read missing NULL checktools/virtiofsd/fuse_lowlevel.c+4 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPhilippe Mathieu-DaudéStefan Hajnoczi
SeriesR-b
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] virtiofsd coverity fixes

From: "Dr. David Alan Gilbert" <[email protected]>

Hi,
This is a set of fixes that fixes things that coverity pointed out.
Only the last one (the NULL check in do_read) is probably important.

Dave

Dr. David Alan Gilbert (4):
virtiofsd: Remove fuse_req_getgroups
virtiofsd: fv_create_listen_socket error path socket leak
virtiofsd: load_capng missing unlock
virtiofsd: do_read missing NULL check

 tools/virtiofsd/fuse.h           | 20 --------
 tools/virtiofsd/fuse_lowlevel.c  | 81 ++------------------------------
 tools/virtiofsd/fuse_lowlevel.h  | 21 ---------
 tools/virtiofsd/fuse_virtio.c    |  2 +
 tools/virtiofsd/passthrough_ll.c |  1 +
 5 files changed, 7 insertions(+), 118 deletions(-)
Signature · 1 line
2.24.1