]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP-IKEv2: Fix the payload parser
authorJouni Malinen <j@w1.fi>
Sat, 11 Oct 2014 16:22:30 +0000 (19:22 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 11 Oct 2014 16:22:30 +0000 (19:22 +0300)
commit08ef4426a796b5a5f66f1ade233664a812910d1f
tree5003369cd27c96092d09e7486ba8170d312855a1
parent683b408a9eb2bfa4579d50f7649017ec16b5ee47
EAP-IKEv2: Fix the payload parser

The payload lengths were not properly verified and the first check on
there being enough buffer for the header was practically ignored. The
second check for the full payload would catch length issues, but this is
only after the potential read beyond the buffer. (CID 72687)

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