fragattacks/src
Jouni Malinen 71cdf6b624 hostapd: Fix ENABLE failure to not remove interface
Previously, ENABLE command ended up freeing the hostapd_iface context on
initialization failures, but did not even remove the interface from the
list of available interfaces. This resulted in use of freed memory with
any following operation on the same interface. In addition, removing the
interface on initialization failure does not seem like the best
approach. Fix both of these issues by leaving the interface instance in
memory, but in disabled state so that the configuration can be fixed and
ENABLE used again to enable the interface or REMOVE used to remove the
interface.

Signed-hostap: Jouni Malinen <j@w1.fi>
2013-11-03 11:31:48 +02:00
..
ap hostapd: Fix ENABLE failure to not remove interface 2013-11-03 11:31:48 +02:00
common SAE: Fix group selection 2013-11-02 18:07:49 +02:00
crypto Use ARRAY_SIZE() macro 2013-10-26 17:49:05 +03:00
drivers Allow add-BSS operation to re-use existing netdev 2013-10-31 22:34:25 +02:00
eap_common Use ARRAY_SIZE() macro 2013-10-26 17:49:05 +03:00
eap_peer eap_proxy: Add context data pointer to the get_imsi call 2013-10-23 20:51:46 +03:00
eap_server Convert perror/printf calls to wpa_printf 2013-11-02 12:58:33 +02:00
eapol_auth Add server identity configuration for EAP server 2013-07-07 20:30:10 +03:00
eapol_supp eap_proxy: Add context data pointer to the get_imsi call 2013-10-23 20:51:46 +03:00
l2_packet Update license notification in files initially contributed by Sam 2012-06-30 19:36:04 +03:00
p2p P2P: Add VHT support 2013-10-27 20:08:36 +02:00
radius Convert perror/printf calls to wpa_printf 2013-11-02 12:58:33 +02:00
rsn_supp Set GTK rekey offload information after initial group key handshake 2013-10-30 11:41:40 +02:00
tls Use ARRAY_SIZE() macro 2013-10-26 17:49:05 +03:00
utils Convert perror/printf calls to wpa_printf 2013-11-02 12:58:33 +02:00
wps Add explicit buffer length checks for p2p_build_wps_ie() 2013-10-26 15:55:46 +03:00
lib.rules Add rules for building src/crypto as a library 2009-12-05 22:03:46 +02:00
Makefile P2P: Add initial version of P2P Module 2010-09-09 07:17:17 -07:00