hostap/src/ap
Stefan Tomanek 891dfb3336 Add helper function to clear and free wpa_psk list
This change adds the function hostapd_config_clear_wpa_psk() that
deletes an entire wpa_psk structure, making sure to follow the linked
list and to free the allocated memory of each PSK node. This helps to
prevent memory leaks when using PSKs from multiple sources and
reconfiguring the AP during runtime.

Signed-off-by: Stefan Tomanek <stefan.tomanek@wertarbyte.de>
2015-02-21 17:11:15 +02:00
..
accounting.c
accounting.h
acs.c ACS: Accept channel if any (rather than all) survey results are valid 2015-02-06 21:26:32 +02:00
acs.h
ap_config.c Add helper function to clear and free wpa_psk list 2015-02-21 17:11:15 +02:00
ap_config.h Add helper function to clear and free wpa_psk list 2015-02-21 17:11:15 +02:00
ap_drv_ops.c Make hostapd_set_freq_params() common 2015-02-21 16:07:53 +02:00
ap_drv_ops.h Make hostapd_set_freq_params() common 2015-02-21 16:07:53 +02:00
ap_list.c Convert couple of remaining printf to wpa_printf in ap_list 2015-01-29 21:12:51 +02:00
ap_list.h
ap_mlme.c
ap_mlme.h
authsrv.c
authsrv.h
beacon.c P2P: Allow configuring CTWindow when working as GO 2015-02-21 16:07:53 +02:00
beacon.h
bss_load.c
bss_load.h
ctrl_iface_ap.c Add STOP_AP control interface command 2015-02-08 13:35:49 +02:00
ctrl_iface_ap.h Add STOP_AP control interface command 2015-02-08 13:35:49 +02:00
dfs.c Make hostapd_set_freq_params() common 2015-02-21 16:07:53 +02:00
dfs.h
dhcp_snoop.c dhcp_snoop: Make IPv4 addresses human readable in debug log 2015-01-30 18:55:22 +02:00
dhcp_snoop.h
drv_callbacks.c Drop all hostapd STA entries on interface disabled event 2015-02-11 10:31:12 +02:00
eap_user_db.c
gas_serv.c Use os_calloc() instead of os_zalloc() 2014-12-08 11:42:07 +02:00
gas_serv.h
hostapd.c Add helper function to clear and free wpa_psk list 2015-02-21 17:11:15 +02:00
hostapd.h Re-enable beaconing on interface disable+enable 2015-02-10 20:27:00 +02:00
hs20.c
hs20.h
hw_features.c hostapd: Remove unused variable from hostapd_get_hw_features 2015-01-20 02:10:33 +02:00
hw_features.h
iapp.c
iapp.h
ieee802_1x.c hostapd: Debug messages for dodgy RADIUS servers 2015-01-23 01:48:27 +02:00
ieee802_1x.h ERP: Add ERP_FLUSH for hostapd 2014-12-14 15:47:04 +02:00
ieee802_11.c hostapd: Add vendor specific VHT extension for the 2.4 GHz band 2015-01-14 00:59:22 +02:00
ieee802_11.h hostapd: Add vendor specific VHT extension for the 2.4 GHz band 2015-01-14 00:59:22 +02:00
ieee802_11_auth.c
ieee802_11_auth.h
ieee802_11_ht.c Fix 20/40 MHz co-ex report processing with obss_interval=0 2015-02-03 12:29:37 +02:00
ieee802_11_shared.c
ieee802_11_vht.c Get rid of a compiler warning 2015-01-14 01:38:26 +02:00
Makefile
ndisc_snoop.c
ndisc_snoop.h
p2p_hostapd.c
p2p_hostapd.h
peerkey_auth.c
pmksa_cache_auth.c Add Suite B 192-bit AKM 2015-01-27 01:43:52 +02:00
pmksa_cache_auth.h RADIUS DAS: Allow PMKSA cache entry to be removed without association 2015-01-16 15:55:39 +02:00
preauth_auth.c
preauth_auth.h
sta_info.c hostapd: Avoid sending client probe on removed client 2015-02-10 22:21:03 +02:00
sta_info.h RADIUS DAS: Check for single session match for Disconnect-Request 2015-01-16 12:50:16 +02:00
tkip_countermeasures.c
tkip_countermeasures.h
utils.c
vlan_init.c VLAN: Clean up RTM_NEW/DELLINK processing 2015-02-11 10:31:12 +02:00
vlan_init.h
vlan_util.c
vlan_util.h
wmm.c
wmm.h
wnm_ap.c WNM: Fix possible memory leak by free buf 2015-01-20 02:14:19 +02:00
wnm_ap.h
wpa_auth.c Re-configure WPA2 group keys on hostapd interface re-enable 2015-02-10 20:27:00 +02:00
wpa_auth.h Re-configure WPA2 group keys on hostapd interface re-enable 2015-02-10 20:27:00 +02:00
wpa_auth_ft.c Preparations for variable length KCK and KEK 2015-01-27 01:26:49 +02:00
wpa_auth_glue.c hostapd: Debug messages for dodgy RADIUS servers 2015-01-23 01:48:27 +02:00
wpa_auth_glue.h
wpa_auth_i.h Preparations for variable length KCK and KEK 2015-01-27 01:26:49 +02:00
wpa_auth_ie.c Add Suite B 192-bit AKM 2015-01-27 01:43:52 +02:00
wpa_auth_ie.h
wps_hostapd.c Add helper function to clear and free wpa_psk list 2015-02-21 17:11:15 +02:00
wps_hostapd.h
x_snoop.c
x_snoop.h