diff --git a/src/Services/EventActionService.cpp b/src/Services/EventActionService.cpp index 6f39d0da8f84d4a8ca0269f710cf1f2299198038..c84c1636058cec76815333c6702b80649e6750cd 100644 --- a/src/Services/EventActionService.cpp +++ b/src/Services/EventActionService.cpp @@ -23,7 +23,7 @@ void EventActionService::addEventActionDefinitions(Message message) { eventActionDefinitionArray[index].enabled = true; eventActionDefinitionArray[index].applicationId = message.readEnum16(); eventActionDefinitionArray[index].eventDefinitionID = message.readEnum16(); - if (message.dataSize - 4 > ECSS_EVENT_SERVICE_STRING_SIZE) { // TODO: Should this be >= + if (message.dataSize - 4 > ECSS_EVENT_SERVICE_STRING_SIZE) { ErrorHandler::reportInternalError(ErrorHandler::InternalErrorType::MessageTooLarge); } else { char data[ECSS_EVENT_SERVICE_STRING_SIZE];