diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-07-02 21:36:59 +0100 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-07-17 16:12:32 +0100 |
commit | a4ed2d4cd96dd71b0f2e04a88f83abcab6ddd023 (patch) | |
tree | 3e324f852c1a6d69fb721374f190b4908de1e809 /drivers/isdn | |
parent | f7cbb163d980fc79f47a3cba63dd130b1d655d1d (diff) |
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 <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions