]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP-FAST: Fix an error path in PAC binary format parsing
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 5 Feb 2016 22:26:31 +0000 (00:26 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 5 Feb 2016 22:26:31 +0000 (00:26 +0200)
commite265838a434d9d759776a7657ed665ddc1e83a54
treeedb2cb2d11a73b57b08c68f7bd799f740e08ee16
parentf91e11f465caf14126a3528dc2edceed963c2993
EAP-FAST: Fix an error path in PAC binary format parsing

Need to clear the pac pointer for the first error case to avoid freeing
the previous PAC entry if the following entry has an invalid header.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/eap_peer/eap_fast_pac.c