Thread (2 messages) flat view 2 messages, 2 authors, 2016-08-27

Re: [PATCH net] sfc: fix potential stack corruption from running past stat bitmask

From: David Miller <davem@davemloft.net>
Date: 2016-08-27 04:41:36

From: Edward Cree <redacted>
Date: Fri, 26 Aug 2016 11:19:34 +0100
From: Andrew Rybchenko <redacted>

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 <redacted>
Applied, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help