]> git.ipfire.org Git - thirdparty/hostap.git/commit
Simplify wpa_parse_generic()
authorJouni Malinen <j@w1.fi>
Sun, 8 May 2022 09:50:14 +0000 (12:50 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 8 May 2022 13:36:09 +0000 (16:36 +0300)
commit61d37f44b79df6972a0c632fab6b92c3dea06b8a
treef43adee4c29afbed570fec92da7c5660298feac5
parent469528a6e5df9b9903d465e17e2562472e2dc4a1
Simplify wpa_parse_generic()

Use local variables and common checking of the selector (or vendor
specific IE header) to make the bounds checking easier to understand.

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