mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
don't free random pointer in MmCreateImageSection. should fix bug 836
svn path=/trunk/; revision=18140
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user