android_kernel_xiaomi_sm8350/drivers/net/wireless/hostap
Pavel Roskin 115e222d53 [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>
2006-10-31 22:15:39 -05:00
..
hostap_80211_rx.c
hostap_80211_tx.c
hostap_80211.h
hostap_ap.c
hostap_ap.h
hostap_common.h
hostap_config.h
hostap_cs.c [PATCH] pcmcia: add more IDs to hostap_cs.c 2006-10-25 21:59:38 -04:00
hostap_download.c
hostap_hw.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
hostap_info.c
hostap_ioctl.c [PATCH] WE-21 for hostap 2006-09-25 16:52:15 -04:00
hostap_main.c
hostap_pci.c [PATCH] irq-flags: drivers/net: Use the new IRQF_ constants 2006-07-02 13:58:51 -07:00
hostap_plx.c [PATCH] hostap_plx: fix CIS verification 2006-10-31 22:15:39 -05:00
hostap_proc.c
hostap_wlan.h
hostap.h drivers/net: const-ify ethtool_ops declarations 2006-09-13 14:30:00 -04:00
Kconfig
Makefile