diff --git a/reactos/ntoskrnl/mm/section.c b/reactos/ntoskrnl/mm/section.c index 5395c47975c..d0eec8fc8c7 100644 --- a/reactos/ntoskrnl/mm/section.c +++ b/reactos/ntoskrnl/mm/section.c @@ -3230,6 +3230,8 @@ MmCreateImageSection(PSECTION_OBJECT *SectionObject, ObDereferenceObject(Section); return(STATUS_NO_MEMORY); } + + RtlZeroMemory(ImageSectionObject, sizeof(MM_IMAGE_SECTION_OBJECT)); StatusExeFmt = ExeFmtpCreateImageSection(FileHandle, ImageSectionObject);