Fix an off-by-one when setting the first bit exceeding the current bitmap size
When setting bit n (the n+1th bit) of an n-bit vbitmap, we'd miss to expand the bitmap and thus overflow our buffer and overwrite the first bit of the next byte in memory.
Showing
Please register or sign in to comment