hostapd/src
Jouni Malinen bd6ec7f7ca Fix MAC ACL query freeing on deinit
hapd->acl_cache and hapd->acl_queries were not reset back to NULL in
hostapd_acl_deinit() when cached results and pending ACL queries were
freed. This left stale pointers to freed memory in hapd. While this was
normally followed by freeing of the hapd data, it is possible to re-use
that hapd when disabling and re-enabling an interface. That sequence
could result in use of freed memory if done while there were cached
results or pending ACL operations with a RADIUS server (especially, if
that server did not reply).

Fix this by setting hapd->acl_queries to NULL when the pending entries
are freed.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-02-08 23:48:19 +02:00
..
ap Fix MAC ACL query freeing on deinit 2017-02-08 23:48:19 +02:00
common Use defines in hostapd_set_freq_params() 2017-02-04 20:50:16 +02:00
crypto OpenSSL/BoringSSL: Read certificate chain from client_cert on Android 2017-01-30 01:54:30 +02:00
drivers nl80211: Add support for mgmt_tx with random TA 2017-02-07 19:35:34 +02:00
eap_common Remove trailing whitespace 2016-12-28 14:31:42 +02:00
eap_peer ERP: Use macro for EMSKname length instead of hardcoded integer value 2017-02-03 15:35:21 +02:00
eap_server ERP: Use macro for EMSKname length instead of hardcoded integer value 2017-02-03 15:35:21 +02:00
eapol_auth RADIUS: Share a single function for generating session IDs 2016-02-06 17:19:35 +02:00
eapol_supp Remove trailing whitespace 2016-12-28 14:31:42 +02:00
fst FST: Silence compiler warning on WPA_ASSERT 2017-01-29 18:45:29 +02:00
l2_packet Remove trailing whitespace 2016-12-28 14:31:42 +02:00
p2p P2P: Fix compilation warning in p2p_add_device() 2016-12-30 00:49:24 +02:00
pae mka: Some bug fixes for MACsec in PSK mode 2017-02-06 21:02:53 +02:00
radius Remove trailing whitespace 2016-12-28 14:31:42 +02:00
rsn_supp FILS: Stop processing if fils_rmsk_to_pmk() fails 2017-02-05 14:38:07 +02:00
tls Remove trailing whitespace 2016-12-28 14:31:42 +02:00
utils eloop: Fix comments mismatch eloop_event/timeout_handler definitions 2017-02-04 20:41:12 +02:00
wps Share a single str_starts() implementation 2016-08-06 12:38:21 +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