Closed hlef closed 1 month ago
size() returns a size in number of objects, however it is substracted a value in bytes in the pointer-based remove function. This results in various flavors of memory corruption.
size()
remove
Fix the function and ensure that it is covered by the tests.
size()
returns a size in number of objects, however it is substracted a value in bytes in the pointer-basedremove
function. This results in various flavors of memory corruption.Fix the function and ensure that it is covered by the tests.