summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2025-11-20 05:15:30 +0100
committerTom Rini <[email protected]>2025-12-05 16:24:56 -0600
commit717f8ded395fc0369620c3935980642fed909345 (patch)
tree10d0494df576292c72a0b46de37a1def1e616f39 /scripts/objdiff
parentd3ddbc1cf8ed7ed3fb63620c93001e55a1f480cb (diff)
boot: Check noffset before use
If noffset is negative, do not pass it to fit_get_name() and then further to libfdt, this will crash sandbox with SIGSEGV because libfdt can not handle negative node offsets without full tree check, which U-Boot inhibits to keep size lower. Instead, always check noffset before use, and if the return value indicates failure, exit right away. Signed-off-by: Marek Vasut <[email protected]> Acked-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions