From 405b897687cd5e324f34bdf1bba9d370940bbd16 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Mon, 4 Mar 2024 08:48:46 -0800 Subject: [PATCH] dpp: check wrapped data exists in authenticate response --- src/dpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dpp.c b/src/dpp.c index 74b4c2bc..567fe8d2 100644 --- a/src/dpp.c +++ b/src/dpp.c @@ -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; }