diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-05-27 20:07:06 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-05-28 00:04:29 +0200 |
commit | a8e511c212af9fff1f8d5b4d2520aeaf4ecb6e4c (patch) | |
tree | 38a806eecc056c40bd0655e1ce0283862e187a2d /src/Common/Fat.c | |
parent | f94ceb7a9772a4b68fa3d2eb95bb44c9aa8cc2fe (diff) | |
download | VeraCrypt-a8e511c212af9fff1f8d5b4d2520aeaf4ecb6e4c.tar.gz VeraCrypt-a8e511c212af9fff1f8d5b4d2520aeaf4ecb6e4c.zip |
Fix wrong FAT32 jump opcode in its header
Diffstat (limited to 'src/Common/Fat.c')
-rw-r--r-- | src/Common/Fat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Fat.c b/src/Common/Fat.c index 7625e869..9cf477c2 100644 --- a/src/Common/Fat.c +++ b/src/Common/Fat.c @@ -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; |