Skip to content
Commit e4b16ee8 authored by Deepak Kodihalli's avatar Deepak Kodihalli
Browse files

libpldm: fixup encode GetPDR response



CRC must be encoded only if the transfer flag is PLDM_END. The previous
code would do an out if bounds access because the caller wouldn't
allocate memory to hold the CRC (because the caller intended a
single-part transfer).

Signed-off-by: default avatarDeepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: I6698b2542b57857ba40bd5945b61bf9af419ec8e
parent 8ffbbe05
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment