79af75f777
When searching for a node called 'fred', any unit address appended to the name is ignored by libfdt, meaning that 'fred' can match 'fred@1'. This means that we cannot be sure that the node originally intended is the one that is used. Disallow use of nodes with unit addresses. Update the forge test also, since it uses @ addresses. CVE-2021-27138 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> |
||
---|---|---|
.. | ||
tests | ||
.gitignore | ||
conftest.py | ||
multiplexed_log.css | ||
multiplexed_log.py | ||
pytest.ini | ||
requirements.txt | ||
test.py | ||
u_boot_console_base.py | ||
u_boot_console_exec_attach.py | ||
u_boot_console_sandbox.py | ||
u_boot_spawn.py | ||
u_boot_utils.py |