mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
libfdt: tests: add get_next_tag_invalid_prop_len
Add a new test get_next_tag_invalid_prop_len, which covers fdt_next_tag(), when it is passed an corrupted blob, with invalid property len values. The test runs twice, on a blob in sw and finished state. Signed-off-by: Tadeusz Struk <tadeusz.struk@linaro.org> Message-Id: <20221011182611.116011-2-tadeusz.struk@linaro.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
73590342fc
commit
55778a03df
5 changed files with 104 additions and 1 deletions
|
@ -47,6 +47,7 @@ tests = [
|
|||
'get_path',
|
||||
'get_phandle',
|
||||
'get_prop_offset',
|
||||
'get_next_tag_invalid_prop_len',
|
||||
'getprop',
|
||||
'incbin',
|
||||
'integer-expressions',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue