From: Pavel Roskin Date: Wed, 25 Oct 2006 02:41:27 +0000 (-0400) Subject: [PATCH] hostap_plx: fix CIS verification X-Git-Tag: v2.6.19-rc5~10^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=115e222d538e7838bffa0f76409acd9816a0ef32;p=pandora-kernel.git [PATCH] hostap_plx: fix CIS verification The length of the manfid CIS should be at least 4, and it's normally 4. It's incorrect to require it to be at least 5. This breaks support for most (if not all) cards. The right place to ensure that we don't access beyond the CIS buffer is to strengthen another check. Make sure that the next tuple begins at least at the CIS buffer end (in which case we stop processing) or before that. Reported by ph35sm@free.fr Signed-off-by: Pavel Roskin Signed-off-by: John W. Linville --- Reading git-diff-tree failed