- GOOSE subscriber: fixed message validity check

pull/291/head
Michael Zillgith 5 years ago
parent a606848a8b
commit 5d704b8026

@ -339,7 +339,7 @@ parseAllData(uint8_t* buffer, int allDataLength, MmsValue* dataSetValues)
elementIndex++;
}
if (elementIndex < maxIndex) {
if (elementIndex <= maxIndex) {
pe = GOOSE_PARSE_ERROR_UNDERFLOW;
}

Loading…
Cancel
Save