summaryrefslogtreecommitdiff
path: root/include/linux/zstd_errors.h
diff options
context:
space:
mode:
authorAnton Ivanov <[email protected]>2026-06-02 19:31:30 +0100
committerTom Rini <[email protected]>2026-06-12 15:35:58 -0600
commit9e0d2fb429657c6692a059ff18e427baf8046f12 (patch)
treec5617a7a55e1410cb6181e911d4de7bb7bee68c3 /include/linux/zstd_errors.h
parent7304d569e61521e04625bfbded894f2e5fbe4409 (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/linux/zstd_errors.h')
0 files changed, 0 insertions, 0 deletions