]> git.ipfire.org Git - thirdparty/hostap.git/commit
Use size_t instead of int or unsigned int for configuration items
authorJouni Malinen <j@w1.fi>
Sun, 22 Mar 2020 15:46:45 +0000 (17:46 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 22 Mar 2020 16:50:04 +0000 (18:50 +0200)
commitd2d16e3100ed15fffa3c475568689b3f1449e976
tree7ab3531e965a8609278e5e75f24b7515300a37f9
parent4391ddd6395f63226ec3b14bcf325356653a614f
Use size_t instead of int or unsigned int for configuration items

While int and unsigned int are not going overflow in practice as 32-bit
values, these could at least in theory hit an integer overflow with
16-bit int. Use size_t to avoid such potential issue cases.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/config.c
wpa_supplicant/config.h
wpa_supplicant/events.c
wpa_supplicant/scan.c