summaryrefslogtreecommitdiffstats
path: root/scripts/vmstate-static-checker.py
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2016-06-14 19:08:12 +0200
committerMax Reitz2016-06-16 15:20:37 +0200
commit0e321191224c8cd137eef41da3257e096965c3d6 (patch)
tree0f9d28aba34318ee06c89a7ee1f4d54a8cc9f1ed /scripts/vmstate-static-checker.py
parentiotests: Add test for oVirt-like storage migration (diff)
downloadqemu-0e321191224c8cd137eef41da3257e096965c3d6.tar.gz
qemu-0e321191224c8cd137eef41da3257e096965c3d6.tar.xz
qemu-0e321191224c8cd137eef41da3257e096965c3d6.zip
hbitmap: add 'pos < size' asserts
For now, fail in hbitmap_set on start + count > size will come from hbitmap_set hb_count_between hbitmap_iter_init assert(pos < hb->size) This patch adds such checks to set/get/reset functions of hbitmap. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-id: 1465924093-76875-2-git-send-email-vsementsov@virtuozzo.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'scripts/vmstate-static-checker.py')
0 files changed, 0 insertions, 0 deletions