Stack buffer. ASan said stack. !analyze said heap corruption because we had already returned. I believed ASan.
Order of tools matters. The first detector saw the truth; the dump saw the aftermath.
Refs: WinDbg
Lab / educational. Public binaries and patched classes only. Isolated VM.