mka: Avoid reading past the end of mka_body_handler
authorSabrina Dubroca <sd@queasysnail.net>
Tue, 19 Jul 2016 09:56:56 +0000 (11:56 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 7 Aug 2016 08:42:19 +0000 (11:42 +0300)
commitad19e71e6815fd7b3ff5cf73fe1edaaccf8383bc
tree86c13737c6fcb5e6dae7b60708368ab0bcc101ae
parent65b47738e817d48508247c37732807adc5a7e8c9
mka: Avoid reading past the end of mka_body_handler

body_type, used to index in mka_body_handler, can be any u8 value, but
we have only ARRAY_SIZE(mka_body_handler) elements.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
src/pae/ieee802_1x_kay.c