diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2021-05-25 14:44:58 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2021-06-03 16:43:27 +0100 |
| commit | 1c861885894d840235954060050d240259f5340b (patch) | |
| tree | 05ffaa4e20018c74d89d3a91eb3edbc66111e0c0 /hw/net/virtio-net.c | |
| parent | d2304612b525e6a0d9df93717c0d1e5321b6b845 (diff) | |
| download | focaccia-qemu-1c861885894d840235954060050d240259f5340b.tar.gz focaccia-qemu-1c861885894d840235954060050d240259f5340b.zip | |
tests/unit/test-vmstate: Assert that dup() and mkstemp() succeed
Coverity complains that we don't check for failures from dup() and mkstemp(); add asserts that these syscalls succeeded. Fixes: Coverity CID 1432516, 1432574 Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20210525134458.6675-7-peter.maydell@linaro.org
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions