From: Bob Copeland Date: Thu, 8 Apr 2010 03:55:59 +0000 (-0400) Subject: ath5k: add bounds check to pdadc table X-Git-Tag: v2.6.35-rc1~473^2~460^2^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f59fce9e099fb6ba3c8361e5094163a3efce5be;p=pandora-kernel.git ath5k: add bounds check to pdadc table We check the bounds on pdadc once when correcting for negative curves but not when we later copy values from from the pdadc_tmp array, leading to a potential overrun. Although we shouldn't hit this case in practice, let's be consistent. Reported-by: Dan Carpenter Signed-off-by: Bob Copeland Acked-by: Bruno Randolf Signed-off-by: John W. Linville --- Reading git-diff-tree failed