]> git.ipfire.org Git - thirdparty/hostap.git/commit
hs20-osu-client: Fix check for osu_nai being available
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 15 Jan 2016 16:39:03 +0000 (18:39 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 15 Jan 2016 16:39:03 +0000 (18:39 +0200)
commit2e3a41a53fc20a8d209f5f90072d055f91cee75f
treedbbe9219f1341fe1f6041d2646b6f066d08736d5
parentfb3db14a6f88d57320da5deee626b436c242fa7b
hs20-osu-client: Fix check for osu_nai being available

This is an array, so the pointer is never NULL; need to check that the
first character is not '\0' instead.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
hs20/client/osu_client.c