ALSA: hda - Check strcpy length
authorTakashi Iwai <tiwai@suse.de>
Thu, 16 Apr 2009 08:22:24 +0000 (10:22 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 Apr 2009 08:22:24 +0000 (10:22 +0200)
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>

No differences found