don't free random pointer in MmCreateImageSection. should fix bug 836
Modified: trunk/reactos/ntoskrnl/mm/section.c

Modified: trunk/reactos/ntoskrnl/mm/section.c
--- trunk/reactos/ntoskrnl/mm/section.c	2005-09-28 19:34:07 UTC (rev 18139)
+++ trunk/reactos/ntoskrnl/mm/section.c	2005-09-28 19:56:05 UTC (rev 18140)
@@ -3230,6 +3230,8 @@
          ObDereferenceObject(Section);
          return(STATUS_NO_MEMORY);
       }
+      
+      RtlZeroMemory(ImageSectionObject, sizeof(MM_IMAGE_SECTION_OBJECT));
 
       StatusExeFmt = ExeFmtpCreateImageSection(FileHandle, ImageSectionObject);