S
simonl
Hi,
I've been given the job of sorting out a crash in our product for
which we have the crash information and an avi of the event (which
can't possibly match but more of that later...) (btw this is a single
threaded VC9 / win32 app)
The call stack for the bug effectively goes
void* myBuf;
void myFunc()
{
if( myBuf )
{
(maybe some stuff happens here)
do something with myBuf.. except it's NULL in the debug
information I have
}
My question is.. can anything in the heap have overwritten myBuf with
NULL?
Another possibilty is another static variable, say a fixed size array
where we're writing outside the bounds.
My boss just told me we're using a memory manager called Smartheap,
crap knows what that's doing..
Any comments?
I've been given the job of sorting out a crash in our product for
which we have the crash information and an avi of the event (which
can't possibly match but more of that later...) (btw this is a single
threaded VC9 / win32 app)
The call stack for the bug effectively goes
void* myBuf;
void myFunc()
{
if( myBuf )
{
(maybe some stuff happens here)
do something with myBuf.. except it's NULL in the debug
information I have
}
My question is.. can anything in the heap have overwritten myBuf with
NULL?
Another possibilty is another static variable, say a fixed size array
where we're writing outside the bounds.
My boss just told me we're using a memory manager called Smartheap,
crap knows what that's doing..
Any comments?