[NTVDM]: "BytesRead is uninitialized in DosReadCharacter" (CID 1341427)

CORE-10644

svn path=/trunk/; revision=70265
This commit is contained in:
Hermès Bélusca-Maïto 2015-12-04 12:29:46 +00:00
parent 07cad9b0dd
commit 8edf99ec1c

View file

@ -844,6 +844,8 @@ WORD DosReadFile(WORD FileHandle,
PCHAR Pointer = FAR_POINTER(Buffer);
CHAR Character;
*BytesRead = 0;
while (*BytesRead < Count)
{
USHORT Amount = 1;