u-boot/scripts/dtc/libfdt
Simon Glass 124c255731 libfdt: Check for multiple/invalid root nodes
It is possible to construct a devicetree blob with multiple root nodes.
Update fdt_check_full() to check for this, along with a root node with an
invalid name.

CVE-2021-27097

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Bruce Monroe <bruce.monroe@intel.com>
Reported-by: Arie Haenel <arie.haenel@intel.com>
Reported-by: Julien Lenoir <julien.lenoir@intel.com>
2021-02-15 22:31:53 -05:00
..
fdt_addresses.c fdt: Sync up to the latest libfdt 2019-11-04 18:15:32 -07:00
fdt_empty_tree.c fdt: Sync up to the latest libfdt 2019-11-04 18:15:32 -07:00
fdt_overlay.c libfdt: Fix signedness comparison warnings 2020-11-10 14:31:08 -05:00
fdt_ro.c libfdt: Check for multiple/invalid root nodes 2021-02-15 22:31:53 -05:00
fdt_rw.c fdt: Sync up to the latest libfdt 2019-11-04 18:15:32 -07:00
fdt_strerror.c libfdt: Fix signedness comparison warnings 2020-11-10 14:31:08 -05:00
fdt_sw.c libfdt: Fix signedness comparison warnings 2020-11-10 14:31:08 -05:00
fdt_wip.c libfdt: Fix signedness comparison warnings 2020-11-10 14:31:08 -05:00
fdt.c libfdt: Fix signedness comparison warnings 2020-11-10 14:31:08 -05:00
fdt.h fdt: Sync up to the latest libfdt 2019-11-04 18:15:32 -07:00
libfdt_env.h fdt: Sync up to the latest libfdt 2019-11-04 18:15:32 -07:00
libfdt_internal.h fdt: Sync up to the latest libfdt 2019-11-04 18:15:32 -07:00
libfdt.h libfdt: Export overlay_apply_node() as fdt_overlay_apply_node() 2020-05-20 13:20:19 +02:00
Makefile.libfdt fdt: Sync up to the latest libfdt 2019-11-04 18:15:32 -07:00