From: Chen Gang Date: Thu, 16 May 2013 22:07:22 +0000 (+0000) Subject: bridge: netfilter: using strlcpy() instead of strncpy() X-Git-Tag: v3.11-rc1~16^2~172^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bc14d25ffb9dfc242d3a877bb4fe683adb27692;p=pandora-kernel.git bridge: netfilter: using strlcpy() instead of strncpy() 'name' has already set all zero when it is defined, so not need let strncpy() to pad it again. 'name' is a string, better always let is NUL terminated, so use strlcpy() instead of strncpy(). Signed-off-by: Chen Gang Acked-by: Bart De Schuymer Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed