From: Dan Carpenter Date: Sat, 30 Jun 2012 01:49:35 +0000 (+0000) Subject: bnx2i: use strlcpy() instead of memcpy() for strings X-Git-Tag: v3.6-rc1~125^2~268 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12aba9e7974c5aabf0f4b8e90a5943bfa17fadf4;p=pandora-kernel.git bnx2i: use strlcpy() instead of memcpy() for strings DRV_MODULE_VERSION here is "2.7.2.2" which is only 8 chars but we copy 12 bytes from the stack so it's a small information leak. Signed-off-by: Dan Carpenter Acked-by: Michael Chan Acked-by: Eddie Wai Signed-off-by: David S. Miller --- Reading git-diff-tree failed