Skip to content
Commit 18cb7109 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 4e01f54b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment