]> git.ipfire.org Git - thirdparty/hostap.git/commit
FT: Fix RRB error path handling
authorJouni Malinen <j@w1.fi>
Tue, 5 Jun 2018 11:18:41 +0000 (14:18 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 5 Jun 2018 17:16:37 +0000 (20:16 +0300)
commit661afb2edd016932f10b39065745434c6097fd16
tree30c38ef50aeb51b18a763fcf915133844a9c1b16
parentdf3bf6870b38a08fe32794e6bf51f48e26d46f5e
FT: Fix RRB error path handling

When building an RRB message, a failure in wpa_ft_rrb_lin() calls could
have resulted in trying to free an uninitialized pointer. Fix this by
initializing *packet to NULL before going through the initial steps.

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