projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a31666e
)
[NTOSKRNL]
author
Aleksandar Andrejevic
<aandrejevic@reactos.org>
Fri, 2 May 2014 15:00:38 +0000
(15:00 +0000)
committer
Aleksandar Andrejevic
<aandrejevic@reactos.org>
Fri, 2 May 2014 15:00:38 +0000
(15:00 +0000)
Fix the previous fix. We must use STATUS_ROS_EXEFMT_UNKNOWN_FORMAT.
svn path=/branches/ntvdm/; revision=63107
ntoskrnl/mm/section.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/mm/section.c
b/ntoskrnl/mm/section.c
index
f88fbba
..
289371d
100644
(file)
--- a/
ntoskrnl/mm/section.c
+++ b/
ntoskrnl/mm/section.c
@@
-288,7
+288,7
@@
l_ReadHeaderFromFile:
NTSTATUS ReturnedStatus = nStatus;
/* If it attempted to read past the end of the file, it means e_lfanew is invalid */
- if (ReturnedStatus == STATUS_END_OF_FILE) nStatus = STATUS_
INVALID_IMAGE
_FORMAT;
+ if (ReturnedStatus == STATUS_END_OF_FILE) nStatus = STATUS_
ROS_EXEFMT_UNKNOWN
_FORMAT;
DIE(("ReadFile failed, status %08X\n", ReturnedStatus));
}