hostap/src
Jouni Malinen ac882374a5 SAE: Fix error path handling for SSWU
crypto_bignum_init_set() might fail in case of memory allocation
failures. These two cases within sswu() did not handle that properly,
i.e., a memory allocation failure could have resulted in dereferencing a
NULL pointer. Check the return value before proceeding to fix this.

Fixes: aeb022f8e5 ("SAE: Implement hash-to-element PT/PWE crypto routines")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2020-10-01 09:35:58 +03:00
..
ap Fix a typo in a comment 2020-09-22 23:31:20 +03:00
common SAE: Fix error path handling for SSWU 2020-10-01 09:35:58 +03:00
crypto OpenSSL: Allow systemwide secpolicy overrides for TLS version 2020-09-08 19:32:28 +03:00
drivers MSCS: Add support to process MSCS Response frames 2020-08-14 11:53:37 +03:00
eap_common EAP-SIM/AKA peer: Add support for EAP Method prefix 2020-01-10 19:16:13 +02:00
eap_peer EAP-TEAP (client): Allow Phase 2 to be skipped if certificate is used 2020-06-20 18:05:46 +03:00
eap_server EAP-TEAP (server): Allow Phase 2 skip based on client certificate 2020-06-20 18:07:04 +03:00
eapol_auth Add PRINTF_FORMAT for printf wrapper functions 2020-05-02 21:04:17 +03:00
eapol_supp EAPOL supp: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
fst FST: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
l2_packet l2_packet: Allow initialization without RX handling 2020-04-19 17:42:41 +03:00
p2p P2P: Increase number of channels per operating class 2020-02-12 23:17:24 +02:00
pae MACsec: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
radius RADIUS: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
rsn_supp OCV: Use more granular error codes for OCI validation failures 2020-09-11 15:23:28 +03:00
tls PKCS#1: Debug dump invalid Signature EB 2020-04-05 20:13:26 +03:00
utils JSON: Add base64 helper functions 2020-06-15 20:19:19 +03:00
wps WPS UPnP: Support build on OS X 2020-06-09 12:48:13 +03:00
lib.rules tests: Fix CFLAGS passing for new fuzzing tools 2019-06-11 06:34:19 +03:00
Makefile FST: Add the Fast Session Transfer (FST) module 2015-07-16 18:26:15 +03:00