From 93ce07dd542d1a5814094445e16cc77556f411bb Mon Sep 17 00:00:00 2001 From: athatheocsd <vostidi@hotmail.com> Date: Tue, 15 Jan 2019 02:57:55 +0200 Subject: [PATCH] Removed a comment --- src/Services/EventActionService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/EventActionService.cpp b/src/Services/EventActionService.cpp index 6f39d0da..c84c1636 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]; -- GitLab