]> git.ipfire.org Git - thirdparty/hostap.git/commit
IKEv2: Use a bit clearer payload header validation step
authorJouni Malinen <j@w1.fi>
Sun, 23 Nov 2014 14:37:16 +0000 (16:37 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 23 Nov 2014 14:37:16 +0000 (16:37 +0200)
commitf931374f301dd16f4fce39db0fc330cb21a679f8
tree65a83cf9e0ffedabe01dd1522efdd7baf14ce205
parentf5f3728a811830051aa110c5f6790343c352de4b
IKEv2: Use a bit clearer payload header validation step

It looks like the "pos + plen > end" case was not clear enough for a
static analyzer to figure out that plen was being verified to not go
beyond the buffer. (CID 72687)

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