qemu-patch-raspberry4/disas
Taylor Simpson a7686d5d85 Hexagon (disas/hexagon.c) fix memory leak for early exit cases
Don't allocate the string until error conditions have been checked

Fixes: a00cfed0e ("Hexagon (disas) disassembler")
Eliminate Coverity CID 1460121 (Resource leak)

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daud? <f4bug@amsat.org>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
2021-08-12 09:06:05 -05:00
..
libvixl disas/libvixl: Protect C system header for C++ compiler 2021-05-25 16:01:43 +01:00
alpha.c
arm-a64.cc include/disas/dis-asm.h: Handle being included outside 'extern "C"' 2021-05-10 17:21:54 +01:00
arm.c
capstone.c
cris.c
hexagon.c Hexagon (disas/hexagon.c) fix memory leak for early exit cases 2021-08-12 09:06:05 -05:00
hppa.c
i386.c
m68k.c
meson.build Drop the deprecated lm32 target 2021-05-12 18:20:25 +02:00
microblaze.c
mips.c
nanomips.cpp include/disas/dis-asm.h: Handle being included outside 'extern "C"' 2021-05-10 17:21:54 +01:00
nanomips.h
nios2.c
ppc.c
riscv.c
s390.c
sh4.c
sparc.c
xtensa.c