-
Notifications
You must be signed in to change notification settings - Fork 166
Open
Description
Hi
There is a bug in your Free List Allocator when alignmentPadding is not zero like on 32 bit systems.
const std::size_t alignmentPadding = padding - allocationHeaderSize; |
One bug is here obviously and newFreeNode address is inside of the current block when alignmentPadding is not zero.
Node * newFreeNode = (Node *)((std::size_t) affectedNode + requiredSize); |
Metadata
Metadata
Assignees
Labels
No labels