diff options
author | Pavel Roskin <proski@gnu.org> | 2006-10-24 22:41:27 -0400 |
---|---|---|
committer | John W. Linville <linville@laptop.(none)> | 2006-10-31 22:15:39 -0500 |
commit | 115e222d538e7838bffa0f76409acd9816a0ef32 (patch) | |
tree | 8781a87c864aa2fc5206469f444f0e0710bd2a45 /sound | |
parent | aec41a0d02342fc9e3b6bb278eae50fa29f04d1f (diff) |
[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 <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions