hotfix
This commit is contained in:
parent
dd210e99af
commit
d7036edb94
@ -82,7 +82,7 @@ ReturnValue_t SerialBufferAdapter<count_t>::deSerialize(const uint8_t** buffer,
|
||||
}
|
||||
}
|
||||
//No Else If, go on with buffer
|
||||
if (bufferLength >= *size) {
|
||||
if (bufferLength <= *size) {
|
||||
*size -= bufferLength;
|
||||
memcpy(m_buffer, *buffer, bufferLength);
|
||||
(*buffer) += bufferLength;
|
||||
|
Loading…
Reference in New Issue
Block a user