]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP-FAST: Clean up TLV length validation (CID 62853)
authorJouni Malinen <j@w1.fi>
Wed, 18 Jun 2014 13:42:15 +0000 (16:42 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 18 Jun 2014 13:45:03 +0000 (16:45 +0300)
commit2dbc959699c9180f0923a5926079d823115025f0
tree16c3b398da8dd55dad5f3af20882210c6fa177fe
parent35cbadbb14b3c60b737f85940468ad6cfe0f05ad
EAP-FAST: Clean up TLV length validation (CID 62853)

Use size_t instead of int for storing and comparing the TLV length
against the remaining buffer length to make this easier for static
analyzers to understand.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/eap_common/eap_fast_common.c
src/eap_common/eap_fast_common.h
src/eap_peer/eap_fast.c
src/eap_server/eap_server_fast.c