From: Larry Finger Date: Sat, 8 Oct 2011 19:01:06 +0000 (-0500) Subject: staging: r8712u: Fix possible out-of-bounds index with TKIP and AES keys X-Git-Tag: v3.2-rc1~169^2^2~124 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=447ff8865209e48e231de804c47eb4677f2318be;p=pandora-kernel.git staging: r8712u: Fix possible out-of-bounds index with TKIP and AES keys Array XGrpKey has only 2 elements and uses (keyid - 1) as the index, which allows the possibility of memory corruption from an out-of-bounds index. This problem was reported by a new version of smatch. Reported-by: Dan Carpenter Signed-off-by: Larry Finger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed