]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[fdt] Allow for parsing device trees where the length is known in advance
authorMichael Brown <mcb30@ipxe.org>
Fri, 28 Mar 2025 14:08:18 +0000 (14:08 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 28 Mar 2025 15:11:39 +0000 (15:11 +0000)
commit3860313dd59af568de28f048bccfb644e20ba3b0
treecc700121a8f5b3e0178a767344d5b8c6ac95d1e8
parent2399c7998072f47a7f599ddd4d318bbc14adf39d
[fdt] Allow for parsing device trees where the length is known in advance

Allow for parsing device trees where an external factor (such as a
downloaded image length) determines the maximum length, which must be
validated against the length within the device tree header.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/riscv/prefix/sbiprefix.S
src/core/fdt.c
src/include/ipxe/fdt.h
src/interface/efi/efi_fdt.c