mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 13:16:22 +00:00
7d36b9c102
The first loop of this "for" statement writes memory beyond the
allocated clk_hw_onecell_data.
It should be:
for (clk_num--; clk_num >= 0; clk_num--)
...
Or more simply:
while (--clk_num >= 0)
...
Fixes:
|
||
---|---|---|
.. | ||
clk-uniphier-core.c | ||
clk-uniphier-fixed-factor.c | ||
clk-uniphier-fixed-rate.c | ||
clk-uniphier-gate.c | ||
clk-uniphier-mio.c | ||
clk-uniphier-mux.c | ||
clk-uniphier-peri.c | ||
clk-uniphier-sys.c | ||
clk-uniphier.h | ||
Kconfig | ||
Makefile |