mirror of
https://github.com/reactos/reactos.git
synced 2026-07-06 14:44:24 +08:00
overrun of static array
Fix for Coverity error CID: 529 svn path=/trunk/; revision=36418
This commit is contained in:
@@ -317,7 +317,7 @@ done:
|
||||
BOOL WriteText(HANDLE hFile, LPCWSTR pszText, DWORD dwTextLen, int iEncoding, int iEoln)
|
||||
{
|
||||
WCHAR wcBom;
|
||||
BYTE bEoln[1];
|
||||
BYTE bEoln[2];
|
||||
LPBYTE pbEoln = NULL;
|
||||
DWORD dwDummy, dwPos, dwNext, dwEolnSize = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user