speakup: replace sprintf() by scnprintf()
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 30 Jun 2021 22:42:48 +0000 (00:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jul 2021 11:46:03 +0000 (13:46 +0200)
commitec7b5eda8ae1a7a12cf1618ad7afb3509f593812
tree1737057909f8596867fa9151e640d195f902bf6e
parentf83461e6581b12833ecf08690d21b04ed60de7c1
speakup: replace sprintf() by scnprintf()

Replace sprintf() by scnprintf() in order to avoid buffer overflows.

Signed-off-by: Salah Triki <salah.triki@gmail.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Link: https://lore.kernel.org/r/20210630224248.2iq6o6krecx4cz5j@begin
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/accessibility/speakup/speakup_soft.c