mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 06:01:57 +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 |