summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2020-07-02 20:31:29 +0300
committerSimon Glass <sjg@chromium.org>2020-07-25 23:46:57 +0300
commite8781dcc892d8169e60194ca4b51ecdd5710a88f (patch)
tree667c2f2898756693ec318c46b76b8a76da188f91 /tools
parent7058dd071accc0bafe5c4024e30631fb56fd7126 (diff)
downloadu-boot-e8781dcc892d8169e60194ca4b51ecdd5710a88f.tar.xz
lib: libfdt: fdt_region: avoid NULL pointer access
The function fdt_find_regions look in the exclude list for each property, even if the name is NULL. It could happen if the fit image is corrupted. On sandbox, it generates a segfault. To avoid this issue, if the name of a property is NULL, we report an error and avoid looking in the exclude list. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions