This project has moved and is read-only. For the latest updates, please go here.

Bug report and patch

Mar 22, 2011 at 9:32 PM

If (due to overenthusiastic use of templates and/or boost, for instance) a stack trace line grows to over STACKWALK_MAX_NAMELEN, trying to create the stackwalk will cause the program to abnormally abort.

This is due to two things:

line 1122 strcpy_s should in fact be strncpy(, pSym->Name,sizeof(; 

line 1265, buffer should be allocated larger; it can be given a name of size STACKWALK_MAX_NAMELEN but also a lineFIleName that might be STACKWALK_MAX_NAMELEN, and a few other characters also. 2*STACKWALK_MAX_NAMELEN+20 should be good.

Apr 18, 2011 at 5:08 PM

Maybe report this on the "Issue Tracker" tab available on the top of this page.


May 19, 2011 at 7:22 AM

Thanks for reporting this! I fixed this already in the RC11 release of my leak finder ( I also now fixed it here ;)

Sep 16, 2014 at 1:19 PM
Also solved in the latest revision
Marked as answer by jkalmbach on 9/16/2014 at 5:20 AM