mirror of
https://github.com/reactos/reactos.git
synced 2024-07-04 11:44:33 +00:00
[NTVDM]: "BytesRead is uninitialized in DosReadCharacter" (CID 1341427)
CORE-10644 svn path=/trunk/; revision=70265
This commit is contained in:
parent
07cad9b0dd
commit
8edf99ec1c
|
@ -844,6 +844,8 @@ WORD DosReadFile(WORD FileHandle,
|
|||
PCHAR Pointer = FAR_POINTER(Buffer);
|
||||
CHAR Character;
|
||||
|
||||
*BytesRead = 0;
|
||||
|
||||
while (*BytesRead < Count)
|
||||
{
|
||||
USHORT Amount = 1;
|
||||
|
|
Loading…
Reference in a new issue