]> git.baikalelectronics.ru Git - uboot.git/commit
CVE-2019-13103: disk: stop infinite recursion in DOS Partitions
authorPaul Emge <paulemge@forallsecure.com>
Mon, 8 Jul 2019 23:37:03 +0000 (16:37 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 18 Jul 2019 15:31:28 +0000 (11:31 -0400)
commit52082a7050db1846ff487b57fa0f9f92bf492c95
tree2bde1d5dff61061f52f05ffd2d8fa353484a73c0
parentc52c646c53d7bed6ecef17879d4e8fe0f973708c
CVE-2019-13103: disk: stop infinite recursion in DOS Partitions

part_get_info_extended and print_partition_extended can recurse infinitely
while parsing a self-referential filesystem or one with a silly number of
extended partitions. This patch adds a limit to the number of recursive
partitions.

Signed-off-by: Paul Emge <paulemge@forallsecure.com>
disk/part_dos.c