diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-10-29 15:20:06 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-10-29 15:20:06 +0100 |
commit | 97f44f56ca94709f45bc348f5d2c88696eae5f9b (patch) | |
tree | c732ad0aef8aa12e5b9817bed561403735924539 /net | |
parent | 75415df8ffbac2ace9463ceffb3f21299af2548a (diff) | |
download | linux-stable-97f44f56ca94709f45bc348f5d2c88696eae5f9b.tar.gz linux-stable-97f44f56ca94709f45bc348f5d2c88696eae5f9b.tar.bz2 linux-stable-97f44f56ca94709f45bc348f5d2c88696eae5f9b.zip |
ALSA: Limit the fallback card id string size
When no proper id string is given, the driver tries to fall back to
copy the proc_root name string via strcpy(), but this might overflow
the fixed string size. Let's use strlcpy().
Spotted by coverity CID 139008.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions