summaryrefslogtreecommitdiff
path: root/xen-hvm.c
diff options
context:
space:
mode:
authorAlexander Yarygin <yarygin@linux.vnet.ibm.com>2015-08-10 13:57:03 +0300
committerCornelia Huck <cornelia.huck@de.ibm.com>2016-05-17 15:50:29 +0200
commit9946a9113cf5d84c9381342100343aa97f736ee0 (patch)
tree42f6113e51f56e7c584d01c2bfc682e4f5aac873 /xen-hvm.c
parent04ca4b92ecb33703b03b8501bfb3d8b0c551e2e5 (diff)
downloadqemu-9946a9113cf5d84c9381342100343aa97f736ee0.tar.gz
qemu-9946a9113cf5d84c9381342100343aa97f736ee0.tar.bz2
qemu-9946a9113cf5d84c9381342100343aa97f736ee0.zip
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>
Diffstat (limited to 'xen-hvm.c')
0 files changed, 0 insertions, 0 deletions