[NOTEPAD]

- Don't assume out parameter initialization on failure. Patch by Samuel Serapión
CORE-7292 #resolve

svn path=/trunk/; revision=59585
This commit is contained in:
Thomas Faber 2013-07-25 20:29:23 +00:00
parent 4cd30e4431
commit 86041ea09c

View file

@ -293,7 +293,7 @@ VOID DoOpenFile(LPCTSTR szFileName)
{
static const TCHAR dotlog[] = _T(".LOG");
HANDLE hFile;
LPTSTR pszText;
LPTSTR pszText = NULL;
DWORD dwTextLen;
TCHAR log[5];