summaryrefslogtreecommitdiff
path: root/scripts/env2string.awk
diff options
context:
space:
mode:
authorAdriana Nicolae <[email protected]>2025-12-09 07:55:38 -0800
committerTom Rini <[email protected]>2025-12-10 09:28:40 -0600
commit93d000bc5237a82e74d437b5fc3c5fdf5237df2d (patch)
treec51080c8bf146842d1d80aa5427875083663c4b4 /scripts/env2string.awk
parentda54deb1ac8ee65475c7dca556df751b7e31806e (diff)
test: dm: fdtdec: Validate FDT size in unit test
The current FDT decoding tests calculate the memory required for FDT manipulation by directly adding a fixed margin to fdt_totalsize(gd->fdt_blob). The static analyzer flagged "gd->fdt_blob->totalsize" as a tainted value being passed to fdt_open_into(). Ensure the size is validated by checking that the total size is within a reasonable maximum FDT limit for unit tests. Signed-off-by: Adriana Nicolae <[email protected]>
Diffstat (limited to 'scripts/env2string.awk')
0 files changed, 0 insertions, 0 deletions