mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-09-20 21:06:22 +02:00
Fix wrong FAT32 jump opcode in its header
This commit is contained in:
parent
f94ceb7a97
commit
a8e511c212
@ -139,7 +139,7 @@ PutBoot (fatparams * ft, unsigned char *boot)
|
||||
int cnt = 0;
|
||||
|
||||
boot[cnt++] = 0xeb; /* boot jump */
|
||||
boot[cnt++] = 0x3c;
|
||||
boot[cnt++] = (ft->size_fat == 32)? 0x58: 0x3c;
|
||||
boot[cnt++] = 0x90;
|
||||
memcpy (boot + cnt, "MSDOS5.0", 8); /* system id */
|
||||
cnt += 8;
|
||||
|
@ -153,8 +153,8 @@ namespace VeraCrypt
|
||||
{
|
||||
int cnt = 0;
|
||||
|
||||
boot[cnt++] = 0xeb; /* boot jump */
|
||||
boot[cnt++] = 0x3c;
|
||||
boot[cnt++] = 0xeb; /* boot jump */
|
||||
boot[cnt++] = (ft->size_fat == 32)? 0x58: 0x3c;
|
||||
boot[cnt++] = 0x90;
|
||||
memcpy (boot + cnt, "MSDOS5.0", 8); /* system id */
|
||||
cnt += 8;
|
||||
|
Loading…
Reference in New Issue
Block a user