]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP-SIM/AKA: Explicitly check for header to include Reserved field
authorJouni Malinen <j@w1.fi>
Sun, 3 May 2015 08:18:31 +0000 (11:18 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 3 May 2015 13:33:03 +0000 (16:33 +0300)
commitff4a6d4382d399a6bdfad24d75105b8fc1481387
tree63097c11c14d21bb5cc8c8825313cae9dd56e80b
parentf0174bff85c6d7d4f43498d401bff3faef74371f
EAP-SIM/AKA: Explicitly check for header to include Reserved field

This was previously checked as part of the eap_sim_parse_attr()
processing, but it is easier to review the code if there is an
additional explicit check for confirming that the Reserved field is
present since the pos variable is advanced beyond it.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/eap_peer/eap_aka.c
src/eap_peer/eap_sim.c