qemu-e2k/linux-user
Peter Maydell 69d4c703a5 linux-user: Fix error handling in target_to_host_semarray()
Fix two issues in error handling in target_to_host_semarray():
 * don't leak the host_array buffer if lock_user fails
 * return an error if malloc() fails

v2: added missing * -Riku Voipio

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2014-02-19 12:29:23 +02:00
..
aarch64 linux-user: AArch64: define TARGET_CLONE_BACKWARDS 2014-01-08 19:07:20 +00:00
alpha linux-user: sync syscall numbers upto 3.13 2014-02-18 16:45:55 +02:00
arm linux-user: sync syscall numbers upto 3.13 2014-02-18 16:45:55 +02:00
cris linux-user: sync syscall numbers upto 3.13 2014-02-18 16:45:55 +02:00
i386 linux-user: sync syscall numbers upto 3.13 2014-02-18 16:45:55 +02:00
m68k linux-user: sync syscall numbers upto 3.13 2014-02-18 16:45:55 +02:00
microblaze linux-user: sync syscall numbers upto 3.13 2014-02-18 16:45:55 +02:00
mips linux-user: sync syscall numbers upto 3.13 2014-02-18 16:45:55 +02:00
mips64 linux-user: sync syscall numbers upto 3.13 2014-02-18 16:45:55 +02:00
openrisc linux-user: sync syscall numbers upto 3.13 2014-02-18 16:45:55 +02:00
ppc linux-user: sync syscall numbers upto 3.13 2014-02-18 16:45:55 +02:00
s390x linux-user: sync syscall numbers upto 3.13 2014-02-18 16:45:55 +02:00
sh4 linux-user: sync syscall numbers upto 3.13 2014-02-18 16:45:55 +02:00
sparc linux-user: sync syscall numbers upto 3.13 2014-02-18 16:45:55 +02:00
sparc64 linux-user: sync syscall numbers upto 3.13 2014-02-18 16:45:55 +02:00
unicore32 linux-user: create target_structs header to place ipc_perm and shmid_ds 2013-11-29 11:42:04 +02:00
x86_64 linux-user: sync syscall numbers upto 3.13 2014-02-18 16:45:55 +02:00
cpu-uname.c linux-user: Don't treat AArch64 cpu names specially 2013-09-10 19:11:28 +01:00
cpu-uname.h
elfload.c linux-user/elfload.c: Avoid calling g_free() on uninitialized data 2014-02-18 16:54:06 +02:00
errno_defs.h
flat.h
flatload.c linux-user: Remove regs parameter of load_elf_binary and load_flt_binary 2014-01-10 08:51:37 +02:00
ioctls.h linux-user: Implement BLKPG ioctl 2014-02-19 12:29:23 +02:00
linux_loop.h
linuxload.c linux-user: Remove regs parameter of load_elf_binary and load_flt_binary 2014-01-10 08:51:37 +02:00
m68k-sim.c
main.c target-arm: A64: support for ld/st/cl exclusive 2014-01-08 19:07:20 +00:00
Makefile.objs
mmap.c
qemu.h linux-user: Remove regs parameter of load_elf_binary and load_flt_binary 2014-01-10 08:51:37 +02:00
signal.c linux-user/signal.c: Don't pass sigaction uninitialised sa_flags 2014-02-18 16:54:06 +02:00
socket.h
strace.c
strace.list [v2] linux-user: implement m68k atomic syscalls 2013-09-24 10:47:07 +03:00
syscall_defs.h linux-user: Implement BLKPG ioctl 2014-02-19 12:29:23 +02:00
syscall_types.h linux-user: Implement BLKPG ioctl 2014-02-19 12:29:23 +02:00
syscall.c linux-user: Fix error handling in target_to_host_semarray() 2014-02-19 12:29:23 +02:00
target_flat.h
uaccess.c
vm86.c