hostapd/src
Jouni Malinen c3805fb623 Ignore channel switch event if AP interface is not yet ready
It is apparently possible to somehow trigger the driver to report a
channel switch event during ACS operation when the interface information
is not yet complete. hapd->iface->current_mode could be NULL in that
case and that would result in process termination due to NULL pointer
dereference.

It should not really be possible to trigger a channel switch during ACS
is running (i.e., before the AP mode operation has been started), but
since that has been seen in an arbitrary test sequence with interface
start/stop operations with various parameters (both valid and invalid),
better prevent a crash here by ignoring the unexpected event instead of
trying to process it.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-04-26 16:24:31 +03:00
..
ap Ignore channel switch event if AP interface is not yet ready 2019-04-26 16:24:31 +03:00
common HE: Fix HE Operation element byte order on bigendian CPUs 2019-04-25 23:57:47 +03:00
crypto OpenSSL: Use BN_bn2binpad() or BN_bn2bin_padded() if available 2019-04-25 19:24:32 +03:00
drivers nl80211: Add driver HE capabilities parsing support 2019-04-25 11:43:59 +03:00
eap_common Share common SAE and EAP-pwd functionality: is_quadratic_residue 2019-04-25 23:49:49 +03:00
eap_peer EAP-SAKE: Report hash function failures to callers 2019-04-19 16:52:01 +03:00
eap_server EAP-PAX server: Fix message length checks for MSGDUMP level hexdump 2019-04-20 00:27:15 +03:00
eapol_auth Add hostapd tls_flags parameter 2017-09-18 12:12:48 +03:00
eapol_supp More robust timer_tick_enabled tracking 2019-03-13 23:33:41 +02:00
fst UBSan: Define FST LLT macros without integer overflow 2019-02-25 19:48:49 +02:00
l2_packet wpa_supplicant: Don't reply to EAPOL if pkt_type is PACKET_OTHERHOST 2018-04-02 12:21:27 +03:00
p2p WPS: Add multi_ap_subelem to wps_build_wfa_ext() 2019-02-18 20:30:26 +02:00
pae mka: Avoid memory leak in unexpected case in RECEIVE 2019-04-15 22:50:06 +03:00
radius RADIUS server: Accept ERP keyName-NAI as user identity 2019-04-09 00:10:20 +03:00
rsn_supp Replace int status/reason_code with u16 variable 2019-04-22 22:08:07 +03:00
tls TLS: Add support for RFC 5705 TLS exporter context with internal TLS 2019-03-16 18:52:09 +02:00
utils Share a single buf_shift_right() implementation 2019-04-25 23:49:43 +03:00
wps Multi-AP: Avoid memcpy(ptr, NULL, 0) in WPS Registrar initialization 2019-02-23 11:37:20 +02:00
lib.rules tests: TLS fuzzing tool 2019-02-11 02:35:29 +02:00
Makefile FST: Add the Fast Session Transfer (FST) module 2015-07-16 18:26:15 +03:00