]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: befs validate di_br_size !=0 and br_per_di_br != 0
authorTimo Warns <Warns@Pre-Sense.DE>
Tue, 9 Aug 2011 07:40:47 +0000 (09:40 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 15 Aug 2011 12:27:28 +0000 (14:27 +0200)
commita0cff5c1ac0432a707354ae6717abfae269fcdb8
tree5673aa6c361bc88878bc7f38ee4dd51fc8fdb6d4
parent344f73442d3a45db5927c049eef1ed8cf5d13934
libblkid: befs validate di_br_size !=0 and br_per_di_br != 0

Validate that di_br_size !=0 and br_per_di_br != 0. If one of them is 0, a
division-by-zero error will be triggered.

Signed-off-by: Timo Warns <warns@pre-sense.de>
libblkid/src/superblocks/befs.c