]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdisk: make partition types uses more robust
authorKarel Zak <kzak@redhat.com>
Thu, 10 Jan 2019 11:17:19 +0000 (12:17 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 10 Jan 2019 11:17:19 +0000 (12:17 +0100)
commite6effcac61152880451da25142cf93931834ffa9
treebb0ee9aaaefeeb2a4d24b09be32d49d1915e71f8
parent19e4cfef52a8f8436cb6bf925be48bd4ab9419b0
fdisk: make partition types uses more robust

* report failed partition type parsing
* make sure partition types code (from user reply) for MBR is hex

Reported-by: Jonny Grant <jg@jguk.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fdisk.c
libfdisk/src/parttype.c