]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP: Fix GAS client error case handling
authorJouni Malinen <j@w1.fi>
Sun, 25 Nov 2018 11:33:39 +0000 (13:33 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 25 Nov 2018 11:33:39 +0000 (13:33 +0200)
commit931f7ff656096abcf5c992c04716a6203589b3d5
treea2074fdcab74bd7fdc6abcc53d06a53e85761c2b
parente18b479299217379e4cba0ba46e3c83ce0e5d55d
DPP: Fix GAS client error case handling

The GAS client processing of the response callback for DPP did not
properly check for GAS query success. This could result in trying to
check the Advertisement Protocol information in failure cases where that
information is not available and that would have resulted in
dereferencing a NULL pointer. Fix this by checking the GAS query result
before processing with processing of the response.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/dpp_supplicant.c