android_kernel_sony_sdm845/tools/gpio
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Gabriel Ravier 63ab6bce4b tools: gpio-hammer: Avoid potential overflow in main
[ Upstream commit d1ee7e1f5c9191afb69ce46cc7752e4257340a31 ]

If '-o' was used more than 64 times in a single invocation of gpio-hammer,
this could lead to an overflow of the 'lines' array. This commit fixes
this by avoiding the overflow and giving a proper diagnostic back to the
user

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 20:40:10 +02:00
..
Build tools: gpio: Correctly add make dependencies for gpio_utils 2019-11-28 18:28:07 +01:00
gpio-event-mon.c tools/gpio: Fix build error with musl libc 2018-02-03 17:05:34 +01:00
gpio-hammer.c tools: gpio-hammer: Avoid potential overflow in main 2020-10-01 20:40:10 +02:00
gpio-utils.c
gpio-utils.h
lsgpio.c
Makefile tools: gpio: Fix out-of-tree build regression 2020-04-24 07:58:57 +02:00