]> Git Repo - qemu.git/commit
virtiofsd: fv_create_listen_socket error path socket leak
authorDr. David Alan Gilbert <[email protected]>
Fri, 31 Jan 2020 19:52:14 +0000 (19:52 +0000)
committerDr. David Alan Gilbert <[email protected]>
Mon, 10 Feb 2020 17:24:43 +0000 (17:24 +0000)
commit6fa249027f97e3080f3d9c0fab3f94f8f80828fe
treef06301b467f7b3be89d9db2cb6accdff5f5281f9
parent988717b46b6424907618cb845ace9d69062703af
virtiofsd: fv_create_listen_socket error path socket leak

If we fail when bringing up the socket we can leak the listen_fd;
in practice the daemon will exit so it's not really a problem.

Fixes: Coverity CID 1413121
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
tools/virtiofsd/fuse_virtio.c
This page took 0.025548 seconds and 4 git commands to generate.