]> git.ipfire.org Git - thirdparty/hostap.git/commit
eloop: Use size_t for socket table->count
authorJouni Malinen <j@w1.fi>
Sun, 22 Mar 2020 16:26:10 +0000 (18:26 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 22 Mar 2020 16:50:04 +0000 (18:50 +0200)
commit7858f493f3d0844c2f6bce733ce7e47ccdb535cb
tree98e3d2d3b748e5f89c06579d20d0c8a74e46bfd4
parent3f45b8daeb4fbf97eed1ab56f452df7b7d113742
eloop: Use size_t for socket table->count

This is more consistent with the other eloop registrations and avoids a
theoretical integer overflow with 16-bit int should more than 32767
sockets be registered (which is not really going to happen in practice).

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