https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cbfc04157d9553fe4e7f2…
commit cbfc04157d9553fe4e7f2171db64561be2eaf243
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Fri Dec 4 09:12:18 2020 +0100
Commit: Jérôme Gardou <jerome.gardou(a)reactos.org>
CommitDate: Wed Feb 3 09:41:22 2021 +0100
[NTOS:CC] File size check fix
---
ntoskrnl/cc/copy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ntoskrnl/cc/copy.c b/ntoskrnl/cc/copy.c
index f92040aa0b2..d228a981ea2 100644
--- a/ntoskrnl/cc/copy.c
+++ b/ntoskrnl/cc/copy.c
@@ -809,7 +809,7 @@ CcZeroData (
return TRUE;
}
- ASSERT(EndOffset->QuadPart <= SharedCacheMap->FileSize.QuadPart);
+ ASSERT(EndOffset->QuadPart <= SharedCacheMap->SectionSize.QuadPart);
while(WriteOffset.QuadPart < EndOffset->QuadPart)
{