]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: sanity check, to prevent overlapping partitions from being partly reported...
authorFabian.Kirsch@dlr.de <Fabian.Kirsch@dlr.de>
Wed, 13 Feb 2019 14:49:10 +0000 (14:49 +0000)
committerKarel Zak <kzak@redhat.com>
Mon, 18 Feb 2019 11:58:07 +0000 (12:58 +0100)
commit9a76780f861628aeb5af7d799f0ae004a09fa360
tree21ee4d709eb1cab8024973210e100becf147137f
parenta57c9865f803679ea3d7f7e77f53492dda12256b
libfdisk: sanity check, to prevent overlapping partitions from being partly reported as free

i noticed wrongly reported free space when looking with cfdisk on
an USB drive prepared with the latest alpine *.iso[1].

Feel free to apply below patch, which fixed the issue for me.

Greetings
  Fabian

[1]: http://dl-cdn.alpinelinux.org/alpine/v3.9/releases/x86/alpine-extended-3.9.0-x86.iso

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