]> git.ipfire.org Git - thirdparty/hostap.git/commit
FILS: Fix FILS Realm Information ANQP-element construction
authorJouni Malinen <j@w1.fi>
Mon, 2 Jan 2017 22:15:59 +0000 (00:15 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 3 Jan 2017 13:18:30 +0000 (15:18 +0200)
commitaeff0645d24bb12bc82d2c4db6743354c545c4fa
treeb8c36cf6b21f42f8d225e9338826c987b69b4a37
parent76196ddb2b61425e28306bbb3c8600877cfc822a
FILS: Fix FILS Realm Information ANQP-element construction

The loop to add hash values was supposed to be limited to at most 10000
values, but the count variable was not being decremented in the loop.
Fix this by decrementing counting for each iteration. This fixes
ANQP-element format in the unlikely case of there being more than 10000
configuration realms.

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