mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-09 01:56:35 -05:00
Windows vulnerability fix : clear sensitive data in Windows kernel driver by using burjn instead of memset
This commit is contained in:
1 parent
d6aa653648
commit
5fcb262539
1 file changed
+1
-1
@@ -323,7 +323,7 @@ static NTSTATUS MountDrive (DriveFilterExtension *Extension, Password *password,
|
||||
if (mappedCryptoInfo)
|
||||
{
|
||||
Dump ("Wiping memory %x %d\n", cryptoInfoAddress.LowPart, BootArgs.CryptoInfoLength);
|
||||
memset (mappedCryptoInfo, 0, BootArgs.CryptoInfoLength);
|
||||
burn (mappedCryptoInfo, BootArgs.CryptoInfoLength);
|
||||
MmUnmapIoSpace (mappedCryptoInfo, BootArgs.CryptoInfoLength);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user