mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-28 16:53:49 +00:00
f2767a4195
Adjust the loop limit to prevent out-of-bounds access when iterating over
PI structures. The loop should not reach the index pcdev->nr_lines since
we allocate exactly pcdev->nr_lines number of PI structures. This fix
ensures proper bounds are maintained during iterations.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pd692x0.c | ||
pse_core.c | ||
pse_regulator.c | ||
tps23881.c |