AtlTraceVA
I'm hitting a runtime error in my debug builds. I've traced it down to AtlTraceVA (atldebugapi.cpp). It looks like a buffer overflow. Here's a code snipet
void
__cdecl AtlTraceVA(DWORD_PTR dwModule,constchar *pszFileName,int nLine,DWORD_PTR dwCategory, UINT nLevel,
const CHAR *pszFormat, va_list ptr){
...staticconstint nCount = 1024;
CHAR szBuf[nCount] = {
'\0'};...
}
Shouldn't be
CHAR szBuf[nCount-1] = {'\0'};

