Miss checking whether spdm_response_size < sizeof(spdm_csr_response_t) + spdm_response-> csr_length
before libspdm_copy_mem
.
#2651
Labels
bug
Something isn't working
Miss checking whether
spdm_response_size < sizeof(spdm_csr_response_t) + spdm_response-> csr_length
beforelibspdm_copy_mem
.I think we should check whether
spdm_response_size < sizeof(spdm_csr_response_t) + spdm_response-> csr_length
beforelibspdm_copy_mem
at the line 212.libspdm/library/spdm_requester_lib/libspdm_req_get_csr.c
Lines 206 to 212 in 4c92ff5
The text was updated successfully, but these errors were encountered: