diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2021-06-08 15:28:55 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2021-06-08 16:32:59 +1000 |
commit | 21d61d18f9682de69d7cc1632003fb4e476af43a (patch) | |
tree | a7633f9f50b97288500487b403f2cf9ea00f9efd /tests/bad-chosen.dts | |
parent | 4c2ef8f4d14ca411b41b9c6891028d58d2079bf7 (diff) | |
download | dtc-21d61d18f9682de69d7cc1632003fb4e476af43a.zip dtc-21d61d18f9682de69d7cc1632003fb4e476af43a.tar.gz dtc-21d61d18f9682de69d7cc1632003fb4e476af43a.tar.bz2 |
Fix CID 1461557
Coverity gets a bit confused by loading fdt_size_dt_strings() and
using it in a memmove(). In fact this is safe because the callers
have verified this information (via FDT_RW_PROBE() in fdt_pack() or
construction in fdt_open_into()).
Passing in strings_size like we already do struct_size seems to get
Coverity to follow what's going on here.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/bad-chosen.dts')
0 files changed, 0 insertions, 0 deletions