mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
Merge 209efccc6a
into e1284ee5dc
This commit is contained in:
commit
74061fa8bd
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ static bool valid_header(char *p, size_t len)
|
|||
fdt_magic(p) != FDT_MAGIC ||
|
||||
fdt_version(p) > MAX_VERSION ||
|
||||
fdt_last_comp_version(p) > MAX_VERSION ||
|
||||
fdt_totalsize(p) >= len ||
|
||||
fdt_totalsize(p) > len ||
|
||||
fdt_off_dt_struct(p) >= len ||
|
||||
fdt_off_dt_strings(p) >= len)
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue