qemu-cr16/linux-user
Peter Maydell 6afafa86f3 linux-user/elfload.c: Avoid calling g_free() on uninitialized data
Avoid calling g_free() on unintialized data in the error-handling
paths in elf_core_dump() by splitting the initialization of the
elf_note_info struct out of fill_note_info() so that it's always
valid to call free_note_info() whether we got to the point of
being able to fill_note_info() or not.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2014-02-18 16:54:06 +02:00
..
aarch64
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
x86_64 linux-user: sync syscall numbers upto 3.13 2014-02-18 16:45:55 +02:00
cpu-uname.c
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
ioctls.h
linux_loop.h
linuxload.c
m68k-sim.c
main.c
Makefile.objs
mmap.c
qemu.h
signal.c linux-user: Fix trampoline code for CRIS 2014-02-03 14:04:00 +00:00
socket.h
strace.c
strace.list
syscall.c linux-user: refactor do_socketcall() 2014-02-15 16:10:25 +04:00
syscall_defs.h
syscall_types.h
target_flat.h
uaccess.c
vm86.c