Why were all of the decoder functions changed to require exact sizes instead of "big enough" data buffers? For example from src/oem/ibm/file_io.c
if (payload_length != PLDM_RW_FILE_MEM_RESP_BYTES) {
return PLDM_ERROR_INVALID_LENGTH;
}
This breaks some of the abstraction that we've been using because it requires the callers to explicitly understand the response structures when they didn't before.
(Note - I would normally use git blame but the "libpldm: Migrate to subproject" commit pretty much broke that without doing some bisecting so asking here.)
Why were all of the decoder functions changed to require exact sizes instead of "big enough" data buffers? For example from src/oem/ibm/file_io.c
This breaks some of the abstraction that we've been using because it requires the callers to explicitly understand the response structures when they didn't before.
(Note - I would normally use git blame but the "libpldm: Migrate to subproject" commit pretty much broke that without doing some bisecting so asking here.)