projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[NTOSKRNL]
[reactos.git]
/
ntoskrnl
/
mm
/
section.c
diff --git
a/ntoskrnl/mm/section.c
b/ntoskrnl/mm/section.c
index
289371d
..
af87192
100644
(file)
--- a/
ntoskrnl/mm/section.c
+++ b/
ntoskrnl/mm/section.c
@@
-239,10
+239,6
@@
NTSTATUS NTAPI PeFmtCreateSection(IN CONST VOID * FileHeader,
if(pidhDosHeader->e_magic != IMAGE_DOS_SIGNATURE)
DIE(("No MZ signature found, e_magic is %hX\n", pidhDosHeader->e_magic));
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)
DIE(("Not a Windows executable, e_lfanew is %d\n", pidhDosHeader->e_lfanew));
/* not a Windows executable */
if(pidhDosHeader->e_lfanew <= 0)
DIE(("Not a Windows executable, e_lfanew is %d\n", pidhDosHeader->e_lfanew));