use gzip directly
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
This commit is contained in:
@ -63,6 +63,7 @@ static constexpr ActionId_t LIST_DIRECTORY_DUMP_DIRECTLY = 51;
|
||||
static constexpr ActionId_t CP_HELPER = 52;
|
||||
static constexpr ActionId_t MV_HELPER = 53;
|
||||
static constexpr ActionId_t RM_HELPER = 54;
|
||||
static constexpr ActionId_t MKDIR_HELPER = 55;
|
||||
|
||||
static constexpr uint8_t SUBSYSTEM_ID = SUBSYSTEM_ID::CORE;
|
||||
|
||||
@ -211,7 +212,7 @@ static ReturnValue_t parseDestTargetString(const uint8_t* data, size_t maxLen,
|
||||
return HasActionsIF::INVALID_PARAMETERS;
|
||||
}
|
||||
destTgt.sourceName = reinterpret_cast<const char*>(data);
|
||||
size_t remainingLen = maxLen - destTgt.sourceNameSize + 1;
|
||||
size_t remainingLen = maxLen - destTgt.sourceNameSize - 1;
|
||||
if (remainingLen == 0) {
|
||||
return HasActionsIF::INVALID_PARAMETERS;
|
||||
}
|
||||
@ -220,7 +221,7 @@ static ReturnValue_t parseDestTargetString(const uint8_t* data, size_t maxLen,
|
||||
if (destTgt.targetNameSize >= remainingLen) {
|
||||
return HasActionsIF::INVALID_PARAMETERS;
|
||||
}
|
||||
destTgt.targetName = reinterpret_cast<const char*>(data + destTgt.targetNameSize + 1);
|
||||
destTgt.targetName = reinterpret_cast<const char*>(data + destTgt.sourceNameSize + 1);
|
||||
return returnvalue::OK;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user