EAP-IKEv2: Add explicit limit for maximum message length
authorJouni Malinen <j@w1.fi>
Sat, 20 Dec 2014 22:25:16 +0000 (00:25 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 20 Dec 2014 22:25:16 +0000 (00:25 +0200)
commit8e5c1ec32f3fdedd2b792774e5c4403fa78326d5
tree5a506832402ec9d5a0426bf95ba6485028e2dbb7
parentf41f670ea53247c85c43697c1ff233e4241240b9
EAP-IKEv2: Add explicit limit for maximum message length

This avoids accepting unnecessarily large memory allocations.

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