diff options
author | Alexander Ivanov <alexander.ivanov@virtuozzo.com> | 2023-07-18 12:44:31 +0200 |
---|---|---|
committer | Denis V. Lunev <den@openvz.org> | 2023-09-06 17:36:49 +0200 |
commit | 8cd19203f46f1374d6b45291e1c5a45706dbc3aa (patch) | |
tree | 8a87899b598f7b5db01c0f8d9ab9a5f28ff4455f /hw/virtio/virtio-input-host-pci.c | |
parent | 7c5f86d5ff36ddff17454d510e76064f2d650b27 (diff) | |
download | qemu-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