[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160826.214103.1359468105411763184.davem@davemloft.net>
Date: Fri, 26 Aug 2016 21:41:03 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ecree@...arflare.com
Cc: linux-net-drivers@...arflare.com, netdev@...r.kernel.org
Subject: Re: [PATCH net] sfc: fix potential stack corruption from running
past stat bitmask
From: Edward Cree <ecree@...arflare.com>
Date: Fri, 26 Aug 2016 11:19:34 +0100
> From: Andrew Rybchenko <Andrew.Rybchenko@...etlabs.ru>
>
> On 32-bit systems, mask is only an array of 3 longs, not 4, so don't try
> to write to mask[3].
> Also include build-time checks in case the size of the bitmask changes.
>
> Fixes: 3c36a2aded8c ("sfc: display vadaptor statistics for all interfaces")
> Signed-off-by: Edward Cree <ecree@...arflare.com>
Applied, thank you.
Powered by blists - more mailing lists