Quantcast
Channel: Visual Leak Detector for Visual C++ 2008-2015
Viewing all articles
Browse latest Browse all 704

New Post: VLD 2.0, VC++2005, Crash after stack overflow on calling RtlAllocateHeap() from vldnew()

$
0
0
not race condition. The hook routine of RtlAllocateHeap just indirectly calls RtlAllocateHeap itself, so the endless recursive call occurs and leads to stack overflow.

call chain((actually a loop):

RtlAllocateHeap -> RtlAllocateHeap hook routine ->enabled ->gettls -> TlsSetValue -> VirtualUnlock -> RtlAllocateHeap

Viewing all articles
Browse latest Browse all 704

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>