]> git.baikalelectronics.ru Git - uboot.git/commit
ext4: gracefully fail on divide-by-0
authorPaul Emge <paulemge@forallsecure.com>
Mon, 8 Jul 2019 23:37:06 +0000 (16:37 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 18 Jul 2019 15:31:29 +0000 (11:31 -0400)
commitd57342fe7524f8f520acfc9fd01235bae6e521c7
tree2442cc233bbd36176591013b8143b75b2cf82915
parent0f40b0fd4be6c9641be6561ab8ae7077b33e3f6a
ext4: gracefully fail on divide-by-0

This patch checks for 0 in several ext4 headers and gracefully
fails instead of raising a divide-by-0 exception.

Signed-off-by: Paul Emge <paulemge@forallsecure.com>
fs/ext4/ext4_common.c