Skip to content
Snippets Groups Projects
user avatar
Gabriel Ravier authored
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: default avatarGabriel Ravier <gabravier@gmail.com>
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
d1ee7e1f
History
Name Last commit Last update