From 9bb962c8bbf5fffde8a884975d7108c6783ab876 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 7 Jul 2014 23:58:10 +0200 Subject: Fix password memory leak inside the Device driver in boot encryption mode. --- src/Driver/DriveFilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Driver/DriveFilter.c b/src/Driver/DriveFilter.c index 6b0e9328..6fc6d674 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; -- cgit v1.2.3