aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-08-18 13:32:48 +0300
committerLinus Walleij <[email protected]>2017-08-31 13:37:16 +0200
commitfaaaba065298faeb62ea83cd3a1cc19764becab1 (patch)
tree2ef9ba0084b489f43d094c144bcb6bb814faeb12 /lib/test_overflow.c
parent2c7710847c444d22e0dd7f843fdbf892304e1cae (diff)
pinctrl: rza1: off by one in rza1_parse_gpiochip()
The rza1_pctl->ports[] array has RZA1_NPORTS (12) elements. The > here should be >= to prevent an out of bounds access. Fixes: 5a49b644b307 ("pinctrl: Renesas RZ/A1 pin and gpio controller") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Acked-by: Jacopo Mondi <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions