mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
[NTOS/MM] Recognize AMD64 image in PeFmtCreateSection failure case
This commit is contained in:
parent
e97b412a76
commit
98638cc2df
|
@ -364,6 +364,10 @@ l_ReadHeaderFromFile:
|
||||||
#endif // _WIN64
|
#endif // _WIN64
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
#ifndef _WIN64
|
||||||
|
case IMAGE_NT_OPTIONAL_HDR64_MAGIC:
|
||||||
|
nStatus = STATUS_INVALID_IMAGE_WIN_64;
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
DIE(("Unrecognized optional header, Magic is %X\n", piohOptHeader->Magic));
|
DIE(("Unrecognized optional header, Magic is %X\n", piohOptHeader->Magic));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue