There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Too long function name causes abnormal termination
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(csEntry.name, pSym->Name,sizeof(csEntry.name));
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.