Skip to content

Commit

Permalink
Fix CSR data pointer misuse.
Browse files Browse the repository at this point in the history
Signed-off-by: Jiewen Yao <[email protected]>
  • Loading branch information
jyao1 committed Jul 3, 2022
1 parent 7c9c661 commit 1f7c06f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/spdm_responder_lib/libspdm_rsp_csr.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ libspdm_return_t libspdm_get_response_csr(void *context, size_t request_size,
}

libspdm_copy_mem(spdm_response + 1, spdm_response->csr_length,
csr_pointer, spdm_response->csr_length);
csr_p, spdm_response->csr_length);

return LIBSPDM_STATUS_SUCCESS;
}

0 comments on commit 1f7c06f

Please sign in to comment.