Searched hist:"0 e321191224c8cd137eef41da3257e096965c3d6" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/util/ |
H A D | hbitmap.c | diff 0e321191224c8cd137eef41da3257e096965c3d6 Tue Jun 14 12:08:12 CDT 2016 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> 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>
|