Takashi Iwai e39c0ffe8c tty: serial: pch_uart: Use scnprintf() for avoiding potential buffer overflow
Since snprintf() returns the would-be-output size instead of the
actual output size, the succeeding calls may go beyond the given
buffer limit.  Fix it by replacing with scnprintf().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20200311092930.24433-1-tiwai@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-18 12:59:29 +01:00
..
2020-01-29 10:13:27 -08:00
2020-02-10 12:34:43 -08:00
2020-01-29 10:13:27 -08:00
2019-12-18 15:04:57 +01:00
2020-01-29 10:13:27 -08:00
2020-02-08 14:04:19 -08:00
2020-01-29 10:13:27 -08:00