aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi/source.py
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 /scripts/qapi/source.py
parentparallels: Use bdrv_co_getlength() in parallels_check_outside_image() (diff)
downloadqemu-8cd19203f46f1374d6b45291e1c5a45706dbc3aa.tar.xz
qemu-8cd19203f46f1374d6b45291e1c5a45706dbc3aa.zip
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 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions