mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[KMTEST:NTOS_CC] Fix buffer size calculation
This commit is contained in:
parent
fa47d6f852
commit
a46ee7dafe
1 changed files with 1 additions and 1 deletions
|
@ -467,7 +467,7 @@ TestIrpHandler(
|
|||
|
||||
if (Length > (Fcb->Header.FileSize.QuadPart - Offset.QuadPart))
|
||||
{
|
||||
RtlFillMemory(Buffer, Length - Fcb->Header.FileSize.QuadPart, 0xBD);
|
||||
RtlFillMemory(Buffer, Length - (Fcb->Header.FileSize.QuadPart - Offset.QuadPart), 0xBD);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue