From: Takashi Iwai Date: Tue, 29 Oct 2013 14:20:06 +0000 (+0100) Subject: ALSA: Limit the fallback card id string size X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~14^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97f44f56ca94709f45bc348f5d2c88696eae5f9b;p=pandora-kernel.git 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 --- Reading git-diff-tree failed