bd6ec7f7ca
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> |
||
---|---|---|
.. | ||
ap | ||
common | ||
crypto | ||
drivers | ||
eap_common | ||
eap_peer | ||
eap_server | ||
eapol_auth | ||
eapol_supp | ||
fst | ||
l2_packet | ||
p2p | ||
pae | ||
radius | ||
rsn_supp | ||
tls | ||
utils | ||
wps | ||
lib.rules | ||
Makefile |