]> git.ipfire.org Git - thirdparty/hostap.git/commit
hs20-osu-client: Use size_t for certificate components
authorJouni Malinen <j@w1.fi>
Sun, 22 Mar 2020 16:22:27 +0000 (18:22 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 22 Mar 2020 16:50:04 +0000 (18:50 +0200)
commit3f45b8daeb4fbf97eed1ab56f452df7b7d113742
treebc6b5e2f0a8849509bf7621fbbe48d584f995fb9
parent913220cbb881ea405b158ae2116fd769bc4f8f3e
hs20-osu-client: Use size_t for certificate components

This avoids a theoretical integer overflow with 16-bit unsigned int
should a certificate be encoded with more that 65535 friendly names or
icons.

Signed-off-by: Jouni Malinen <j@w1.fi>
hs20/client/osu_client.c
src/utils/http-utils.h