hostap/src/rsn_supp
Jouni Malinen 5a23c2528a UBSan: Avoid an unsigned integer overflow warning
ext_supp_rates_len would be 0 here, so decrementing it by 2 will result
in unsigned integer overflow even if that result is not actually used
anywhere. Avoid that to get rid of the UBSan warning.

tdls.c:1597:27: runtime error: unsigned integer overflow: 0 - 2 cannot be represented in type 'unsigned long'

Signed-off-by: Jouni Malinen <j@w1.fi>
2019-02-25 19:48:49 +02:00
..
Makefile Remove all PeerKey functionality 2017-10-16 02:03:47 +03:00
pmksa_cache.c SAE: Only allow SAE AKMP for PMKSA caching attempts 2018-04-09 19:34:44 +03:00
pmksa_cache.h Fix wpa_supplicant build with CONFIG_NO_WPA 2018-04-13 11:43:57 +03:00
preauth.c SAE: Only allow SAE AKMP for PMKSA caching attempts 2018-04-09 19:34:44 +03:00
preauth.h Fix wpa_supplicant build with IEEE8021X_EAPOL=y and CONFIG_NO_WPA=y 2016-01-15 20:04:41 +02:00
tdls.c UBSan: Avoid an unsigned integer overflow warning 2019-02-25 19:48:49 +02:00
wpa.c tests: EAPOL-Key fuzzing tool 2019-02-11 02:35:29 +02:00
wpa.h OCV: Insert OCI in 4-way and group key handshake 2018-12-17 00:02:14 +02:00
wpa_ft.c OCV: Include and verify OCI in the FT handshake 2018-12-17 15:42:23 +02:00
wpa_i.h OCV: Advertise OCV capability in RSN capabilities (STA) 2018-12-16 20:49:27 +02:00
wpa_ie.c OCV: Parse all types of OCI information elements 2018-12-17 00:02:14 +02:00
wpa_ie.h OCV: Parse all types of OCI information elements 2018-12-17 00:02:14 +02:00