]> 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>
Tue, 2 Apr 2019 10:57:51 +0000 (12:57 +0200)
commitb419013aad1ece4bc16e2e84738daef66c95c535
tree9c8eaafdc9926956bab18480bb573a8ce495494f
parent1f065a86919f146f57bf6ef593c32e80da6ffeb3
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