aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorMaxime Chevallier <[email protected]>2019-06-06 08:42:56 +0000
committerDavid S. Miller <[email protected]>2019-06-06 17:38:42 +0000
commitd37acd5aa99c57505b64913e0e2624ec3daed8c5 (patch)
tree4e9f453d5fc67784c8c4644da5523d388fa49011 /fs/proc/array.c
parentnet: rds: fix memory leak in rds_ib_flush_mr_pool (diff)
downloadkernel-d37acd5aa99c57505b64913e0e2624ec3daed8c5.tar.gz
kernel-d37acd5aa99c57505b64913e0e2624ec3daed8c5.zip
net: mvpp2: Use strscpy to handle stat strings
Use a safe strscpy call to copy the ethtool stat strings into the relevant buffers, instead of a memcpy that will be accessing out-of-bound data. Fixes: 118d6298f6f0 ("net: mvpp2: add ethtool GOP statistics") Signed-off-by: Maxime Chevallier <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions