From 458bb091bb8e6ffa73a1c7c9736e93b52a0a95d7 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 10 Jun 2017 18:43:15 +0200 Subject: Windows Driver Security: Use enhanced protection of NX pool under Windows 8 and later. --- src/Driver/DumpFilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Driver/DumpFilter.c') diff --git a/src/Driver/DumpFilter.c b/src/Driver/DumpFilter.c index ff570b1e..ca921d27 100644 --- a/src/Driver/DumpFilter.c +++ b/src/Driver/DumpFilter.c @@ -189,7 +189,7 @@ static NTSTATUS DumpFilterWrite (PFILTER_EXTENSION filterExtension, PLARGE_INTEG if ((offset & (ENCRYPTION_DATA_UNIT_SIZE - 1)) != 0) TC_BUG_CHECK (STATUS_INVALID_PARAMETER); - writeBuffer = MmGetSystemAddressForMdlSafe (writeMdl, HighPagePriority); + writeBuffer = MmGetSystemAddressForMdlSafe (writeMdl, (HighPagePriority | ExDefaultMdlProtection)); if (!writeBuffer) TC_BUG_CHECK (STATUS_INSUFFICIENT_RESOURCES); -- cgit v1.2.3