mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 01:11:03 +08:00
[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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user