]> git.ipfire.org Git - thirdparty/hostap.git/commit
Additional consistentcy checks for PTK component lengths
authorJouni Malinen <j@w1.fi>
Mon, 16 Oct 2017 21:01:11 +0000 (00:01 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 16 Oct 2017 21:07:17 +0000 (00:07 +0300)
commita6ea665300919d6a3af22b1f4237203647fda93a
tree224351ff7afd23b091259d7acc88475666f7bded
parentec765bc797aeabdc1b0933ef28ec55d1997a9fd3
Additional consistentcy checks for PTK component lengths

Verify that TK, KCK, and KEK lengths are set to consistent values within
struct wpa_ptk before using them in supplicant. This is an additional
layer of protection against unexpected states.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/common/wpa_common.c
src/rsn_supp/wpa.c