mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
ALSA: hda - Check strcpy length
Check the length to copy via strlen() beforehand to avoid the stack corruption, or use strlcpy() to be safe in HD-audio codes. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
4e01f54bfd
commit
18cb7109d3
2 changed files with 8 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue