diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2021-06-13 13:48:01 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2021-06-13 13:48:01 +0000 |
commit | ee5de62685a28f64a776c01433fbfcf707706e78 (patch) | |
tree | bcf02986ebae039e29d307416e7f8ec4551c6d01 /sbin/fdisk/part.c | |
parent | 8bc4a4b16f72978a8467bd1cdcdd826b0351749e (diff) |
Don't ignore a GPT that claims the last usable LBA is located
past the address where alternate partition entries would be
written.
Just adjust the GPT header value (gh_lba_end) to the highest safe
value and carry on.
Issue encountered in the wild by mlarkin@ while accessing some
disk images.
ok deraadt@
Diffstat (limited to 'sbin/fdisk/part.c')
0 files changed, 0 insertions, 0 deletions