]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: (gpt) more robust PMBR partition size check
authorKarel Zak <kzak@redhat.com>
Mon, 2 Sep 2013 11:15:09 +0000 (13:15 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Sep 2013 14:47:09 +0000 (16:47 +0200)
commit879fadf173fdd51ab281cd0f94bdd8ee76602134
tree088f03c02edc87f06056f8fabeeef1d8e6786074
parent80a1712f546eb0669c9e4130a32c78cdeeb5fdab
libfdisk: (gpt) more robust PMBR partition size check

According UEFI specification at least one (does not mean that the
first) partition is 0xFF, it makes sense to check the size of the
partition rather than check the first partition.

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/gpt.c