hostapd/src/common
Jouni Malinen b64afe22aa Fix SAE state validation on AP
Confirm-before-commit validation step allowed execution to continue on
error case. This could result in segfault in sae_check_confirm() if the
temporary SAE data was not available (as it would not be, e.g., in case
of an extra SAE confirm message being received after successful
exchange). Fix this by stopping SAE processing immediately after
detecting unexpected state for confirm message. In addition, make the
public sae.c functions verify sae->tmp before dereferencing it to make
this type of bugs less likely to result in critical issues.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
2014-02-12 17:46:33 +02:00
..
defs.h Remove unnecessary build #ifdef from definitions 2013-12-31 09:16:27 +02:00
eapol_common.h Share a single definition of EAPOL-Key structure for WEP keys 2012-08-07 21:27:01 +03:00
gas.c Add generic GAS request mechanism 2012-08-27 18:13:10 +03:00
gas.h Add generic GAS request mechanism 2012-08-27 18:13:10 +03:00
ieee802_11_common.c Remove unused information element parsing data 2013-12-29 17:18:17 +02:00
ieee802_11_common.h Remove unused information element parsing data 2013-12-29 17:18:17 +02:00
ieee802_11_defs.h P2P: Add support for IP address assignment in 4-way handshake 2014-01-27 21:44:26 +02:00
Makefile Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00
privsep_commands.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
qca-vendor.h P2P: Apply unsafe frequency rules to available channels 2014-01-27 11:49:05 +02:00
sae.c Fix SAE state validation on AP 2014-02-12 17:46:33 +02:00
sae.h SAE: Move temporary data into a separate data structure 2013-01-12 17:51:54 +02:00
version.h The hostap.git master branch is now used for 2.2 development 2014-02-04 16:10:44 +02:00
wpa_common.c Get rid of duplicated cipher suite and AKM definitions 2013-12-31 09:16:27 +02:00
wpa_common.h P2P: Add support for IP address assignment in 4-way handshake 2014-01-27 21:44:26 +02:00
wpa_ctrl.c wpa_ctrl: Use monotonic time for request retry loop 2013-12-24 07:14:50 +02:00
wpa_ctrl.h P2P NFC: Add processing of P2P client while NFC handover case 2014-01-27 21:44:30 +02:00