diff options
| author | Dan Carpenter <[email protected]> | 2025-03-19 07:05:47 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2025-03-20 08:12:44 +0000 |
| commit | 5a062c3c3b82004766bc3ece82b594d337076152 (patch) | |
| tree | f346caa7fc135f9d07ce3fabbd2035ab1b14e9cb /lib/timerqueue.c | |
| parent | pinctrl: PINCTRL_AMDISP should depend on DRM_AMD_ISP (diff) | |
| download | kernel-5a062c3c3b82004766bc3ece82b594d337076152.tar.gz kernel-5a062c3c3b82004766bc3ece82b594d337076152.zip | |
pinctrl: tegra: Fix off by one in tegra_pinctrl_get_group()
This should be >= pmx->soc->ngroups instead of > to avoid an out of
bounds access. The pmx->soc->groups[] array is allocated in
tegra_pinctrl_probe().
Fixes: c12bfa0fee65 ("pinctrl-tegra: Restore SFSEL bit when freeing pins")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Kunwu Chan <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
