Static Analyzer reports buffer overrun in comdef.h: C6386
The static analyzer doesn't like a section of code in the standard include file comdef.h(258):
m_pszMsg = (LPTSTR)LocalAlloc(0, 32 *
sizeof(TCHAR));if (m_pszMsg != NULL) {WORD wCode = WCode();
if (wCode != 0) {_COM_PRINTF_S_1(m_pszMsg, 32, TEXT(
"Unknown error 0x%0lX"), m_hresult);To me this seems a hick-up of the static anaylzer. I have see some other post that described that this is caused by the fact that /analyze was defined for the project or just activated by the project menu. But that post was about a pre-release, and I am using the released version of VC2005.
Have anybody else seen this issue and knows a workaround for it?

