]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP3: Fix potential use-after-free on push button bootstrap info
authorJouni Malinen <quic_jouni@quicinc.com>
Mon, 22 Jan 2024 10:41:02 +0000 (12:41 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 22 Jan 2024 10:51:53 +0000 (12:51 +0200)
commit9456adeeba280bc95880e136ff20982ac77189ac
tree5da7e4b375b077939f42c187f54ad4b12e6e133d
parente3d6fce848856feb6d835e52a2f50472c19a5950
DPP3: Fix potential use-after-free on push button bootstrap info

When removing the bootstrap info for the PB context, all the possible
pointers to that information needs to be cleared to avoid accesses to
freed memory.

Fixes: 37bccfcab854 ("DPP3: Push button bootstrap mechanism")
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
hostapd/ctrl_iface.c
src/ap/dpp_hostapd.c
wpa_supplicant/dpp_supplicant.c