hostap/src
Jouni Malinen 4ed10754e8 DPP: Fix GAS client error case handling in hostapd
The GAS client processing of the response callback for DPP did not
properly check for GAS query success. This could result in trying to
check the Advertisement Protocol information in failure cases where that
information is not available and that would have resulted in
dereferencing a NULL pointer. Fix this by checking the GAS query result
before processing with processing of the response.

This is similar to the earlier wpa_supplicant fix in commit 931f7ff656
("DPP: Fix GAS client error case handling").

Signed-off-by: Jouni Malinen <j@w1.fi>
2021-03-21 11:47:39 +02:00
..
ap DPP: Fix GAS client error case handling in hostapd 2021-03-21 11:47:39 +02:00
common Introduce reason code for TWT teardown due to concurrency 2021-03-19 21:01:36 +02:00
crypto EAP-TTLS/PEAP peer: Fix failure when using session tickets under TLS 1.3 2021-02-20 17:02:35 +02:00
drivers nl80211: Debug print error from airtime weight configuration 2021-03-20 00:15:53 +02:00
eap_common EAP-SIM/AKA: Fix check for anonymous decorated identity 2021-03-20 16:28:44 +02:00
eap_peer EAP peer: Make EAP-Success handling more robust against race conditions 2021-03-15 00:45:20 +02:00
eap_server EAP server: Extend EAP-TLS Commitment Message use to PEAP and EAP-TTLS 2021-02-20 17:53:52 +02:00
eapol_auth build: Make more library things common 2020-10-12 20:20:35 +03:00
eapol_supp build: Make more library things common 2020-10-12 20:20:35 +03:00
fst FST: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
l2_packet build: Make more library things common 2020-10-12 20:20:35 +03:00
p2p P2P: Clear pending_listen_freq when stopping listen 2021-03-12 10:38:14 +02:00
pae MACsec: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
radius RADIUS client: Support SO_BINDTODEVICE 2021-02-27 10:51:15 +02:00
rsn_supp Fix full EAP authentication after PMKSA cache add failure 2021-03-20 13:36:55 +02:00
tls TLS: Fix highest TLS version disabling with internal TLS client 2021-03-14 13:08:04 +02:00
utils wpabuf: Add helper functions for writing 64-bit integers 2021-03-07 21:31:41 +02:00
wps WPS: Reconfigure credentials on hostapd config reload 2021-02-06 17:15:31 +02:00
build.rules build: Rebuild libs all the time 2020-10-12 20:18:02 +03:00
lib.rules build: lib.rules: Add common-clean 2020-10-16 12:51:12 +03:00
Makefile build: Add a common-clean target 2020-10-10 12:48:41 +03:00
objs.mk build: Fix dependency file inclusion 2020-10-12 11:05:16 +03:00