Files
linux/sound/pci/ac97
Takashi Iwai 9263595881 ALSA: ac97: Copy string more safely
snd_ac97_get_name() blindly assumes that the name buffer is large
enough, but we should be more careful.  Pass the max buffer length and
allow trimming to the size.

Only a cosmetic safety matter, no functional changes intended.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-101-tiwai@suse.de
2025-07-11 09:53:35 +02:00
..
2021-12-06 10:04:05 +01:00