commit | d0c9abb8339dfdb5c5fcdfab5aefcba578a4d50d | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Mar 10 17:36:25 2020 +0100 |
committer | Mark Brown <broonie@kernel.org> | Tue Mar 10 18:19:01 2020 +0000 |
tree | 25a69ad7ce1fe56857c05ee2bbb87f08e33f3b8a | |
parent | c23f044427f36392264861ca40dcb4202272ef11 [diff] |
ASoC: pcm: Fix (again) possible buffer overflow in dpcm state sysfs output This is re-applying the fix that went into 5.6 (commit 6c89ffea60aa) as the changes were wiped out after merging the other code refactoring. Basically the same changes, just replacing the suspicious calls of snprintf() with scnprintf(). Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20200310163625.10838-1-tiwai@suse.de Signed-off-by: Mark Brown <broonie@kernel.org>