Takashi Iwai 17bb60b741 xfs: 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>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2020-03-12 07:58:13 -07:00
..
2020-03-12 07:58:13 -07:00
2019-11-10 10:21:57 -08:00
2019-11-18 08:40:44 -08:00
2020-03-02 20:55:55 -08:00
2019-10-28 08:37:54 -07:00
2020-03-11 09:11:39 -07:00
2019-06-28 19:30:43 -07:00
2019-06-28 19:30:43 -07:00
2020-03-11 09:11:39 -07:00
2020-03-11 09:11:39 -07:00
2019-07-03 08:21:58 -07:00
2019-07-03 08:21:58 -07:00
2019-06-28 19:30:43 -07:00
2019-06-28 19:30:43 -07:00
2020-03-11 09:11:39 -07:00