qemu-e2k/target/s390x
Emilio G. Cota 071bd2b628 target/s390x: avoid integer overflow in next_page PC check
If the PC is in the last page of the address space, next_page_start
overflows to 0. Fix it.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Cc: Cornelia Huck <cohuck@redhat.com>
Cc: Alexander Graf <agraf@suse.de>
Cc: David Hildenbrand <david@redhat.com>
Cc: qemu-s390x@nongnu.org
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2018-05-09 10:12:21 -07:00
..
arch_dump.c
cc_helper.c
cpu_features_def.h
cpu_features.c s390x/cpumodel: document S390FeatDef.bit not applicable 2018-02-26 12:55:26 +01:00
cpu_features.h s390x/cpumodel: fix feature groups and breakage of MSA8 2018-03-23 09:05:42 +00:00
cpu_models.c qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
cpu_models.h
cpu-qom.h
cpu.c qapi: Empty out qapi-schema.json 2018-03-02 13:45:50 -06:00
cpu.h cpu: get rid of unused cpu_init() defines 2018-03-19 14:10:36 -03:00
crypto_helper.c
diag.c
excp_helper.c s390x/tcg: fix loading 31bit PSWs with the highest bit set 2018-03-01 13:23:09 +01:00
fpu_helper.c
gdbstub.c
gen-features.c
helper.c s390x: load_psw() should only exchange the PSW for KVM 2018-04-09 13:59:06 +02:00
helper.h
insn-data.def s390x/tcg: add various alignment checks 2018-02-26 12:55:26 +01:00
insn-format.def
int_helper.c
internal.h
interrupt.c
ioinst.c
kvm_s390x.h s390x: remove s390_get_memslot_count 2018-02-26 12:55:26 +01:00
kvm-stub.c s390x: remove s390_get_memslot_count 2018-02-26 12:55:26 +01:00
kvm.c s390x/kvm: cleanup calls to cpu_synchronize_state() 2018-04-30 10:31:41 +02:00
machine.c
Makefile.objs
mem_helper.c target/s390x: Remove leading underscores from #defines 2018-03-08 15:49:23 +01:00
misc_helper.c
mmu_helper.c s390x/mmu: don't overwrite pending exception in mmu translate 2018-04-09 13:58:01 +02:00
sigp.c qapi: Empty out qapi-schema.json 2018-03-02 13:45:50 -06:00
trace-events
translate.c target/s390x: avoid integer overflow in next_page PC check 2018-05-09 10:12:21 -07:00