From: Ben Hutchings Date: Mon, 2 Jul 2012 20:36:59 +0000 (+0100) Subject: sfc: Use strlcpy() to copy ethtool stats names X-Git-Tag: v3.6-rc1~125^2~120^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4ed2d4cd96dd71b0f2e04a88f83abcab6ddd023;p=pandora-kernel.git sfc: Use strlcpy() to copy ethtool stats names Fix CID 113703 in the Coverity report on Linux. ethtool stats names are limited to 32 bytes including a null terminator. Use strlcpy() to ensure that we will always include the null terminator even if a source string becomes longer than this. Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed