From 5fcb262539e0d098e145722566b8ffc048170e6d Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 26 Aug 2014 00:02:17 +0200 Subject: Windows vulnerability fix : clear sensitive data in Windows kernel driver by using burjn instead of memset --- src/Driver/DriveFilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Driver') diff --git a/src/Driver/DriveFilter.c b/src/Driver/DriveFilter.c index 6fc6d674..331b3720 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); } } -- cgit v1.2.3