summaryrefslogtreecommitdiffstats
path: root/net/netrom
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-06-30 03:49:35 +0200
committerDavid S. Miller <davem@davemloft.net>2012-07-09 08:51:11 +0200
commit12aba9e7974c5aabf0f4b8e90a5943bfa17fadf4 (patch)
treef28da1c51f0613c27bcd65ccf7f1208ae4fd5c25 /net/netrom
parentMerge branch 'for-davem' of git://gitorious.org/linux-can/linux-can-next (diff)
downloadlinux-12aba9e7974c5aabf0f4b8e90a5943bfa17fadf4.tar.xz
linux-12aba9e7974c5aabf0f4b8e90a5943bfa17fadf4.zip
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 <dan.carpenter@oracle.com> Acked-by: Michael Chan <mchan@broadcom.com> Acked-by: Eddie Wai <eddie.wai@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netrom')
0 files changed, 0 insertions, 0 deletions