fragattacks/src
Jouni Malinen 04ded82efa OWE: Fix error case handling with drivers that implement AP SME
owe_auth_req_process() can return NULL in error cases, but the caller
was not prepared for this. The p pointer cannot be overridden in such
cases since that would result in buffer length (p - buf) overflows. Fix
this by using a temporary variable to check the return value before
overriding p so that the hostapd_sta_assoc() ends up using correct
length for the IE buffer.

Fixes: 33c8bbd8ca ("OWE: Add AP mode handling of OWE with drivers that implement SME")
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-12-11 13:41:10 +02:00
..
ap OWE: Fix error case handling with drivers that implement AP SME 2017-12-11 13:41:10 +02:00
common OpenSSL: Replace EVP_PKEY_paramgen() with EC_KEY_new_by_curve_name() 2017-12-10 23:49:39 +02:00
crypto OpenSSL: Replace EVP_PKEY_paramgen() with EC_KEY_new_by_curve_name() 2017-12-10 23:49:39 +02:00
drivers nl80211: Fix NL80211_MESHCONF_AUTO_OPEN_PLINKS encoding 2017-12-01 22:21:24 +02:00
eap_common Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_peer FILS: Allow eap_peer_get_erp_info() to be called without config 2017-10-18 01:19:40 +03:00
eap_server EAP server: Add event messages for more EAP states 2017-10-21 20:28:46 +03:00
eapol_auth Add hostapd tls_flags parameter 2017-09-18 12:12:48 +03:00
eapol_supp eap_proxy: Support multiple SIMs in get_imsi() 2017-06-06 03:42:32 +03:00
fst FST: Silence compiler warning on WPA_ASSERT 2017-01-29 18:45:29 +02:00
l2_packet tests: Add TEST_FAIL() checks in l2_packet 2017-03-04 11:43:58 +02:00
p2p P2P: Continue P2P_WAIT_PEER_(IDLE/CONNECT) sequence on a listen cancel 2017-11-03 21:47:32 +02:00
pae PAE: Validate input before pointer 2017-09-25 21:26:32 +03:00
radius Add hostapd tls_flags parameter 2017-09-18 12:12:48 +03:00
rsn_supp TDLS: Add testing capability to send TPK M2 twice 2017-11-21 00:48:52 +02:00
tls Use os_memdup() 2017-03-07 13:19:10 +02:00
utils JSON: Fix a memory leak on an error path 2017-11-29 13:22:44 +02:00
wps WPS: Do not increment wildcard_uuid when pin is locked 2017-10-03 19:19:01 +03:00
lib.rules Add QUIET=1 option for make 2014-12-29 15:49:05 +02:00
Makefile FST: Add the Fast Session Transfer (FST) module 2015-07-16 18:26:15 +03:00