SAE: Fix ECC element y coordinate validation step
authorJouni Malinen <j@w1.fi>
Sun, 29 Dec 2013 13:59:31 +0000 (15:59 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 29 Dec 2013 15:18:17 +0000 (17:18 +0200)
commit4414d9ee95941f50d07189cf59ea7dfcbc401b02
treeb59ccd406539bd67c4434b31da8a45989d8d41fc
parent2bb9e28336dd2dbd1bf285ef06708e3ea7a0c3fe
SAE: Fix ECC element y coordinate validation step

prime_len was added to the start pointer twice and because of this, the
actual y coordinate was not verified to be valid. This could also result
in reading beyond the buffer in some cases.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/common/sae.c