hostapd/src
Jouni Malinen 0acc2c809d HT: More robust 20/40 coex Action frame parsing
Commit 587d60d2b7 ('Add AP mode support
for HT 20/40 co-ex Action frame') added processing of co-ex report, but
did not include proper bounds checking or IE type checking for the
payload. Furthermore, this was not ready for the possible extensibility
of the 20/40 BSS Coexistence element.

Fix these by checking IE ids for both elements and doing more
apprioriate bounds checking for the element lengths to avoid potentially
reading beyond the frame buffer. Though, the event receive buffer in
both libnl and driver_nl80211_monitor.c is sufficiently large to make it
very unlikely that the maximum read of about 260 bytes beyond the end of
the Action frame would really have any chances of hitting the end of the
memory buffer, so the practical effect of missing bounds checking would
have been possibly accepting an invalid report frame and moving to 20
MHz channel unnecessarily.

Signed-off-by: Jouni Malinen <j@w1.fi>
2014-12-22 21:54:11 +02:00
..
ap HT: More robust 20/40 coex Action frame parsing 2014-12-22 21:54:11 +02:00
common Clean up VHT configuration validation 2014-12-14 19:00:38 +02:00
crypto OpenSSL: Simplify EAP-FAST peer workaround 2014-12-09 23:55:41 +02:00
drivers nl80211: Remove practically unused process_drv_event() 2014-12-22 16:12:11 +02:00
eap_common ERP: Add TV/TLV parser 2014-12-04 12:08:59 +02:00
eap_peer EAP-IKEv2: Fix a typo in a debug message 2014-12-21 13:19:14 +02:00
eap_server EAP-IKEv2: Add explicit limit for maximum message length 2014-12-21 00:25:16 +02:00
eapol_auth Check os_snprintf() result more consistently - automatic 1 2014-12-08 11:42:07 +02:00
eapol_supp Check os_snprintf() result more consistently - automatic 1 2014-12-08 11:42:07 +02:00
l2_packet proxyarp: Do not limit NDISC snoop packet size to 150 2014-11-28 22:41:26 +02:00
p2p P2P: Check Invitation Response dialog token match for resend case 2014-12-09 16:26:47 +02:00
pae MACsec: Update protect frames and replay on reauthentication 2014-12-09 16:56:10 +02:00
radius ERP: Add ERP_FLUSH for hostapd 2014-12-14 15:47:04 +02:00
rsn_supp Check os_snprintf() result more consistently - manual 2014-12-08 11:42:07 +02:00
tls TLS: Add new cipher suites to tls_get_cipher() 2014-12-09 16:57:05 +02:00
utils Remove unused find_first_bit() 2014-12-14 19:01:25 +02:00
wps Flush WPS registrar state on wpa_supplicant FLUSH command 2014-12-21 17:47:42 +02:00
lib.rules Add rules for building src/crypto as a library 2009-12-05 22:03:46 +02:00
Makefile MACsec: Add PAE implementation 2014-05-09 20:42:44 +03:00