]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP-PAX server: Add explicit CID length limit
authorJouni Malinen <j@w1.fi>
Sun, 7 Sep 2014 14:10:33 +0000 (17:10 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 7 Sep 2014 14:10:33 +0000 (17:10 +0300)
commit6473e80ea49d396ad07b5780af421a7600b58655
tree14bd666905017b33b308d5995b9b8334183985d9
parent6a6566c7af2d9aa5730b49f6e2b80783c4442274
EAP-PAX server: Add explicit CID length limit

Instead of using implicit limit based on 16-bit unsigned integer having
a maximum value of 65535, limit the maximum length of a CID explicitly
to 1500 bytes. This will hopefully help in reducing false warnings from
static analyzers (CID 72712).

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