Don't write random byte. Force a value so that it can be easily recognized.
CORE-11819
CORE-12475
svn path=/trunk/; revision=73391
if (Status == STATUS_END_OF_FILE && !(AllocationAttributes & SEC_IMAGE) && FileObject != NULL &&
(FileObject->SectionObjectPointer == NULL || FileObject->SectionObjectPointer->SharedCacheMap == NULL))
{
if (Status == STATUS_END_OF_FILE && !(AllocationAttributes & SEC_IMAGE) && FileObject != NULL &&
(FileObject->SectionObjectPointer == NULL || FileObject->SectionObjectPointer->SharedCacheMap == NULL))
{
Status = ZwWriteFile(FileHandle,
NULL,
NULL,
Status = ZwWriteFile(FileHandle,
NULL,
NULL,