]> git.ipfire.org Git - thirdparty/hostap.git/commit
RADIUS: Use size_t instead of int for message attributes
authorJouni Malinen <j@w1.fi>
Sun, 22 Mar 2020 16:00:28 +0000 (18:00 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 22 Mar 2020 16:50:04 +0000 (18:50 +0200)
commit02b43c557c6638327b257c16f3b01aab468e5472
tree48bcd273bb6a6c2c05a094430eb2efb56d4a7b11
parenta2c23195ade1fd6fad66b0fbad433133c492a2c9
RADIUS: Use size_t instead of int for message attributes

While RADIUS messages are limited to 4 kB, use size_t to avoid even a
theoretical overflow issue with 16-bit int.

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