summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAntonio Borneo <antonio.borneo@foss.st.com>2023-11-07 14:05:20 +0300
committerLinus Walleij <linus.walleij@linaro.org>2023-11-14 16:41:48 +0300
commitedd48fd9d45370d6c8ba0dd834fcc51ff688cc87 (patch)
tree9a2e82b83425bbd40d05152bc26278d490fb3e1c /tools/perf/scripts/python
parentb0eeba527e704d6023a6cd9103f929226e326b03 (diff)
downloadlinux-edd48fd9d45370d6c8ba0dd834fcc51ff688cc87.tar.xz
pinctrl: stm32: fix array read out of bound
The existing code does not verify if the "tentative" index exceeds the size of the array, causing out of bound read. Issue identified with kasan. Check the index before using it. Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com> Fixes: 32c170ff15b0 ("pinctrl: stm32: set default gpio line names using pin names") Link: https://lore.kernel.org/r/20231107110520.4449-1-antonio.borneo@foss.st.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions