diff options
author | Jaejoong Kim <climbbb.kim@gmail.com> | 2018-02-27 11:15:59 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-02-27 09:16:52 +0100 |
commit | ef21e1750158558d8369067e94d02d285011c37e (patch) | |
tree | fc8da2a5cce3b8e4a10333196c0c3b6348f7116e /sound/core/device.c | |
parent | 248a380a3c2e7e3363f26c17b6923b430cf6463e (diff) | |
download | linux-ef21e1750158558d8369067e94d02d285011c37e.tar.gz linux-ef21e1750158558d8369067e94d02d285011c37e.tar.bz2 linux-ef21e1750158558d8369067e94d02d285011c37e.zip |
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>
Diffstat (limited to 'sound/core/device.c')
0 files changed, 0 insertions, 0 deletions