mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 02:58:02 -06:00
Windows Driver Security: Use enhanced protection of NX pool under Windows 8 and later.
This commit is contained in:
@@ -638,7 +638,7 @@ static VOID MainThreadProc (PVOID threadArg)
|
||||
{
|
||||
UINT64_STRUCT dataUnit;
|
||||
|
||||
dataBuffer = (PUCHAR) MmGetSystemAddressForMdlSafe (irp->MdlAddress, HighPagePriority);
|
||||
dataBuffer = (PUCHAR) MmGetSystemAddressForMdlSafe (irp->MdlAddress, (HighPagePriority | ExDefaultMdlProtection));
|
||||
if (!dataBuffer)
|
||||
{
|
||||
TCfree (buffer);
|
||||
@@ -758,7 +758,7 @@ static VOID MainThreadProc (PVOID threadArg)
|
||||
continue;
|
||||
}
|
||||
|
||||
dataBuffer = (PUCHAR) MmGetSystemAddressForMdlSafe (irp->MdlAddress, HighPagePriority);
|
||||
dataBuffer = (PUCHAR) MmGetSystemAddressForMdlSafe (irp->MdlAddress, (HighPagePriority | ExDefaultMdlProtection));
|
||||
|
||||
if (dataBuffer == NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user