This is the third post in a series around using FastMM4.
The start of the series contains a listing of other posts as well and will be updated when new posts become available.
This particular case is about detecting memory overwrites like FastMM has detected an error during a FreeMem operation. The block footer has been corrupted..
Some of them are extremely hard to pin down, especially because there are usually two cases:
- Allocated memory that is too small to hold the data structure
- Free memory that still has a reference to it, which is used after it was freed
This post is on the first case.
A future post will handle an example of the last case.
Read the rest of this entry »