Closed OlliV closed 3 years ago
https://github.com/Zeke-OS/zeke/blob/08d93b40abcaddb0da49c3eac4a6a6e6cb446092/kern/include/bitmap.h#L60-L67
If 4*8 doesn't divide the number of entires then the bitmap will be allocated using an invalid size and later on accessed past the end of the bitmap.
4*8
https://github.com/Zeke-OS/zeke/blob/08d93b40abcaddb0da49c3eac4a6a6e6cb446092/kern/include/bitmap.h#L60-L67
If
4*8
doesn't divide the number of entires then the bitmap will be allocated using an invalid size and later on accessed past the end of the bitmap.