Author: aandrejevic Date: Sat May 3 16:39:21 2014 New Revision: 63132
URL: http://svn.reactos.org/svn/reactos?rev=63132&view=rev Log: [NTOSKRNL] Remove the e_lfarlc check. It fails on perfectly valid executables.
Modified: branches/ntvdm/ntoskrnl/mm/section.c
Modified: branches/ntvdm/ntoskrnl/mm/section.c URL: http://svn.reactos.org/svn/reactos/branches/ntvdm/ntoskrnl/mm/section.c?rev=... ============================================================================== --- branches/ntvdm/ntoskrnl/mm/section.c [iso-8859-1] (original) +++ branches/ntvdm/ntoskrnl/mm/section.c [iso-8859-1] Sat May 3 16:39:21 2014 @@ -238,10 +238,6 @@ /* no MZ signature */ if(pidhDosHeader->e_magic != IMAGE_DOS_SIGNATURE) DIE(("No MZ signature found, e_magic is %hX\n", pidhDosHeader->e_magic)); - - /* check if this is an old MZ executable */ - if(pidhDosHeader->e_lfarlc < 0x40) - DIE(("Old-style MZ executable found, e_lfarlc is %d\n", pidhDosHeader->e_lfarlc));
/* not a Windows executable */ if(pidhDosHeader->e_lfanew <= 0)