CFDP Update #682

Merged
gaisser merged 158 commits from mueller/cfdp-update-without-handlers into development 2022-11-14 15:04:45 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit dd636b186b - Show all commits

View File

@ -17,7 +17,7 @@ ReturnValue_t FinishPduCreator::serialize(uint8_t **buffer, size_t *size, size_t
if (result != returnvalue::OK) {
return result;
}
if (*size + 1 >= maxSize) {
if (*size + 1 > maxSize) {
return SerializeIF::BUFFER_TOO_SHORT;
}
**buffer = finishInfo.getConditionCode() << 4 | finishInfo.getDeliveryCode() << 2 |