commit | f2c55d1735175ab37ab9f69854460087112d2756 | [log] [tgz] |
---|---|---|
author | Thomas Huth <thuth@linux.vnet.ibm.com> | Mon Jan 13 09:26:49 2014 +0100 |
committer | Christian Borntraeger <borntraeger@de.ibm.com> | Thu Feb 27 09:51:25 2014 +0100 |
tree | 5e14a0e7a610e52dab8cfa72f8d5dd0ad102ec71 | |
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