[NTOS]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Fri, 4 Feb 2011 23:19:00 +0000 (23:19 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Fri, 4 Feb 2011 23:19:00 +0000 (23:19 +0000)
Try to fix a winetst crash.

svn path=/trunk/; revision=50607

reactos/ntoskrnl/mm/section.c

index 6be6432..aa092ad 100644 (file)
@@ -690,9 +690,6 @@ l_ReadHeaderFromFile:
            DIE(("The image is larger than 4GB\n"));
     }
 
-    /* spare our caller some work in validating the segments */
-    *Flags = EXEFMT_LOAD_ASSUME_SEGMENTS_SORTED | EXEFMT_LOAD_ASSUME_SEGMENTS_NO_OVERLAP;
-
     if(nSectionAlignment >= PAGE_SIZE)
        *Flags |= EXEFMT_LOAD_ASSUME_SEGMENTS_PAGE_ALIGNED;