diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-06-06 23:44:51 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-06-07 10:18:27 +0200 |
commit | 30ba6fb5180df3f8ebed8bf35e730f3e188e6297 (patch) | |
tree | 2189815d995f93c6cb3817a9aeb7cb3009b83eeb | |
parent | 33b79a7652cd3503884701ffaf59aa1d2e4e6cab (diff) | |
download | VeraCrypt-DCS-30ba6fb5180df3f8ebed8bf35e730f3e188e6297.tar.gz VeraCrypt-DCS-30ba6fb5180df3f8ebed8bf35e730f3e188e6297.zip |
Avoid leaking plain data after decrypting disk
-rw-r--r-- | DcsCfg/DcsCfgCrypt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/DcsCfg/DcsCfgCrypt.c b/DcsCfg/DcsCfgCrypt.c index dc87534..ef6236e 100644 --- a/DcsCfg/DcsCfgCrypt.c +++ b/DcsCfg/DcsCfgCrypt.c @@ -663,6 +663,7 @@ RangeCrypt( error:
OUT_PRINT(L"\n");
+ MEM_BURN(buf, CRYPT_BUF_SECTORS << 9);
MEM_FREE(buf);
return res;
}
|