mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 02:58:02 -06:00
Windows: Remove support for 32-bit driver code. Set build target as Windows 10. Simplify code and fix all warnings in driver.
This commit is contained in:
@@ -640,7 +640,7 @@ static VOID MainThreadProc (PVOID threadArg)
|
||||
{
|
||||
UINT64_STRUCT dataUnit;
|
||||
|
||||
dataBuffer = (PUCHAR) MmGetSystemAddressForMdlSafe (irp->MdlAddress, (HighPagePriority | ExDefaultMdlProtection));
|
||||
dataBuffer = (PUCHAR) MmGetSystemAddressForMdlSafe (irp->MdlAddress, (HighPagePriority | MdlMappingNoExecute));
|
||||
if (!dataBuffer)
|
||||
{
|
||||
TCfree (buffer);
|
||||
@@ -760,7 +760,7 @@ static VOID MainThreadProc (PVOID threadArg)
|
||||
continue;
|
||||
}
|
||||
|
||||
dataBuffer = (PUCHAR) MmGetSystemAddressForMdlSafe (irp->MdlAddress, (HighPagePriority | ExDefaultMdlProtection));
|
||||
dataBuffer = (PUCHAR) MmGetSystemAddressForMdlSafe (irp->MdlAddress, (HighPagePriority | MdlMappingNoExecute));
|
||||
|
||||
if (dataBuffer == NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user