Enable heap tail checking

The Enable heap tail checking flag checks for buffer overruns when the heap is freed.

Abbreviation

htc

Hexadecimal value

0x10

Symbolic Name

FLG_HEAP_ENABLE_TAIL_CHECK

Destination

System-wide registry entry, kernel flag, image file registry entry

Comments

This flag adds a short pattern to the end of each allocation. The Windows heap manager detects the pattern when the block is freed and, if the block was modified, the heap manager breaks into the debugger.

See Also

Enable heap free checking, Enable heap parameter checking