summaryrefslogtreecommitdiff
path: root/sound/Makefile
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-08-01 19:54:20 +0300
committerMark Brown <broonie@kernel.org>2022-08-05 14:57:24 +0300
commit94c1ceb043c1a002de9649bb630c8e8347645982 (patch)
treee49d49ffa96091d16bfe72238124b6aeab7cfbb9 /sound/Makefile
parent1eb123ce985e6cf302ac6e3f19862d132d86fa8f (diff)
downloadlinux-94c1ceb043c1a002de9649bb630c8e8347645982.tar.xz
ASoC: SOF: Intel: hda: Fix potential buffer overflow by snprintf()
snprintf() returns the would-be-filled size when the string overflows the given buffer size, hence using this value may result in the buffer overflow (although it's unrealistic). This patch replaces with a safer version, scnprintf() for papering over such a potential issue. Fixes: 29c8e4398f02 ("ASoC: SOF: Intel: hda: add extended rom status dump to error log") Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20220801165420.25978-4-tiwai@suse.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/Makefile')
0 files changed, 0 insertions, 0 deletions