Skip to content
Commit 338e17d3 authored by Joey Pabalinas's avatar Joey Pabalinas Committed by Takashi Iwai
Browse files

ALSA: ice1712: replace strcpy() with strlcpy()



Replace unsafe usages of strcpy() to copy the name
argument into the sid.name buffer with strlcpy()
to guard against possible buffer overflows.

Signed-off-by: default avatarJoey Pabalinas <joeypabalinas@gmail.com>
Suggested-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent dd5f313b
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