diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2019-06-06 11:42:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-06 20:38:42 +0300 |
commit | d37acd5aa99c57505b64913e0e2624ec3daed8c5 (patch) | |
tree | 4e9f453d5fc67784c8c4644da5523d388fa49011 /drivers/media/tuners/mc44s803_priv.h | |
parent | 85cb928787eab6a2f4ca9d2a798b6f3bed53ced1 (diff) | |
download | linux-d37acd5aa99c57505b64913e0e2624ec3daed8c5.tar.xz |
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 <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/media/tuners/mc44s803_priv.h')
0 files changed, 0 insertions, 0 deletions