qemu/target-s390x
zhanghailiang 1a71992376 target-s390x: fix possible out of bounds read
Array index starts at 0, so the valid index of ext_queue array,
io_queue array, mchk_queue array should be MAX_EXT_QUEUE - 1,
MAX_IO_QUEUE - 1, MAX_MCHK_QUEUE - 1.

The original checks missed the invalid bound value, which will lead
possible out of bounds read in the follow codes.

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-12-10 11:14:44 +03:00
..
Makefile.objs s390x/migration: migrate CPU state 2014-10-10 13:31:51 +02:00
arch_dump.c
cc_helper.c
cpu-qom.h s390x/migration: migrate CPU state 2014-10-10 13:31:51 +02:00
cpu.c s390x/migration: migrate CPU state 2014-10-10 13:31:51 +02:00
cpu.h s390x/kvm: reuse kvm_s390_reset_vcpu() to get rid of ifdefs 2014-10-10 10:37:47 +02:00
fpu_helper.c
gdbstub.c s390x/gdb: coding style fixes 2014-09-01 09:45:19 +02:00
helper.c target-s390x: fix possible out of bounds read 2014-12-10 11:14:44 +03:00
helper.h
insn-data.def s390x: Implement SAM{24,31,64} 2014-11-05 12:01:28 +01:00
insn-format.def
int_helper.c
interrupt.c s390x: Fix sclp console input 2014-11-05 12:01:28 +01:00
ioinst.c
ioinst.h s390x/css: support format-0 ccws 2014-09-23 14:10:17 +02:00
kvm.c s390x/kvm: Fix compile error 2014-11-26 12:11:27 +01:00
machine.c s390x/migration: migrate CPU state 2014-10-10 13:31:51 +02:00
mem_helper.c
misc_helper.c
translate.c s390x: Implement SAM{24,31,64} 2014-11-05 12:01:28 +01:00