You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be a bug in this line. headerPtr = &allocationHeader;
Should be changed to *headerPtr = allocationHeader; otherwise the padding value is not recorded in the header memory.
I tested the original code, and the stack head address mismatches after one allocation and one free.
The text was updated successfully, but these errors were encountered:
There seems to be a bug in this line.
headerPtr = &allocationHeader;
Should be changed to
*headerPtr = allocationHeader;
otherwise the padding value is not recorded in the header memory.I tested the original code, and the stack head address mismatches after one allocation and one free.
The text was updated successfully, but these errors were encountered: