diff options
author | Thomas Huth <thuth@linux.vnet.ibm.com> | 2014-01-13 09:26:49 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-02-27 09:51:25 +0100 |
commit | f2c55d1735175ab37ab9f69854460087112d2756 (patch) | |
tree | 5e14a0e7a610e52dab8cfa72f8d5dd0ad102ec71 /target-s390x | |
parent | 0788082a4b3f41cb453b654d1a66f87adfa794a9 (diff) |
s390x/virtio-hcall: Add range check for hypervisor call
The handler for diag 500 did not check whether the requested function
was in the supported range, so illegal values could crash QEMU in the
worst case.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
CC: qemu-stable@nongnu.org
Diffstat (limited to 'target-s390x')
0 files changed, 0 insertions, 0 deletions