aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/virtio-input-host-pci.c
diff options
context:
space:
mode:
authorAlexander Ivanov <alexander.ivanov@virtuozzo.com>2023-07-18 12:44:31 +0200
committerDenis V. Lunev <den@openvz.org>2023-09-06 17:36:49 +0200
commit8cd19203f46f1374d6b45291e1c5a45706dbc3aa (patch)
tree8a87899b598f7b5db01c0f8d9ab9a5f28ff4455f /hw/virtio/virtio-input-host-pci.c
parent7c5f86d5ff36ddff17454d510e76064f2d650b27 (diff)
downloadqemu-8cd19203f46f1374d6b45291e1c5a45706dbc3aa.zip
qemu-8cd19203f46f1374d6b45291e1c5a45706dbc3aa.tar.gz
qemu-8cd19203f46f1374d6b45291e1c5a45706dbc3aa.tar.bz2
parallels: Add data_off check
data_off field of the parallels image header can be corrupted. Check if this field greater than the header + BAT size and less than file size. Signed-off-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com> Reviewed-by: Denis V. Lunev <den@openvz.org> Signed-off-by: Denis V. Lunev <den@openvz.org>
Diffstat (limited to 'hw/virtio/virtio-input-host-pci.c')
0 files changed, 0 insertions, 0 deletions