AV with Poison on Free enabled in ATL CMap

0 Likes

Problem:

With Poison on Free enabled, my application is crashing in debug builds under BoundsChecker.

Resolution:

CMap undefines the debug_new macro, and this can cause problems when generating a new entry if Poison on Free is enabled. BoundsChecker is expecting the debug version of new, and will poison the memory before it's returned.

Old KB# 12331
Comment List
Anonymous
Related Discussions
Recommended