mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2024-09-09 11:01:31 +02:00
Windows Bootloader: fix issue in copy process of hidden OS caused by use of wrong PIM.
This commit is contained in:
parent
041bc9dc0b
commit
6e94286b39
1 changed files with 4 additions and 1 deletions
|
@ -581,7 +581,9 @@ err:
|
|||
crypto_close (BootCryptoInfo);
|
||||
BootCryptoInfo = NULL;
|
||||
}
|
||||
|
||||
#ifndef TC_WINDOWS_BOOT_RESCUE_DISK_MODE
|
||||
PimValueOrHiddenVolumeStartUnitNo.LowPart = -1;
|
||||
#endif
|
||||
EncryptedVirtualPartition.Drive = TC_INVALID_BIOS_DRIVE;
|
||||
EraseMemory ((void *) TC_BOOT_LOADER_ARGS_OFFSET, sizeof (BootArguments));
|
||||
|
||||
|
@ -801,6 +803,7 @@ err:
|
|||
GetKeyboardChar();
|
||||
|
||||
ret:
|
||||
PimValueOrHiddenVolumeStartUnitNo.LowPart = -1;
|
||||
EraseMemory ((void *) TC_BOOT_LOADER_ARGS_OFFSET, sizeof (BootArguments));
|
||||
return status;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue