diff options
| author | Anton Ivanov <[email protected]> | 2026-06-02 19:31:30 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-06-12 15:35:58 -0600 |
| commit | 9e0d2fb429657c6692a059ff18e427baf8046f12 (patch) | |
| tree | c5617a7a55e1410cb6181e911d4de7bb7bee68c3 /include/stdio_dev.h | |
| parent | 7304d569e61521e04625bfbded894f2e5fbe4409 (diff) | |
image-fit: Limit recursion depth in fdt_check_no_at()
fdt_check_no_at() recurses into every subnode without a depth
limit. A deeply nested FIT image can exhaust the stack and crash
U-Boot during signature verification of an untrusted FIT.
Add a depth check using FDT_MAX_DEPTH to bound the recursion.
Signed-off-by: Anton Ivanov <[email protected]>
Diffstat (limited to 'include/stdio_dev.h')
0 files changed, 0 insertions, 0 deletions
