hostap/src/ap
Eytan Lifshitz 414f23d8b9 Avoid NULL string in printf on EAP method names in authenticator
In ieee802_1x_decapsulate_radius(), eap_server_get_name() may return
NULL, and it could be dereferenced depending on printf implementation.
Change it to return "unknown" instead for the case of no matching EAP
method found. This makes it easier for the callers to simply print this
in logs (which is the only use for this function).

Signed-off-by: Eytan Lifshitz <eytan.lifshitz@intel.com>
2015-01-20 02:07:22 +02:00
..
accounting.c Add Acct-Multi-Session-Id into RADIUS Accounting messages 2014-10-18 10:38:17 +03:00
accounting.h Add Acct-Session-Id into Access-Request messages 2012-12-18 18:13:31 +02:00
acs.c ACS: Allow subset of channels to be configured 2015-01-19 02:35:43 +02:00
acs.h Move declaration of hostapd_acs_completed() into correct header file 2013-12-31 19:34:43 +02:00
ap_config.c D-Bus: Fix memory leak on P2P GO WPSVendorExtensions 2014-12-30 22:22:39 +02:00
ap_config.h hostapd: Add vendor specific VHT extension for the 2.4 GHz band 2015-01-14 00:59:22 +02:00
ap_drv_ops.c doc: Extend driver.h documentation 2015-01-03 18:24:20 +02:00
ap_drv_ops.h doc: Extend driver.h documentation 2015-01-03 18:24:20 +02:00
ap_list.c Fix Beacon RX before AP setup completion 2014-02-06 15:22:06 +02:00
ap_list.h AP: Use monotonic time for AP list 2013-12-07 20:50:15 -08:00
ap_mlme.c Remove unused STA entry information 2014-03-15 09:57:10 +02:00
ap_mlme.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
authsrv.c ERP: Add support for ERP on EAP server and authenticator 2014-12-04 12:16:27 +02:00
authsrv.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
beacon.c hostapd: Add vendor specific VHT extension for the 2.4 GHz band 2015-01-14 00:59:22 +02:00
beacon.h Remove obsolete license notifications 2013-12-24 22:59:52 +02:00
bss_load.c AP: Add support for BSS load element (STA Count, Channel Utilization) 2014-10-21 23:25:48 +03:00
bss_load.h AP: Add support for BSS load element (STA Count, Channel Utilization) 2014-10-21 23:25:48 +03:00
ctrl_iface_ap.c SAE: Add sae_group to AP/mesh mode STA ctrl_iface data 2014-12-14 20:14:33 +02:00
ctrl_iface_ap.h Add chan_switch to ctrl interface of wpa_supplicant and hostapd 2013-11-17 17:12:58 +02:00
dfs.c DFS: Fix hostapd operation without hw_mode driver data 2014-11-17 01:14:35 +02:00
dfs.h hostapd: Configure spectrum management capability 2014-02-25 00:54:59 +02:00
dhcp_snoop.c proxyarp: Validate IPv4 header total length value in dhcp_snoop 2014-11-28 22:41:26 +02:00
dhcp_snoop.h AP: Add support for Proxy ARP, DHCP snooping mechanism 2014-10-28 01:08:29 +02:00
drv_callbacks.c hostapd: Allow ACS to be offloaded to the driver 2014-12-03 22:31:53 +02:00
eap_user_db.c Clear hostapd configuration keys explicitly 2014-07-02 12:38:48 +03:00
gas_serv.c Use os_calloc() instead of os_zalloc() 2014-12-08 11:42:07 +02:00
gas_serv.h GAS server: Remove incomplete remote ANQP processing 2014-03-13 21:12:39 +02:00
hostapd.c RADIUS DAS: Allow PMKSA cache entry to be removed without association 2015-01-16 15:55:39 +02:00
hostapd.h mesh: Delay Authentication frame process with no_auto_peer 2014-12-23 13:44:38 +02:00
hs20.c HS 2.0R2 AP: Add support for deauthentication request 2014-02-26 01:24:24 +02:00
hs20.h HS 2.0R2 AP: Add support for deauthentication request 2014-02-26 01:24:24 +02:00
hw_features.c hostapd: Add vendor specific VHT extension for the 2.4 GHz band 2015-01-14 00:59:22 +02:00
hw_features.h Retry initial 20/40 MHz co-ex scan if the driver is busy 2014-04-29 12:52:09 +03:00
iapp.c IAPP: Avoid warnings on unused write 2014-10-11 18:03:38 +03:00
iapp.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
ieee802_1x.c Avoid NULL string in printf on EAP method names in authenticator 2015-01-20 02:07:22 +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 Use monotonic clock for RADIUS cache timeouts 2013-12-07 20:50:15 -08:00
ieee802_11_auth.h Use a shared function for freeing PSK list 2012-11-25 18:01:55 +02:00
ieee802_11_ht.c HT: More robust 20/40 coex Action frame parsing 2014-12-22 21:54:11 +02:00
ieee802_11_shared.c AP: Add support for Proxy ARP, DHCP snooping mechanism 2014-10-28 01:08:29 +02:00
ieee802_11_vht.c Get rid of a compiler warning 2015-01-14 01:38:26 +02:00
Makefile Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00
ndisc_snoop.c proxyarp: Relax frame length limit for RA and NA 2014-11-28 22:37:05 +02:00
ndisc_snoop.h proxyarp: Use C library header files and CONFIG_IPV6 2014-11-25 16:58:21 +02:00
p2p_hostapd.c Use P2P_IE_VENDOR_TYPE more consistently 2014-03-05 23:36:54 +02:00
p2p_hostapd.h Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00
peerkey_auth.c PeerKey: Clean up EAPOL-Key Key Data processing on AP 2014-11-23 21:03:40 +02:00
pmksa_cache_auth.c RADIUS DAS: Allow PMKSA cache entry to be removed without association 2015-01-16 15:55:39 +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 Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
preauth_auth.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
sta_info.c AP: Expire STA without entry in kernel 2015-01-19 02:35:43 +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 AP: Use monotonic time for MMIC failure/TKIP countermeasures 2013-12-24 07:13:34 +02:00
tkip_countermeasures.h hostapd: Fix a regression in TKIP countermeasures processing 2012-11-18 13:06:03 +02:00
utils.c Move hostapd global callback functions into hapd_interfaces 2012-08-25 13:47:05 +03:00
vlan_init.c Revert "bridge: Track inter-BSS usage" 2014-03-08 11:35:08 +02:00
vlan_init.h Remove obsolete license notifications 2013-12-24 22:59:52 +02:00
vlan_util.c Add option to use netlink to create and remove VLAN interfaces 2012-08-10 14:09:05 +03:00
vlan_util.h Add option to use netlink to create and remove VLAN interfaces 2012-08-10 14:09:05 +03:00
wmm.c Remove obsolete license notifications 2013-12-24 22:59:52 +02:00
wmm.h Remove obsolete license notifications 2013-12-24 22:59:52 +02:00
wnm_ap.c Add BSS-TM-RESP ctrl_iface event 2014-11-22 16:34:34 +02:00
wnm_ap.h Add BSS_TM_REQ command to send BSS Transition Management Request 2014-11-22 16:34:34 +02:00
wpa_auth.c RADIUS DAS: Allow PMKSA cache entry to be removed without association 2015-01-16 15:55:39 +02:00
wpa_auth.h RADIUS DAS: Allow PMKSA cache entry to be removed without association 2015-01-16 15:55:39 +02:00
wpa_auth_ft.c FT: Make aes_wrap() call easier to analyze 2014-12-06 12:16:32 +02:00
wpa_auth_glue.c Add external EAPOL transmission option for testing purposes 2014-10-10 18:40:57 +03:00
wpa_auth_glue.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wpa_auth_i.h PeerKey: Clean up EAPOL-Key Key Data processing on AP 2014-11-23 21:03:40 +02:00
wpa_auth_ie.c Suite B: Add AKM 00-0F-AC:11 2014-11-16 13:20:51 +02:00
wpa_auth_ie.h HS 2.0R2 AP: Add OSEN implementation 2014-02-26 01:24:24 +02:00
wps_hostapd.c Check os_snprintf() result more consistently - automatic 1 2014-12-08 11:42:07 +02:00
wps_hostapd.h WPS NFC: Add AP mode connection handover report 2014-01-27 21:10:55 +02:00
x_snoop.c proxyarp: Fix x_snoop multicast-to-unicast debug print 2014-11-28 22:37:05 +02:00
x_snoop.h AP: Add multicast-to-unicast conversion send for "x_snoop" 2014-11-19 16:25:13 +02:00