u-boot/scripts/dtc
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
..
libfdt libfdt: Check for multiple/invalid root nodes 2021-02-15 22:31:53 -05:00
pylibfdt libfdt: Detected out-of-space with fdt_finish() 2020-09-22 12:50:43 -06:00
.gitignore scripts/dtc: Re-sync with Linux 4.17-rc4 2018-05-31 08:53:11 -04:00
checks.c scripts/dtc: Update to upstream version v1.4.6-21-g84e414b0b5bc 2020-03-16 18:54:18 -04:00
data.c scripts/dtc: Update to upstream version v1.4.4 2017-09-23 17:33:06 -04:00
dtc-lexer.l dtc: add ability to make nodes conditional on them being referenced 2020-02-05 19:33:46 -07:00
dtc-parser.y scripts/dtc: Update to upstream version v1.4.6-21-g84e414b0b5bc 2020-03-16 18:54:18 -04:00
dtc.c scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-05-31 08:53:11 -04:00
dtc.h dtc: add ability to make nodes conditional on them being referenced 2020-02-05 19:33:46 -07:00
flattree.c scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-05-31 08:53:11 -04:00
fstree.c scripts/dtc: Update to upstream version v1.4.3 2017-09-23 17:33:03 -04:00
livetree.c scripts/dtc: Update to upstream version v1.4.6-21-g84e414b0b5bc 2020-03-16 18:54:18 -04:00
Makefile kconfig / kbuild: Re-sync with Linux 4.19 2020-04-10 11:18:32 -04:00
Makefile.dtc scripts/dtc: Update to upstream version v1.4.3 2017-09-23 17:33:03 -04:00
srcpos.c scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-05-31 08:53:11 -04:00
srcpos.h scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-05-31 08:53:11 -04:00
treesource.c scripts/dtc: Update to upstream version v1.4.4 2017-09-23 17:33:06 -04:00
update-dtc-source.sh scripts/dtc: Re-sync with Linux 4.17-rc4 2018-05-31 08:53:11 -04:00
util.c scripts/dtc: Update to upstream version v1.4.4 2017-09-23 17:33:06 -04:00
util.h scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-05-31 08:53:11 -04:00
version_gen.h scripts/dtc: Update to upstream version v1.4.6-21-g84e414b0b5bc 2020-03-16 18:54:18 -04:00