VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Format/Tcformat.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Format/Tcformat.c b/src/Format/Tcformat.c
index 3e8fa7dd..bd83078f 100644
--- a/src/Format/Tcformat.c
+++ b/src/Format/Tcformat.c
@@ -2746,9 +2746,8 @@ static void __cdecl volTransformThreadFunction (void *hwndDlgArg)
nHiddenVolHostSize = nVolumeSize;
// Clear the outer volume password
- memset(&szVerify[0], 0, sizeof (szVerify));
- memset(&szRawPassword[0], 0, sizeof (szRawPassword));
- memset(&volumePim, 0, sizeof (volumePim));
+ burn(&szVerify[0], sizeof (szVerify));
+ burn(&szRawPassword[0], sizeof (szRawPassword));
MessageBeep (MB_OK);
}