]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/ap/wpa_auth.c
FILS: Check kde more consistently to avoid static analyzer warnings
authorJeffin Mammen <jmammen@codeaurora.org>
Fri, 2 Mar 2018 19:10:38 +0000 (21:10 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 2 Mar 2018 19:27:30 +0000 (21:27 +0200)
commitc05f96a38622cd6b2c785a8d1f81d3c398ed6c78
treeb06481617d5fea138417edc6dd226bc6cc0d9dc6
parent087474512f53f0663620227031f9cd0afa7c854e
FILS: Check kde more consistently to avoid static analyzer warnings

For FILS, __wpa_send_eapol() is called only with the kde != NULL, but a
static analyzer might not understand that. Add an explicit check kde !=
NULL similarly to the other cases going through the kde parameter to
silence such bogus warnings.

Signed-off-by: Jeffin Mammen <jmammen@codeaurora.org>
src/ap/wpa_auth.c