VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver/DriveFilter.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-07-07 21:58:10 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 22:20:27 (GMT)
commit9bb962c8bbf5fffde8a884975d7108c6783ab876 (patch)
treeae474ed2950edea18ac7fdade380b759f33096cb /src/Driver/DriveFilter.c
parent0dda93ca47d2cf1a31a106a05c4bcaf3b7a6e14b (diff)
downloadVeraCrypt-9bb962c8bbf5fffde8a884975d7108c6783ab876.zip
VeraCrypt-9bb962c8bbf5fffde8a884975d7108c6783ab876.tar.gz
Fix password memory leak inside the Device driver in boot encryption mode.
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 6b0e932..6fc6d67 100644
--- a/src/Driver/DriveFilter.c
+++ b/src/Driver/DriveFilter.c
@@ -101,7 +101,7 @@ NTSTATUS LoadBootArguments ()
BootArgs = *bootArguments;
BootArgsValid = TRUE;
- memset (bootArguments, 0, sizeof (*bootArguments));
+ burn (bootArguments, sizeof (*bootArguments));
BootDriveSignatureValid = TRUE;