commit | d7a92e9cb22497562b1632aebc0d625b17bbfd51 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@linaro.org> | Wed Jul 26 09:59:52 2023 +0300 |
committer | Tom Rini <trini@konsulko.com> | Tue Aug 08 17:05:43 2023 -0400 |
tree | d56e5e169d3716b8e12cc1d394a6a0203d58153d | |
parent | c331efd08766aa610aa14c957856ef5b0fa915df [diff] |
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>