diff options
| author | 2012-07-02 21:36:59 +0100 | |
|---|---|---|
| committer | 2012-07-17 16:12:32 +0100 | |
| commit | a4ed2d4cd96dd71b0f2e04a88f83abcab6ddd023 (patch) | |
| tree | 3e324f852c1a6d69fb721374f190b4908de1e809 /include/linux/debugobjects.h | |
| parent | sfc: Stop changing header offsets on TX (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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
