« Previous | Next » 

Revision f2c55d17

IDf2c55d1735175ab37ab9f69854460087112d2756

Added by Thomas Huth about 10 years ago

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 <>
Reviewed-by: Cornelia Huck <>
Signed-off-by: Christian Borntraeger <>
CC:

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences