mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:35:41 +00:00
[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:
parent
4cd30e4431
commit
86041ea09c
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ VOID DoOpenFile(LPCTSTR szFileName)
|
||||||
{
|
{
|
||||||
static const TCHAR dotlog[] = _T(".LOG");
|
static const TCHAR dotlog[] = _T(".LOG");
|
||||||
HANDLE hFile;
|
HANDLE hFile;
|
||||||
LPTSTR pszText;
|
LPTSTR pszText = NULL;
|
||||||
DWORD dwTextLen;
|
DWORD dwTextLen;
|
||||||
TCHAR log[5];
|
TCHAR log[5];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue