aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-01-28 12:03:52 +1100
committerDavid Gibson <david@gibson.dropbear.id.au>2026-01-28 12:14:09 +1100
commit8d15a63e84ff62fd31e8278088fa1176f2735eef (patch)
treebf7050e7e63508ec5ca1844f6f037f5a9c48aae2 /tests
parenta26ef6400bd845beb6e7f369809ca1c42d856904 (diff)
downloaddtc-master.zip
dtc-master.tar.gz
dtc-master.tar.bz2
libfdt: Verify alignment of sub-blocks in dtbHEADmastermain
A dtb is considered malformed if its structural elements (not things within property values) are not naturally aligned. This means that the structure block must be aligned to a 32-bit boundary, the reserve map must be aligned to 64-bit boundary and the whole thing must be loaded at a 64-bit aligned address. We currently verify that lasat condition in fdt_check_header() but not the other cases. Reported-by: Owen Sanzas (Ze Sheng) 盛泽 <zesheng@tamu.edu> Link: https://github.com/dgibson/dtc/issues/178 Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions