[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 06 Jun 2019 10:39:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: maxime.chevallier@...tlin.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
antoine.tenart@...tlin.com, thomas.petazzoni@...tlin.com,
gregory.clement@...tlin.com, miquel.raynal@...tlin.com,
nadavh@...vell.com, stefanc@...vell.com, mw@...ihalf.com
Subject: Re: [PATCH net] net: mvpp2: Use strscpy to handle stat strings
From: Maxime Chevallier <maxime.chevallier@...tlin.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@...tlin.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists