Enabled use of non-executable memory pages
This commit is contained in:
@@ -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