]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r363140:
authorOleksandr Tymoshenko <gonzo@FreeBSD.org>
Tue, 14 Jul 2020 18:31:00 +0000 (18:31 +0000)
committerOleksandr Tymoshenko <gonzo@FreeBSD.org>
Tue, 14 Jul 2020 18:31:00 +0000 (18:31 +0000)
commitfa631e5e667172f91c6f99ab15637b6662c5b7e8
tree4bb75914336fcf7ae34ba007aa44ae3a6e91abee
parentd1fb5651e5d7d2cf2b44a873785ed7bdedef282e
MFC r363140:

Fix invalid VHDX generation for image larger than 4Gb

- Part of BAT payload location was lost due to invalid
    BAT entry encoding type (32 bits instead of 64 bits)
- The sequence of PB/SB entries in BAT was broken due to
    off-by-one index check. It worked for smaller than
    4Gb because there were no SB entries in BAT.
usr.bin/mkimg/vhdx.c