qemu-e2k/linux-user
Peter Maydell 022625a8ad linux-user: Check copy_from_user() return value in vma_dump_size()
Coverity points out that we don't check the return value from
copy_from_user() in vma_dump_size(). This is to some extent
a "can't happen" error since we've already checked the page
with an access_ok() call earlier, but it's simple enough to
handle the error anyway.

Fixes: Coverity CID 1432362
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20201103141532.19912-1-peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2020-11-04 22:28:05 +01:00
..
aarch64 target-arm queue: 2020-10-29 11:40:04 +00:00
alpha linux-user: update syscall.tbl to Linux 5.9-rc7 2020-10-26 11:39:23 +01:00
arm linux-user: update syscall.tbl to Linux 5.9-rc7 2020-10-26 11:39:23 +01:00
cris linux-user/: fix some comment spelling errors 2020-09-17 20:39:22 +02:00
generic linux-user: Add generic 'termbits.h' for some archs 2020-08-27 12:29:50 +02:00
host linux-user/: fix some comment spelling errors 2020-09-17 20:39:22 +02:00
hppa linux-user: update syscall.tbl to Linux 5.9-rc7 2020-10-26 11:39:23 +01:00
i386 linux-user: update syscall.tbl to Linux 5.9-rc7 2020-10-26 11:39:23 +01:00
m68k linux-user: update syscall.tbl to Linux 5.9-rc7 2020-10-26 11:39:23 +01:00
microblaze linux-user: update syscall.tbl to Linux 5.9-rc7 2020-10-26 11:39:23 +01:00
mips linux-user/mips/cpu_loop: silence the compiler warnings 2020-11-04 22:21:50 +01:00
mips64 linux-user: update syscall.tbl to Linux 5.9-rc7 2020-10-26 11:39:23 +01:00
nios2 linux-user: update syscall_nr.h to Linux 5.9-rc7 2020-10-26 11:39:23 +01:00
openrisc linux-user: update syscall_nr.h to Linux 5.9-rc7 2020-10-26 11:39:23 +01:00
ppc linux-user: update syscall.tbl to Linux 5.9-rc7 2020-10-26 11:39:23 +01:00
riscv linux-user: update syscall_nr.h to Linux 5.9-rc7 2020-10-26 11:39:23 +01:00
s390x linux-user: update syscall.tbl to Linux 5.9-rc7 2020-10-26 11:39:23 +01:00
sh4 linux-user: update syscall.tbl to Linux 5.9-rc7 2020-10-26 11:39:23 +01:00
sparc linux-user: update syscall.tbl to Linux 5.9-rc7 2020-10-26 11:39:23 +01:00
sparc64 linux-user: update syscall.tbl to Linux 5.9-rc7 2020-10-26 11:39:23 +01:00
tilegx linux-user: Add generic 'termbits.h' for some archs 2020-08-27 12:29:50 +02:00
x86_64 linux-user: update syscall.tbl to Linux 5.9-rc7 2020-10-26 11:39:23 +01:00
xtensa linux-user: update syscall.tbl to Linux 5.9-rc7 2020-10-26 11:39:23 +01:00
cpu_loop-common.h
elfload.c linux-user: Check copy_from_user() return value in vma_dump_size() 2020-11-04 22:28:05 +01:00
errno_defs.h
exit.c
fd-trans.c linux-user: add netlink RTM_SETLINK command 2020-07-13 21:26:33 +02:00
fd-trans.h
flat.h linux-user/: fix some comment spelling errors 2020-09-17 20:39:22 +02:00
flatload.c linux-user/: fix some comment spelling errors 2020-09-17 20:39:22 +02:00
ioctls.h linux-user: Add support for btrfs ioctls used to scrub a filesystem 2020-09-03 01:09:35 +02:00
linux_loop.h
linuxload.c
main.c linux-user: Ensure mmap_min_addr is non-zero 2020-07-27 22:02:40 +02:00
meson.build meson: linux-user 2020-08-21 06:30:38 -04:00
mmap.c linux-user: Set PAGE_TARGET_1 for TARGET_PROT_BTI 2020-10-27 10:44:02 +00:00
qemu.h linux-user/elfload: Parse NT_GNU_PROPERTY_TYPE_0 notes 2020-10-27 10:44:02 +00:00
safe-syscall.S
signal-common.h
signal.c qemu/atomic.h: rename atomic_ to qatomic_ 2020-09-23 16:07:44 +01:00
socket.h
strace.c linux-user: Add strace support for printing OFD fcntl operations 2020-09-01 11:47:12 +02:00
strace.list linux-user: Add strace support for printing arguments of some clock and time functions 2020-08-27 12:29:50 +02:00
syscall_defs.h linux-user: Set PAGE_TARGET_1 for TARGET_PROT_BTI 2020-10-27 10:44:02 +00:00
syscall_types.h linux-user: Add support for btrfs ioctls used to scrub a filesystem 2020-09-03 01:09:35 +02:00
syscall.c linux-user/syscall: Fix missing target_to_host_timespec64() check 2020-11-04 22:27:03 +01:00
target_flat.h
trace-events
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
uaccess.c
uname.c
uname.h
vm86.c