[NTOSKRNL]

Don't write random byte. Force a value so that it can be easily recognized.

CORE-11819
CORE-12475

svn path=/trunk/; revision=73391
This commit is contained in:
Pierre Schweitzer
2016-11-27 10:27:43 +00:00
parent 3bbcc2cbbe
commit 22f4acf925

View File

@@ -5086,6 +5086,7 @@ MmCreateSection (OUT PVOID * Section,
if (Status == STATUS_END_OF_FILE && !(AllocationAttributes & SEC_IMAGE) && FileObject != NULL &&
(FileObject->SectionObjectPointer == NULL || FileObject->SectionObjectPointer->SharedCacheMap == NULL))
{
Buffer = 0xdb;
Status = ZwWriteFile(FileHandle,
NULL,
NULL,