ALSA: Use scnprintf() instead of snprintf() for show
authorJaejoong Kim <climbbb.kim@gmail.com>
Tue, 27 Feb 2018 02:15:59 +0000 (11:15 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 27 Feb 2018 08:16:52 +0000 (09:16 +0100)
commitef21e1750158558d8369067e94d02d285011c37e
treefc8da2a5cce3b8e4a10333196c0c3b6348f7116e
parent248a380a3c2e7e3363f26c17b6923b430cf6463e
ALSA: Use scnprintf() instead of snprintf() for show

The show() method should use scnprintf() not snprintf() because snprintf()
may returns a value that exceeds its second argument.

Signed-off-by: Jaejoong Kim <climbbb.kim@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/init.c