don't free random pointer in MmCreateImageSection. should fix bug 836

svn path=/trunk/; revision=18140
This commit is contained in:
Thomas Bluemel 2005-09-28 19:56:05 +00:00
parent 87bf9958a5
commit 85e9a1fa72

View file

@ -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);