]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP-FAST: Use clear eap_get_config() result validation
authorJouni Malinen <j@w1.fi>
Sun, 2 Mar 2014 13:16:45 +0000 (15:16 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 2 Mar 2014 15:15:12 +0000 (17:15 +0200)
commit3ff8073db7846f643f57323c7c66d5ad68629110
treed770c2bec17dc3d128a82af5c8fa2742e74e13c5
parenta8716d13bfba9345d05b6078dfff018371587d16
EAP-FAST: Use clear eap_get_config() result validation

This was previously checked through the eap_peer_tls_ssl_init() call
which made it difficult for static analyzers. Add an explicit check for
config == NULL into the beginnign of eap_fast_init() since this will
always result in initialization failing anyway.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/eap_peer/eap_fast.c