F-11908 - Reject truncated Nations GET_STATUS payloads

pull/604/head
Aidan Garske 2026-09-10 11:16:28 -07:00
parent 4b76ba64a0
commit cedcd8e592
1 changed files with 3 additions and 0 deletions

View File

@ -75,6 +75,9 @@ int wolfSPDM_Nations_GetStatus(WOLFSPDM_CTX* ctx,
status->pskProvisioned ? "YES" : "NO",
rsp.payload[3]);
}
else {
return WOLFSPDM_E_FRAMING;
}
return WOLFSPDM_SUCCESS;
}