aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
diff options
context:
space:
mode:
authoralessio98888 <56458281+alessio98888@users.noreply.github.com>2025-08-16 19:50:06 +0200
committeralessio98888 <56458281+alessio98888@users.noreply.github.com>2025-08-16 19:50:06 +0200
commitc6db3cc6709bf53d0bbfafab66769175e9a871ae (patch)
tree5f6322afecd0577fe9e75c1d40e03eb5df8b9852 /src/checker.cpp
parentfb4641307189b6952304dc1b2ff3dccdad75029c (diff)
Fix buddy allocator assert
The last address of "data" is not "cast(uintptr)raw_data(data)+cast(uintptr)size" but "cast(uintptr)raw_data(data)+cast(uintptr)(size-1)". The original assert would fail when for example the allocation size requested and the buddy allocator allignment were both 64.
Diffstat (limited to 'src/checker.cpp')
0 files changed, 0 insertions, 0 deletions