hostap/src
Jouni Malinen 3b6b3ae581 Modify dl_list_for_each() to not use unaligned access with WPA_TRACE
UBSan testing with WPA_TRACE=y ended up hitting an unaligned access for
struct os_alloc_trace in os_program_deinit() because of the
dl_list_for_each() design that looked like dereferencing the member
element of the list head which is something that does not exist.

Get the first entry from the list using dl_list_first() so that the
empty list special case is covefred and compare item pointers instead of
struct dl_list pointers to check whether the end of the loop has been
reached.

Signed-off-by: Jouni Malinen <j@w1.fi>
2019-02-25 19:42:34 +02:00
..
ap Fix cipher suite selector default value in RSNE for DMG 2019-02-21 12:42:24 +02:00
common Fix cipher suite selector default value in RSNE for DMG 2019-02-21 12:42:24 +02:00
crypto OpenSSL: Fix uninitialized variable in CRL reloading corner case 2019-02-11 14:02:17 +02:00
drivers nl80211: (Re)Association Request frame IEs from association event 2019-02-15 02:09:41 +02:00
eap_common EAP-pwd: Mask timing of PWE derivation 2018-05-28 22:15:15 +03:00
eap_peer wpa_supplicant: Support Multi-AP backhaul STA onboarding with WPS 2019-02-18 22:35:41 +02:00
eap_server PEAP: Explicitly clear temporary keys from memory when using CMK 2019-02-02 00:01:29 +02:00
eapol_auth Add hostapd tls_flags parameter 2017-09-18 12:12:48 +03:00
eapol_supp eap_proxy: Fix memory leaks when using eap_peer_erp_init() 2018-09-21 21:34:08 +03:00
fst fst: Fix compile error in fst_ctrl_aux.h with C++ compilers 2018-05-21 17:47:03 +03:00
l2_packet wpa_supplicant: Don't reply to EAPOL if pkt_type is PACKET_OTHERHOST 2018-04-02 12:21:27 +03:00
p2p WPS: Add multi_ap_subelem to wps_build_wfa_ext() 2019-02-18 20:30:26 +02:00
pae mka: New MI should only be generated when peer's key is invalid 2019-01-08 01:12:02 +02:00
radius RADIUS client: Cease endless retry for message for multiple servers 2019-01-07 23:38:18 +02:00
rsn_supp tests: EAPOL-Key fuzzing tool 2019-02-11 02:35:29 +02:00
tls TLS: Fix X.509 certificate name conversion into empty string 2019-02-11 02:35:29 +02:00
utils Modify dl_list_for_each() to not use unaligned access with WPA_TRACE 2019-02-25 19:42:34 +02:00
wps Multi-AP: Avoid memcpy(ptr, NULL, 0) in WPS Registrar initialization 2019-02-23 11:37:20 +02:00
lib.rules tests: TLS fuzzing tool 2019-02-11 02:35:29 +02:00
Makefile FST: Add the Fast Session Transfer (FST) module 2015-07-16 18:26:15 +03:00