summaryrefslogtreecommitdiff
path: root/sbin/fdisk/part.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2021-06-13 13:18:00 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2021-06-13 13:18:00 +0000
commitd73b8230ffd7ab6b64649e9b401b0c3d30057490 (patch)
tree28836ee51b202014c828b3e7ce1eb81ee2f506e3 /sbin/fdisk/part.c
parent2f5b5718bdebb201234b2f184be66ac5f1beb329 (diff)
Back off a couple of the more paranoid checks while spoofing GPT
partitions into the disklabel. First, since the alt header is never accessed there is no need to worry about it being inaccessible. Second, the GPT header claiming to cover more sectors than the device has is no reason to ignore all the partitions. The partition actually present could still be useful. Issues 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