summaryrefslogtreecommitdiffstats
path: root/lib/zlib_inflate
diff options
context:
space:
mode:
authorAndrew Rybchenko2016-08-26 12:19:34 +0200
committerDavid S. Miller2016-08-27 06:40:44 +0200
commite70c70c38d7a5ced76fc8b1c4a7ccee76e9c2911 (patch)
treef0409c417d22904e551a2240f711e6ffbb4848a8 /lib/zlib_inflate
parentMerge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
downloadkernel-qcow2-linux-e70c70c38d7a5ced76fc8b1c4a7ccee76e9c2911.tar.gz
kernel-qcow2-linux-e70c70c38d7a5ced76fc8b1c4a7ccee76e9c2911.tar.xz
kernel-qcow2-linux-e70c70c38d7a5ced76fc8b1c4a7ccee76e9c2911.zip
sfc: fix potential stack corruption from running past stat bitmask
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@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/zlib_inflate')
0 files changed, 0 insertions, 0 deletions