qemu-cr16/target
Laurent Vivier 7deddf96e9 target/m68k: fix set_cc_op()
The first call of set_cc_op() in a new translation sequence
is done with old_op set to CC_OP_DYNAMIC (-1).

This will do an out of bound access to the array cc_op_live[].

We fix that by adding an entry in cc_op_live[] for CC_OP_DYNAMIC.

Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20171221160558.14151-1-laurent@vivier.eu>
2017-12-21 20:11:28 +01:00
..
alpha
arm cpu: refactor cpu_address_space_init() 2017-12-21 09:30:31 +01:00
cris
hppa
i386 cpu: refactor cpu_address_space_init() 2017-12-21 09:30:31 +01:00
lm32
m68k target/m68k: fix set_cc_op() 2017-12-21 20:11:28 +01:00
microblaze
mips
moxie
nios2 nios2: remove duplicated includes (in code commented out) 2017-12-18 17:07:02 +03:00
openrisc misc: remove duplicated includes 2017-12-18 17:07:02 +03:00
ppc ppc: remove duplicated includes 2017-12-18 17:07:02 +03:00
s390x s390x: change the QEMU cpu model to a stripped down z12 2017-12-14 17:56:54 +01:00
sh4 target/sh4: Convert to DisasContextBase 2017-12-18 23:35:33 +01:00
sparc
tilegx
tricore
unicore32
xtensa