1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-08-31 08:12:06 +02:00
Files
u-boot-megous/common
Philippe Reynes e8781dcc89 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>
2020-07-25 14:46:57 -06:00
..
2020-02-05 19:33:46 -07:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-06-12 13:14:07 -04:00
2020-06-12 13:14:07 -04:00
2020-07-09 18:57:22 -06:00
2020-05-18 21:19:18 -04:00
2020-07-09 18:57:22 -06:00
2020-07-09 18:57:22 -06:00
2020-07-09 18:57:22 -06:00
2020-05-18 21:19:18 -04:00