« Previous | Next » 

Revision 1b095244

ID1b0952445522af73b0e78420a9078b3653923703

Added by Paolo Bonzini about 11 years ago

hbitmap: add assertion on hbitmap_iter_init

hbitmap_iter_init causes an out-of-bounds access when the "first"
argument is or greater than or equal to the size of the bitmap.
Forbid this with an assertion, and remove the failing testcase.

Reported-by: Kevin Wolf <>
Signed-off-by: Paolo Bonzini <>
Reviewed-by: Eric Blake <>
Reviewed-by: Laszlo Ersek <>
Signed-off-by: Kevin Wolf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences