Enabled use of non-executable memory pages
This commit is contained in:
1 parent
fc64263de0
commit
e7c2c8c4bf
2 files changed
+6
-2
No files matched your search
@@ -134,7 +134,7 @@ DomitoCalculatePortableExecutableDigest(
|
||||
ULONG copySize = phDos->e_lfanew + sizeof(IMAGE_FILE_HEADER) + 4 + 0x40;
|
||||
#pragma warning(disable:4996)
|
||||
const PUCHAR pBuf = (PUCHAR)ExAllocatePoolWithTag(
|
||||
NonPagedPool,
|
||||
NonPagedPoolNx,
|
||||
16 * 512 * 512,
|
||||
DOMITO_POOL_TAG
|
||||
);
|
||||
@@ -195,7 +195,7 @@ DomitoCalculatePortableExecutableDigest(
|
||||
// Allocate a buffer to store the resulting hash
|
||||
//
|
||||
#pragma warning(disable:4996)
|
||||
pHash = (PUCHAR)ExAllocatePoolWithTag(NonPagedPool, hashLength, DOMITO_POOL_TAG);
|
||||
pHash = (PUCHAR)ExAllocatePoolWithTag(NonPagedPoolNx, hashLength, DOMITO_POOL_TAG);
|
||||
#pragma warning(default:4996)
|
||||
if (!pHash)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user