Hi all,

I am debugging a buffer overflow, and I am having a lot of difficulty in finding out where the bug is at.

I have a pointer points to the memory address 0x013d1218, but something is writing to it...
The problem is that it is being written without a specific pattern (When I step through the code in debug mode, 0x013d1218 is being written by a different code sometimes...)
Let's say line 100 wrote to 0x013d1218, so I would set a break point at line 100, but the next time I run the program, line 200 writes to 0x013d1218 instead of line 100...

It's pretty frustrating to debug this, so I am wondering if VS2005 has a tool that shows which code wrote to the memory

Thank you,
kab