I have an application developed in VC 2008 (C++) which uses axis dlls, which use openssl dlls. And someone in the chain corrupts heap – a situation which ends up giving me “memory access violation” in my application in places where violation shouldn’t/couldn’t happen. So, someone in the chain axis-ssl corrupts something, but I cannot find who or what.
I tried using DevPartner’s tool for memory leaks, but it finds no leaks – no anything.
How should I approach this problem? I looked over axis and ssl documentation a number of times, and implemented and checked all possible memory management issues and fixes, but to no avail.
Thank you very much!
Marin
If you get the debug versions of the libraries, MSVC offers a debug malloc and free, as well as a debug new and delete. These contain things like overwrite detection.
http://msdn.microsoft.com/en-us/library/bebs9zyz.aspx