Author: aandrejevic
Date: Fri May 2 15:00:38 2014
New Revision: 63107
URL:
http://svn.reactos.org/svn/reactos?rev=63107&view=rev
Log:
[NTOSKRNL]
Fix the previous fix. We must use STATUS_ROS_EXEFMT_UNKNOWN_FORMAT.
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] Fri May 2 15:00:38 2014
@@ -288,7 +288,7 @@
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));
}