]> git.ipfire.org Git - thirdparty/qemu.git/commit
vhost-user: check unix_listen() return value
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 5 Jun 2019 14:58:26 +0000 (16:58 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 16 Jun 2019 20:16:52 +0000 (16:16 -0400)
commit24af03b946ce6889a435b2f3fc99daddde127874
tree280c47099fe73c6fd2c0f3aac950b0a62f281de3
parent1e40d19877031120631295348c26f43bea08afed
vhost-user: check unix_listen() return value

This check shouldn't be necessary, since &error_fatal is given as
argument and will exit() on failure. However, this change should
silence coverity CID 1401761 & 1401705.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20190605145829.7674-3-marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
contrib/vhost-user-gpu/main.c
contrib/vhost-user-input/main.c