diff options
author | Sergey Shtylyov <s.shtylyov@omp.ru> | 2022-08-13 22:34:16 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2022-08-16 19:29:57 +0200 |
commit | 2f945a792f67815abca26fa8a5e863ccf3fa1181 (patch) | |
tree | f40cf7b20292387c6de93295d2f59211fe38fb1f /MAINTAINERS | |
parent | Linux 6.0-rc1 (diff) | |
download | linux-2f945a792f67815abca26fa8a5e863ccf3fa1181.tar.xz linux-2f945a792f67815abca26fa8a5e863ccf3fa1181.zip |
of: fdt: fix off-by-one error in unflatten_dt_nodes()
Commit 78c44d910d3e ("drivers/of: Fix depth when unflattening devicetree")
forgot to fix up the depth check in the loop body in unflatten_dt_nodes()
which makes it possible to overflow the nps[] buffer...
Found by Linux Verification Center (linuxtesting.org) with the SVACE static
analysis tool.
Fixes: 78c44d910d3e ("drivers/of: Fix depth when unflattening devicetree")
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/7c354554-006f-6b31-c195-cdfe4caee392@omp.ru
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions