Files
u-boot/drivers
Andrew Goodbody da13ce8a6b clk: at91: Fix use of unsigned loop index
The use of the unsigned variable 'i' as a loop index leads to the test
for i being non-negative always being true. Instead declare 'i' as an
int so that the for loop will terminate as expected.
If the original for loop completes 'i' will be 1 past the end of the
array so decrement it in the subsequent error path to prevent an out of
bounds access occurring.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
2025-08-13 12:59:36 +03:00
..
2025-07-10 08:41:03 -06:00
2025-04-11 12:16:44 -06:00
2025-05-03 16:55:32 -03:00
2025-07-22 11:30:14 -06:00
2025-06-02 17:26:16 -06:00
2025-04-11 12:16:44 -06:00
2025-04-11 12:16:44 -06:00
2025-06-25 13:42:04 -06:00
2025-04-11 12:16:44 -06:00
2025-04-11 12:16:44 -06:00