mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
don't free random pointer in MmCreateImageSection. should fix bug 836
svn path=/trunk/; revision=18140
This commit is contained in:
parent
87bf9958a5
commit
85e9a1fa72
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue