android_kernel_motorola_sm6375/sound/pci
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lucy Thrun 04fa6f5e94 ALSA: hda/ca0132: Fix buffer overflow in add_tuning_control
[ Upstream commit a409c60111e6bb98fcabab2aeaa069daa9434ca0 ]

The 'sprintf' call in 'add_tuning_control' may exceed the 44-byte
buffer if either string argument is too long. This triggers a compiler
warning.
Replaced 'sprintf' with 'snprintf' to limit string lengths to prevent
overflow.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202506100642.95jpuMY1-lkp@intel.com/
Signed-off-by: Lucy Thrun <lucy.thrun@digital-rabbithole.de>
Link: https://patch.msgid.link/20250610175012.918-3-lucy.thrun@digital-rabbithole.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-28 16:21:26 +02:00
..
ac97 ALSA: ac97: Fix possible error value of *rac97 2023-09-23 10:59:46 +02:00
ali5451
asihpi ALSA: asihpi: Fix potential OOB array access 2024-11-08 16:20:38 +01:00
au88x0 ALSA: au88x0: use explicitly signed char 2022-11-03 23:56:53 +09:00
aw2
ca0106
cs46xx
cs5535audio
ctxfi
echoaudio
emu10k1 ALSA: emu10k1: roll up loops in DSP setup code for Audigy 2023-08-30 16:27:09 +02:00
hda ALSA: hda/ca0132: Fix buffer overflow in add_tuning_control 2025-08-28 16:21:26 +02:00
ice1712 ALSA: ice1712: Do not left ice->gpio_mutex locked in aureon_add_controls() 2023-03-11 16:44:03 +01:00
korg1212
lola
lx6464es ALSA: pci: lx6464es: fix a debug loop 2023-02-22 12:50:32 +01:00
mixart
nm256
oxygen ALSA: oxygen: Fix right channel of capture volume mixer 2024-01-25 14:34:30 -08:00
pcxhr
riptide
rme9652 ALSA: hdsp: Break infinite MIDI input flush loop 2024-11-08 16:20:38 +01:00
trident
vx222
ymfpci
ad1889.c
ad1889.h
ak4531_codec.c
als300.c
als4000.c
atiixp.c
atiixp_modem.c
azt3328.c
azt3328.h
bt87x.c
cmipci.c
cs4281.c
cs5530.c
ens1370.c
ens1371.c
es1938.c
es1968.c ALSA: es1968: Add error handling for snd_pcm_hw_constraint_pow2() 2025-06-04 14:32:29 +02:00
fm801.c
intel8x0.c ALSA: intel8x0: Fix incorrect codec index usage in mixer for ICH4 2025-08-28 16:21:25 +02:00
intel8x0m.c
Kconfig
maestro3.c
Makefile
rme32.c
rme96.c
sis7019.c
sis7019.h
sonicvibes.c
via82xx.c
via82xx_modem.c