]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: make Atari more robust
authorKarel Zak <kzak@redhat.com>
Tue, 13 Oct 2020 14:19:20 +0000 (16:19 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 13 Oct 2020 14:19:20 +0000 (16:19 +0200)
commit282ceadc3a72fc07dd0388b8880fd751490bb87f
treedd1bd58881015d4a0422f6b418dff35f4089c128
parent75cd5e2f281cec16c7da49b65c0f3cadd51749b8
libblkid: make Atari more robust

* ignore large disks
* check in-table stored device size
* check bad sectors list
* check partition dimensions against in-table device size

Addresses: https://github.com/karelzak/util-linux/issues/1159
Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/partitions/atari.c