From: Stanislaw Gruszka Date: Sun, 19 Jun 2011 17:46:02 +0000 (+0200) Subject: rt2x00: fix possible memory corruption in case of invalid rxdesc.size X-Git-Tag: v3.1-rc1~316^2~350^2^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f503fc49f144bb509dbd33daf3426df3f176e6b;p=pandora-kernel.git rt2x00: fix possible memory corruption in case of invalid rxdesc.size Sometimes rxdesc descriptor provided by hardware contains invalid (random) data. For example rxdesc.size can be bigger than actual size of the buffer. When this happen rt2x00crypto_rx_insert_iv() corrupt memory doing memmove outside of buffer boundaries. Signed-off-by: Stanislaw Gruszka Acked-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed