mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 20:55:16 +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);
|
PCHAR Pointer = FAR_POINTER(Buffer);
|
||||||
CHAR Character;
|
CHAR Character;
|
||||||
|
|
||||||
|
*BytesRead = 0;
|
||||||
|
|
||||||
while (*BytesRead < Count)
|
while (*BytesRead < Count)
|
||||||
{
|
{
|
||||||
USHORT Amount = 1;
|
USHORT Amount = 1;
|
||||||
|
|
Loading…
Reference in a new issue