mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
dpp: check wrapped data exists in authenticate response
This commit is contained in:
parent
62e2a3535d
commit
405b897687
@ -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");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user