>Ed,
>
>I wonder how many billion programmer hours have been wasted by pointers? *L*
>
I don't think we can represent that number with a ULONG!
All this because someone had a pointer to a structure (the structure is 700 bytes long), and needed 41st byte of the strucutre. So rather than looking up the name of the structure member or recasting the pointer, he just added 41 to the pointer...and walked off the end of the heap. *sigh*
>>Another case of failing to RTFM...just be glad we're not doing C - I'm in working today because someone failed to properly cast some pointers to structures before doing some (in theory) simple pointer math....