mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 02:58:02 -06:00
Windows: Solve failure to create hidden volume when PIM used for outer volume. Correctly wipe password variable from memory.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user