From: Timo Kreuzer Date: Fri, 4 Feb 2011 23:19:00 +0000 (+0000) Subject: [NTOS] X-Git-Tag: backups/ros-branch-0_3_13@51035~61 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=32bd053438f84a773303b38cb9691d3451ff860e [NTOS] Try to fix a winetst crash. svn path=/trunk/; revision=50607 --- diff --git a/reactos/ntoskrnl/mm/section.c b/reactos/ntoskrnl/mm/section.c index 6be64326ac7..aa092adf41d 100644 --- a/reactos/ntoskrnl/mm/section.c +++ b/reactos/ntoskrnl/mm/section.c @@ -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;