some remaining bugfixes
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
This commit is contained in:
@ -1681,7 +1681,7 @@ class UpdateStatusReport {
|
||||
if (not tmReader.crcIsOk()) {
|
||||
return result::CRC_FAILURE;
|
||||
}
|
||||
if (tmReader.getApid() != Apid::MEM_MAN) {
|
||||
if (tmReader.getModuleApid() != Apid::MEM_MAN) {
|
||||
return result::INVALID_APID;
|
||||
}
|
||||
if (tmReader.getBufSize() < MIN_TMTC_LEN + PAYLOAD_LEN or
|
||||
@ -1690,10 +1690,7 @@ class UpdateStatusReport {
|
||||
<< std::endl;
|
||||
return result::BUF_TOO_SMALL;
|
||||
}
|
||||
size_t remLen = PAYLOAD_LEN;
|
||||
if (remLen < PAYLOAD_LEN) {
|
||||
return result::INVALID_REPLY_LENGTH;
|
||||
}
|
||||
size_t remLen = tmReader.getPayloadLen();
|
||||
const uint8_t* dataFieldPtr = tmReader.getPayloadStart();
|
||||
SerializeAdapter::deSerialize(&memoryId, &dataFieldPtr, &remLen, SerializeIF::Endianness::BIG);
|
||||
SerializeAdapter::deSerialize(&n, &dataFieldPtr, &remLen, SerializeIF::Endianness::BIG);
|
||||
|
Reference in New Issue
Block a user