qemu/target-s390x
Alexander Yarygin 9946a9113c s390x/ipl: Add type and length checks for IplParameterBlock values
We can check for valid type and lengths of the IplParameterBlock fields
when receiving the struct from the guest.

Length of the IplParameterBlock can be less than 4K. To play safe we can
read and write only required amount of data.

Signed-off-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com>
Reviewed-by: David Hildenband <dahi@linux.vnet.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
2016-05-17 15:50:29 +02:00
..
arch_dump.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
cc_helper.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
cpu-qom.h s390x/cpu: Add error handling to cpu creation 2016-03-10 10:37:15 +01:00
cpu.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
cpu.h s390x: enable runtime instrumentation 2016-05-17 15:50:29 +02:00
fpu_helper.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
gdbstub.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
helper.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
helper.h target-s390x: PER instruction-fetch event support 2015-06-17 12:40:52 +02:00
insn-data.def target-s390x: wire up I/O instructions in TCG mode 2015-06-17 12:40:50 +02:00
insn-format.def target-s390: Add format based disassassmbly infrastructure 2013-01-05 12:00:27 -08:00
int_helper.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
interrupt.c s390x: remove {kvm_}s390_virtio_irq() 2016-03-01 12:15:28 +01:00
ioinst.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
ioinst.h s390/ioinst: fix IO_INT_WORD_ISC macro 2015-06-17 12:40:50 +02:00
kvm.c s390x: enable runtime instrumentation 2016-05-17 15:50:29 +02:00
machine.c s390x: enable runtime instrumentation 2016-05-17 15:50:29 +02:00
Makefile.objs s390x/mmu: Move mmu_translate() and friends to separate file 2015-02-18 09:36:38 +01:00
mem_helper.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
misc_helper.c s390x/ipl: Add type and length checks for IplParameterBlock values 2016-05-17 15:50:29 +02:00
mmu_helper.c s390x: fix debug statement in trigger_page_fault() 2016-03-01 12:15:28 +01:00
translate.c tcg: Allow goto_tb to any target PC in user mode 2016-05-12 14:06:42 -10:00