]> git.ipfire.org Git - thirdparty/hostap.git/commit
FT: Fix potential NULL pointer dereference in MDE addition
authorJouni Malinen <j@w1.fi>
Tue, 5 Jun 2018 11:40:18 +0000 (14:40 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 5 Jun 2018 17:16:37 +0000 (20:16 +0300)
commit88bf44be424c678cb2d153a8b7875134aa2db817
tree710815c15cb0c46888fc5b92f84df3aa77a7b697
parent661afb2edd016932f10b39065745434c6097fd16
FT: Fix potential NULL pointer dereference in MDE addition

The bss variable in this function might be NULL, so make the FT MDE
addition case conditional on a BSS entry being available.

Fixes: 3dc3afe298f0 ("FT: Add MDE to assoc request IEs in connect params")
Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/wpa_supplicant.c