CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2021/06/13 07:48:00

Modified files:
        sbin/fdisk     : gpt.c 

Log message:
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@

Reply via email to