Messages in this thread | | | Date | Thu, 06 Jun 2019 10:39:24 -0700 (PDT) | Subject | Re: [PATCH net] net: mvpp2: Use strscpy to handle stat strings | From | David Miller <> |
| |
From: Maxime Chevallier <maxime.chevallier@bootlin.com> Date: Thu, 6 Jun 2019 10:42:56 +0200
> 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>
Applied and queued up for -stable.
| |