]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix authenticator OKC fetch from PMKSA cache to avoid infinite loop
authorJouni Malinen <j@w1.fi>
Sat, 4 Oct 2014 19:11:00 +0000 (22:11 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 4 Oct 2014 20:01:08 +0000 (23:01 +0300)
commit9c829900bb01d6fb22e78ba78195c78de39f64b9
tree9be66d336f4ff10f0dc3720494f1a1cb29e82e02
parent35a7646bb15d104ac2203c78f2297f2f3d72d8a7
Fix authenticator OKC fetch from PMKSA cache to avoid infinite loop

If the first entry in the PMKSA cache did not match the station's MAC
address, an infinite loop could be reached in pmksa_cache_get_okc() when
trying to find a PMKSA cache entry for opportunistic key caching cases.
This would only happen if OKC is enabled (okc=1 included in the
configuration file).

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