mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[NTOS/MM] Recognize AMD64 image in PeFmtCreateSection failure case
This commit is contained in:
@@ -364,6 +364,10 @@ l_ReadHeaderFromFile:
|
||||
#endif // _WIN64
|
||||
break;
|
||||
|
||||
#ifndef _WIN64
|
||||
case IMAGE_NT_OPTIONAL_HDR64_MAGIC:
|
||||
nStatus = STATUS_INVALID_IMAGE_WIN_64;
|
||||
#endif
|
||||
default:
|
||||
DIE(("Unrecognized optional header, Magic is %X\n", piohOptHeader->Magic));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user