diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-09-26 07:56:26 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-10-17 18:17:48 +0200 |
commit | c97186ae96d4835841b02d377a9002d078a6f83b (patch) | |
tree | 80789b09c967f6b1aad9d36108bb729f216aebe4 /Library/DcsCfgLib | |
parent | 224b1cc286122b8aca5002fec31ed0390b299403 (diff) | |
download | VeraCrypt-DCS-c97186ae96d4835841b02d377a9002d078a6f83b.tar.gz VeraCrypt-DCS-c97186ae96d4835841b02d377a9002d078a6f83b.zip |
Ensure sensitive memory is correctly erased.
Diffstat (limited to 'Library/DcsCfgLib')
-rw-r--r-- | Library/DcsCfgLib/GptEdit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/DcsCfgLib/GptEdit.c b/Library/DcsCfgLib/GptEdit.c index f814975..a33d3ca 100644 --- a/Library/DcsCfgLib/GptEdit.c +++ b/Library/DcsCfgLib/GptEdit.c @@ -903,6 +903,8 @@ DeListPwdCacheEdit() DePwdCache->CRC = 0;
res =gBS->CalculateCrc32(DePwdCache, 512, &crc);
DePwdCache->CRC = crc;
+ burn (&pwd, sizeof(pwd));
+ burn (&pim, sizeof(pim));
return res;
}
|