git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75415df
)
ALSA: Limit the fallback card id string size
author
Takashi Iwai
<tiwai@suse.de>
Tue, 29 Oct 2013 14:20:06 +0000
(15:20 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 29 Oct 2013 14:20:06 +0000
(15:20 +0100)
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>
No differences found