From: Daniel Mack Date: Sun, 19 Oct 2014 07:07:36 +0000 (+0200) Subject: ASoC: fsl: use strncpy() to prevent copying of over-long names X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~38^2~3^2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6aa256b6c680245b4c402f2c8a8ee356f03df3ea;p=pandora-kernel.git ASoC: fsl: use strncpy() to prevent copying of over-long names Use strncpy() instead of strcpy(). That's not a security issue, as the source buffer is taken from DT nodes, but we should still enforce bound checks. Spotted by Coverity. Signed-off-by: Daniel Mack Signed-off-by: Mark Brown --- Reading git-diff-tree failed