summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-07-03 00:36:59 +0400
committerBen Hutchings <bhutchings@solarflare.com>2012-07-17 19:12:32 +0400
commita4ed2d4cd96dd71b0f2e04a88f83abcab6ddd023 (patch)
tree3e324f852c1a6d69fb721374f190b4908de1e809 /tools/perf/scripts/python/syscall-counts.py
parentf7cbb163d980fc79f47a3cba63dd130b1d655d1d (diff)
downloadlinux-a4ed2d4cd96dd71b0f2e04a88f83abcab6ddd023.tar.xz
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 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions