diff options
author | Michael Walle <[email protected]> | 2022-09-16 13:01:18 +0200 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2022-09-20 08:30:57 +0200 |
commit | 8b10ca2f7551e024b60ab5e27d3e3630c029000a (patch) | |
tree | 37bca9efcaf30b96f786142f6ec1f6d82676751d /scripts/gdb/linux | |
parent | d9e7f0e320516c660d6f33e6c16a3d99970eb14e (diff) |
gpiolib: fix OOB access in quirk callbacks
Commit a2b5e207cade ("gpiolib: rework quirk handling in of_find_gpio()")
introduced an array of quirk functions which get iterated over. But a
sentinal value is missing. Add it.
Fixes: a2b5e207cade ("gpiolib: rework quirk handling in of_find_gpio()")
Signed-off-by: Michael Walle <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Tested-by: Conor Dooley <[email protected]>
Reviewed-by: Dmitry Torokhov <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Tested-by: Biju Das <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions