3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 02:19:26 +01:00

dpp: check wrapped data exists in authenticate response

This commit is contained in:
James Prestwood 2024-03-04 08:48:46 -08:00 committed by Denis Kenzior
parent 62e2a3535d
commit 405b897687

View File

@ -2368,7 +2368,7 @@ static void authenticate_response(struct dpp_sm *dpp, const uint8_t *from,
} }
} }
if (status != DPP_STATUS_OK || !r_boot_hash || !r_proto ) { if (status != DPP_STATUS_OK || !r_boot_hash || !r_proto || !wrapped) {
l_debug("Auth response bad status or missing attributes"); l_debug("Auth response bad status or missing attributes");
return; return;
} }