On Thu, 2 Jul 2020 at 11:31, Philippe Reynes
<philippe.rey...@softathome.com> wrote:
>
> 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.rey...@softathome.com>
> ---
>  common/fdt_region.c | 2 ++
>  1 file changed, 2 insertions(+)
>

Reviewed-by: Simon Glass <s...@chromium.org>

Reply via email to