VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver/DriveFilter.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-08-25 22:02:17 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 22:22:57 (GMT)
commit5fcb262539e0d098e145722566b8ffc048170e6d (patch)
tree2647a8f0b30b088b8d5dd2f8dbaf0f874b13fce3 /src/Driver/DriveFilter.c
parentd6aa6536482efa719a44a757ea2622cad86f1e23 (diff)
downloadVeraCrypt-5fcb262539e0d098e145722566b8ffc048170e6d.zip
VeraCrypt-5fcb262539e0d098e145722566b8ffc048170e6d.tar.gz
Windows vulnerability fix : clear sensitive data in Windows kernel driver by using burjn instead of memset
Diffstat (limited to 'src/Driver/DriveFilter.c')
-rw-r--r--src/Driver/DriveFilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Driver/DriveFilter.c b/src/Driver/DriveFilter.c
index 6fc6d67..331b372 100644
--- a/src/Driver/DriveFilter.c
+++ b/src/Driver/DriveFilter.c
@@ -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);
}
}