diff options
author | Laurent Vivier <laurent@vivier.eu> | 2021-11-21 16:17:11 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-11-22 09:17:08 +0100 |
commit | 802ae45e94151a6d3ee20eadcb865cf6c875df34 (patch) | |
tree | 620c7da6fcb61a3db56cd47f8a3fbc2fe40b0e54 /net/tap-linux.c | |
parent | aee14c77f42533f2480dfa8552f531efde6c19ee (diff) | |
download | qemu-802ae45e94151a6d3ee20eadcb865cf6c875df34.zip qemu-802ae45e94151a6d3ee20eadcb865cf6c875df34.tar.gz qemu-802ae45e94151a6d3ee20eadcb865cf6c875df34.tar.bz2 |
linux-user: fix Coverity CID 1464101
target_mmap() can fail and return -1, but we don't check for that and
instead assume it's always valid.
Fixes: db2af69d6ba8 ("linux-user: Add infrastructure for a signal trampoline page")
Cc: richard.henderson@linaro.org
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211121151711.331653-1-laurent@vivier.eu>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'net/tap-linux.c')
0 files changed, 0 insertions, 0 deletions