1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-07 22:49:18 +01:00
Files
u-boot-megous/drivers/core/ofnode.c
Dan Carpenter d7a92e9cb2 fdt: off by one in ofnode_lookup_fdt()
The "oftree_count" is the number of entries which have been set in
the oftree_list[] array.  If all the entries have been initialized then
this off by one would result in reading one element beyond the end
of the array.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-08-08 17:05:43 -04:00

37 KiB